org.encog.util.normalize.output.nominal
public class OutputEquilateral extends BasicOutputField
Constructor and Description |
---|
OutputEquilateral()
Prodvide a default constructor for reflection.
|
OutputEquilateral(double low,
double high)
Create an equilateral output field with the specified high and low output
values.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(InputField inputField,
double value)
Add a nominal value based on a single value.
|
void |
addItem(InputField inputField,
double low,
double high)
Add a nominal item based on a range.
|
double |
calculate(int subfield)
Calculate the value for the specified subfield.
|
Equilateral |
getEquilateral() |
double |
getHigh() |
double |
getLow() |
int |
getSubfieldCount()
This is the total number of nominal items minus 1.
|
void |
rowInit()
Determine which item's index is the value.
|
isIdeal, setIdeal
public OutputEquilateral()
public OutputEquilateral(double low, double high)
high
- The high output value.low
- The low output value.public void addItem(InputField inputField, double value)
inputField
- The input field this is based on.value
- The value.public void addItem(InputField inputField, double low, double high)
inputField
- The input field to use.low
- The low value of the range.high
- The high value of the range.public double calculate(int subfield)
subfield
- The subfield to calculate for.public Equilateral getEquilateral()
public double getHigh()
public double getLow()
public int getSubfieldCount()
public void rowInit()
Copyright © 2014. All Rights Reserved.