C# Class Encog.Util.Normalize.Output.Nominal.OutputOneOf

Inheritance: BasicOutputField
Afficher le fichier Open project: encog/encog-silverlight-core Class Usage Examples

Méthodes publiques

Méthode Description
AddItem ( IInputField inputField, double value ) : void

Add a nominal value specifying a single value, the high and low values will be 0.5 below and 0.5 above.

AddItem ( IInputField inputField, double low, double high ) : void

Add a nominal item, specify the low and high values.

Calculate ( int subfield ) : double

Calculate the value for the specified subfield.

OutputOneOf ( ) : System

Default constructor for reflection. Use 1 for true, -1 for false.

OutputOneOf ( double trueValue, double falseValue ) : System

Construct a one-of field and specify the true and false value.

RowInit ( ) : void

Not needed for this sort of output field.

Method Details

AddItem() public méthode

Add a nominal value specifying a single value, the high and low values will be 0.5 below and 0.5 above.
public AddItem ( IInputField inputField, double value ) : void
inputField IInputField The input field to use.
value double The value to calculate the high and low values off of.
Résultat void

AddItem() public méthode

Add a nominal item, specify the low and high values.
public AddItem ( IInputField inputField, double low, double high ) : void
inputField IInputField The input field to base everything from.
low double The high value for this nominal item.
high double The low value for this nominal item.
Résultat void

Calculate() public méthode

Calculate the value for the specified subfield.
public Calculate ( int subfield ) : double
subfield int The subfield to calculate for.
Résultat double

OutputOneOf() public méthode

Default constructor for reflection. Use 1 for true, -1 for false.
public OutputOneOf ( ) : System
Résultat System

OutputOneOf() public méthode

Construct a one-of field and specify the true and false value.
public OutputOneOf ( double trueValue, double falseValue ) : System
trueValue double The true value.
falseValue double The false value.
Résultat System

RowInit() public méthode

Not needed for this sort of output field.
public RowInit ( ) : void
Résultat void