Perturbation#

class Perturbation[source]#

Bases: ABC

Abstract base class for perturbations applied to feasibility seeking algorithms.

Methods

perturbation_step(x)

Perform a perturbation step.

abstractmethod perturbation_step(x)[source]#

Perform a perturbation step.

Parameters:

x (ndarray[tuple[Any, ...], dtype[TypeVar(_ScalarT, bound= generic)]]) – The input array to be perturbed.

Return type:

ndarray

Returns:

The perturbed array.