paref.interfaces.sequences_pareto_reflections.sequence_pareto_reflections#

Classes

SequenceParetoReflections()

Interface for pareto_reflections of Pareto reflections

class paref.interfaces.sequences_pareto_reflections.sequence_pareto_reflections.SequenceParetoReflections[source]#

Bases: object

Interface for pareto_reflections of Pareto reflections

A sequence of Pareto reflections is a mathematical sequence

\[(p_i)_{i \in \mathbb{N}}\]

of Pareto reflections.

best_fits(points: ndarray) ndarray[source]#

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

Parameters:

points (np.ndarray) – Points to which the Pareto reflections are restricted

Returns:

(Pareto) points of Pareto reflections restricted to points array

Return type:

np.ndarray

abstract next(blackbox_function: BlackboxFunction) ParetoReflection | None[source]#
Parameters:

blackbox_function (BlackboxFunction) – The blackbox function to which the algorithm is applied

Returns:

Either the next Pareto reflection or None if the end of the sequence is reached

Return type:

Optional[ParetoReflection]

property used_pareto_reflections: List[ParetoReflection]#

Used Pareto reflections in the sequence in the respective order

Returns:

List of Pareto reflections used in the sequence in the respective order

Return type:

List[ParetoReflection]