Crystal AI  1.0.0
Crystal.IEvaluator Interface Reference

Utility evaluator interface. More...

Inheritance diagram for Crystal.IEvaluator:
Crystal.EvaluatorBase Crystal.CompositeEvaluator Crystal.LinearEvaluator Crystal.PowerEvaluator Crystal.SigmoidEvaluator

Public Member Functions

float Evaluate (float x)
 Returns the value for the specified x. More...
 

Properties

Pointf PtA [get]
 The first point of the evaluator. The x-coordinate of this point will always be strictly smaller than that of PtB. More...
 
Pointf PtB [get]
 The second point of the evaluator. The x-coordinate of this point will always be strictly larger than that of PtA. More...
 
float MinX [get]
 The lower bound of the x-coordinate interval. More...
 
float MaxX [get]
 The upper bound of the x-coordinate interval. More...
 
float MinY [get]
 The lower bound of the y-coordinate interval. More...
 
float MaxY [get]
 The upper bound of the y-coordinate interval. More...
 
Interval< float > XInterval [get]
 The x-coordinate interval represents the domain of definition of this evaluator. More...
 
Interval< float > YInterval [get]
 The y-coordinate interval represents the range of this evaluator. Note that this must be a sub-interval (or the entire interval) [0,1]. More...
 
bool IsInverted [get, set]
 When true, the output of the Evaluate method is transformed to 1.0f - (normal output). More...
 

Detailed Description

Utility evaluator interface.

Member Function Documentation

float Crystal.IEvaluator.Evaluate ( float  x)

Property Documentation

bool Crystal.IEvaluator.IsInverted
getset

When true, the output of the Evaluate method is transformed to 1.0f - (normal output).

float Crystal.IEvaluator.MaxX
get

The upper bound of the x-coordinate interval.

float Crystal.IEvaluator.MaxY
get

The upper bound of the y-coordinate interval.

float Crystal.IEvaluator.MinX
get

The lower bound of the x-coordinate interval.

float Crystal.IEvaluator.MinY
get

The lower bound of the y-coordinate interval.

Pointf Crystal.IEvaluator.PtA
get

The first point of the evaluator. The x-coordinate of this point will always be strictly smaller than that of PtB.

Pointf Crystal.IEvaluator.PtB
get

The second point of the evaluator. The x-coordinate of this point will always be strictly larger than that of PtA.

Interval<float> Crystal.IEvaluator.XInterval
get

The x-coordinate interval represents the domain of definition of this evaluator.

Interval<float> Crystal.IEvaluator.YInterval
get

The y-coordinate interval represents the range of this evaluator. Note that this must be a sub-interval (or the entire interval) [0,1].


The documentation for this interface was generated from the following file: