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