Polarith AI
1.8
CriteriaBehaviour Class Referenceabstract

Description

Used for writing and modifying objective values of a specified Problem<T> (implementation as abstract base class).

The problem instance is hold by a class implementing Context<TValue, TStructure>.

This abstract base class serves as container for intermediate members needed in the further inheritance hierarchy, like for instance, it holds a field for Enabled. So, an IBehaviour can be active or inactive depending on the set Enabled property. In order to modify the objective values, the Behave method has to be defined.

Inheritance diagram for CriteriaBehaviour:
IBehaviour MoveBehaviour PerceptBehaviour< T > PlanarConvolution PlanarInterpolation Retention Stabilization

Public Fields

const int CentralOrder = 1000
 The minimum Order for behaviours which should be processed before behaviours using LastOrder but after all other behaviours. More...
 
const int LastOrder = 2000
 The minimum Order for behaviours which should be processed at last. More...
 

Protected Fields

bool enabled
 Determines if this IBehaviour is active or inactive. More...
 

Properties

bool Enabled [get, set]
 Determines if this IBehaviour is active or inactive. More...
 
int Order [get, set]
 Specifies the execution order of this behaviour. More...
 

Public Methods

abstract void Behave ()
 Should be used to write/modify objective values for an IProblem<T> instance hold by a class implementing IContext<TValue, TStructure>. More...
 
Imprint