scheme_adapters/polyfit_adapter/polyfit_adapter.py [94:112]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self.total_runtime = json_parsed["total_runtime"]
        if type(self.total_runtime) != int:
            raise Exception("Integer expected.")

        self.cache_read_enabled = json_parsed["read_from_cache"]
        if type(self.cache_read_enabled) != bool:
            raise Exception("Boolean expected")

        self.cache_write_enabled = json_parsed["write_to_cache"]
        if type(self.cache_write_enabled) != bool:
            raise Exception("Boolean expected")

        self.cache_option = json_parsed["cache_option"]
        self.validate_json_string(self.cache_option)

        self.cache_file = json_parsed["cache_file"]
        self.validate_json_string(self.cache_file)

    def run_workload(self):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



scheme_adapters/pso_adapter/pso_adapter.py [90:108]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self.total_runtime = json_parsed["total_runtime"]
        if type(self.total_runtime) != int:
            raise Exception("Integer expected.")

        self.cache_read_enabled = json_parsed["read_from_cache"]
        if type(self.cache_read_enabled) != bool:
            raise Exception("Boolean expected")

        self.cache_write_enabled = json_parsed["write_to_cache"]
        if type(self.cache_write_enabled) != bool:
            raise Exception("Boolean expected")

        self.cache_option = json_parsed["cache_option"]
        self.validate_json_string(self.cache_option)

        self.cache_file = json_parsed["cache_file"]
        self.validate_json_string(self.cache_file)

    def run_workload(self):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



