paref.interfaces.pareto_reflections.pareto_reflection#

Classes

ParetoReflection()

Interface for Pareto reflections

class paref.interfaces.pareto_reflections.pareto_reflection.ParetoReflection[source]#

Bases: object

Interface for Pareto reflections

Implement a Pareto reflection

\[p: \mathbb{R}^n \to \mathbb{R}^m\]

with this interface.

abstract __call__(x: ndarray) ndarray[source]#

Call Pareto reflection to input :param x: input to witch Pareto reflection is applied :type x: np.ndarray

Returns:

output of Pareto reflection applied to input

Return type:

np.ndarray

best_fits(points: ndarray) ndarray[source]#

Return the Pareto points of Pareto reflection with respect to the variable points

Parameters:

points (np.ndarray) – Points to which the Pareto reflection is restricted

Returns:

(Pareto) points of Pareto reflection restricted to points array

Return type:

np.ndarray

abstract property dimension_codomain: int#

Dimension of codomain of Pareto reflection

Returns:

dimension of codomain of Pareto reflection

Return type:

int

abstract property dimension_domain: int#

Dimension of domain of Pareto reflection

Returns:

dimension of domain of Pareto reflection

Return type:

int