def f(self, x):
        self.feasible,self.violation = self.g(x)
        MultiObjectiveFunction.feasible = self.feasible
        MultiObjectiveFunction.violation = self.violation
        f1 = 4*x[0]**2 + 4*x[1]**2
        f2 = (x[0]-5)**2 + (x[1]-5)**2
        return -array([f1, f2])
# ---
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/functions/multiobjective.py/ConstBnh.f/original