Commit b1aa3d36 authored by MERCIER Michael's avatar MERCIER Michael

[sched] bebida simplify locality

parent fcc9708e
......@@ -296,22 +296,16 @@ class SchedBebida(BatsimScheduler):
)
## Locality default values are taken from Bebida experiments
## observed locality. For more details See:
## observed locality 70%+-10. For more details See:
## https://gitlab.inria.fr/mmercier/bebida/blob/master/experiments/run_bebida/bebida_results_analysis.ipynb
# Level of locality
if "node_locality_in_percent" not in self.options:
self.node_locality_in_percent = 70
else:
self.node_locality_in_percent = self.options["node_locality_in_percent"]
self.node_locality_in_percent = self.options.get(
"node_locality_in_percent", 70)
# Level of locality variation (uniform)
if "node_locality_variation_in_percent" not in self.options:
self.node_locality_variation_in_percent = 10
else:
self.node_locality_variation_in_percent = self.options[
"node_locality_variation_in_percent"
]
self.node_locality_variation_in_percent = self.options.get(
"node_locality_variation_in_percent", 10)
self.logger.info(
"Node locality is set to: {}% +- {}%".format(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment