|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputField
A Normalization input field. This field defines data that needs to be normalized. There are many different types of normalization field that can be used for many different purposes. To assist in normalization each input file tracks the min and max values for that field.
Method Summary | |
---|---|
void |
applyMinMax(double d)
Update the min and max values for this field with the specified values. |
double |
getCurrentValue()
|
double |
getMax()
|
double |
getMin()
|
boolean |
getUsedForNetworkInput()
|
double |
getValue(int i)
Called for input field types that require an index to get the current value. |
void |
setCurrentValue(double d)
Set the current value of this field. |
void |
setMax(double max)
Set the current max value. |
void |
setMin(double min)
Set the current min value. |
Method Detail |
---|
void applyMinMax(double d)
d
- The current value to use to update min and max.double getCurrentValue()
double getMax()
double getMin()
boolean getUsedForNetworkInput()
double getValue(int i)
i
- The index to read.
void setCurrentValue(double d)
d
- The current value of this field.void setMax(double max)
max
- The maximum value encountered on this field so far.void setMin(double min)
min
- The minimum value encountered on this field so far.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |