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

Inheritance: BasicOutputField
ファイルを表示 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method 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 method

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.
return void

AddItem() public method

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.
return void

Calculate() public method

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

OutputOneOf() public method

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

OutputOneOf() public method

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.
return System

RowInit() public method

Not needed for this sort of output field.
public RowInit ( ) : void
return void