macop.operators.Operator

Abstract Operator class

Classes

KindOperator

Enum in order to recognize kind of operators

Operator()

Abstract Operator class which enables to update solution applying operator (computation)

class macop.operators.Operator.KindOperator[source]

Enum in order to recognize kind of operators

class macop.operators.Operator.Operator[source]

Abstract Operator class which enables to update solution applying operator (computation)

apply(_solution)[source]

Apply the current operator transformation

Parameters

_solution – {Solution} – Solution instance

Raises

NotImplementedError – if method not implemented into child class

setAlgo(_algo)[source]
Keep into operator reference of the whole algorithm

The reason is to better manage operator instance

Parameters

_algo – {Algorithm} – the algorithm reference runned