Beispiel #1
0
 def _calc_pareto_front(self):
     return load_pareto_front_from_file("osy.pf")
Beispiel #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.")
Beispiel #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
Beispiel #4
0
 def _calc_pareto_front(self):
     return load_pareto_front_from_file("welded_beam.pf")
Beispiel #5
0
 def _calc_pareto_front(self):
     return load_pareto_front_from_file("kursawe.pf")
Beispiel #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))
Beispiel #7
0
 def _calc_pareto_front(self, *args, **kwargs):
     return load_pareto_front_from_file("kursawe.pf")
Beispiel #8
0
 def _calc_pareto_front(self, **kwargs):
     return load_pareto_front_from_file(os.path.join("MW", "MW14.pf"))