Exemple #1
0
 def _calc_pareto_front(self):
     return load_pareto_front_from_file("osy.pf")
Exemple #2
0
 def _calc_pareto_front(self):
     if self.n_obj == 3:
         return load_pareto_front_from_file("dtlz7-3d.pf")
     else:
         raise Exception("Not implemented yet.")
Exemple #3
0
 def _calc_pareto_front(self, *args, **kwargs):
     """Loads the corresponding PF if it exists"""
     fname = f"{self.fct.name}_PF.dat"
     F = load_pareto_front_from_file(os.path.join("modact", fname))
     if F is not None:
         return F * self.weights * -1
Exemple #4
0
 def _calc_pareto_front(self):
     return load_pareto_front_from_file("welded_beam.pf")
Exemple #5
0
 def _calc_pareto_front(self):
     return load_pareto_front_from_file("kursawe.pf")
Exemple #6
0
 def _calc_pareto_front(self, *args, **kwargs):
     fname = f"{str(self.__class__.__name__).lower()}.pf"
     return load_pareto_front_from_file(os.path.join("CTP", fname))
Exemple #7
0
 def _calc_pareto_front(self, *args, **kwargs):
     return load_pareto_front_from_file("kursawe.pf")
Exemple #8
0
 def _calc_pareto_front(self, **kwargs):
     return load_pareto_front_from_file(os.path.join("MW", "MW14.pf"))