in scheme_adapters/polyfit_adapter/polyfit_adapter.py [0:0]
def __init__(self, damoos_path, lazybox_path, damos_path):
self.orig_metric_values = []
self.metrics = []
self.workload = ""
self.orig_repeat = 2
self.explore_factor = 0.6
self.workload_info = []
self.score_func_path = ""
self.scores = []
self.ranges = dict()
self.num_runs = 0
self.total_runs = 0
self.total_runtime = 0
self.num_dim = 0
self.cache_file = ""
self.cache_instance = None
self.cache_read_enabled = False
self.cache_write_enabled = True
self.cache_option = "check"
self.search_param = dict()
self.workload_metrics = dict()
self.damoos_path = damoos_path
self.lazybox_path = lazybox_path
self.damos_path = damos_path
self.conversion_factor = {"us": 1, "ms": 1000, "s": 1000000, "m": 60000000, "h": 3600000000, "d": 86400000000,
"B": 1, "K": 1024, "M": 1048576, "G": "1073741824", "T": 1099511627776}
self.params = ["min_size", "max_size", "min_freq", "max_freq", "min_age", "max_age"]