GEP::Core::Float::Functions::Threshold Class Reference

Threshlod function, where the value is different for the following sets: (-Infinity, _threshold), _threshold (_threshold, +Infinity). More...

Inheritance diagram for GEP::Core::Float::Functions::Threshold:

Inheritance graph
[legend]
Collaboration diagram for GEP::Core::Float::Functions::Threshold:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Threshold (float threshold, float underTresholdVal, float equalToTresholdVal, float aboveTresholdVal)
override float Value (float[] parameters, int startIndex)
 Calculates the value of the symbol.
 Threshold (Threshold symbol)
 Creates a clone of symbol .
override GEP.Core.Common.Symbol Clone ()
 Clones this instance.
override string ToString ()

Protected Attributes

float _threshold
 The threshold value, where the output value changes.
float _underTresholdVal
 The number that will be returned if the parameter is less than the _threshold value.
float _equalToTresholdVal
 The number that will be returned if the parameter is equal to the _threshold value.
float _aboveTresholdVal
 The number that will be returned if the parameter is greater than the _threshold value.
string _name
int _n_Parameters

Static Protected Attributes

static string NAME = "Threshold"
 The display name "Threshold" of the function.

Properties

string Name [get]
 Gets the name of this symbol.
int N_Parameters [get]
 The number of parameters the symbol accepts.


Detailed Description

Threshlod function, where the value is different for the following sets: (-Infinity, _threshold), _threshold (_threshold, +Infinity).

Definition at line 13 of file Threshold.cs.


The documentation for this class was generated from the following file:
GEP .NET Framwork Main Page
SourceForge.net Logo