Method | Description | |
---|---|---|
Analyze ( double d ) : void |
Analyze the specified value. Adjust min/max as needed. Usually used only internally.
|
|
DeNormalize ( double v ) : double |
Denormalize the specified value.
|
|
DetermineClass ( double data ) : |
Determine what class the specified data belongs to.
|
|
EncodeHeaders ( ) : String |
Encode the headers used by this field.
|
|
EncodeSingleField ( int classNumber ) : String |
Encode a single field.
|
|
FixSingleValue ( ) : void |
Fix normalized fields that have a single value for the min/max. Separate them by 2 units.
|
|
Init ( ) : void |
Init any internal structures.
|
|
Lookup ( String str ) : int |
Lookup the specified field.
|
|
MakeClass ( NormalizationAction theAction, String cls, double high, double low ) : void |
Create a field that will be used to hold a class.
|
|
MakeClass ( NormalizationAction theAction, int classFrom, int classTo, int high, int low ) : void |
Make a field to hold a class. Use a numeric range for class items.
|
|
MakePassThrough ( ) : void |
Make this a pass-through field.
|
|
Normalize ( double v ) : double |
Normalize the specified value.
|
|
NormalizedField ( ) : System |
Construct the object with a range of 1 and -1.
|
|
NormalizedField ( NormalizationAction theAction, String theName ) : System |
Construct an object.
|
|
NormalizedField ( NormalizationAction theAction, String theName, double ahigh, double alow, double nhigh, double nlow ) : System |
Construct the field, with no defaults.
|
|
NormalizedField ( String theName, NormalizationAction theAction, double high, double low ) : System |
Construct the object.
|
|
NormalizedField ( double theNormalizedHigh, double theNormalizedLow ) : System |
Construct the object.
|
|
ToString ( ) : String |
public Analyze ( double d ) : void | ||
d | double | The value to analyze. |
return | void |
public DeNormalize ( double v ) : double | ||
v | double | The value to normalize. |
return | double |
public DetermineClass ( double data ) : |
||
data | double | The data to analyze. |
return |
public EncodeSingleField ( int classNumber ) : String | ||
classNumber | int | The class number to encode. |
return | String |
public Lookup ( String str ) : int | ||
str | String | The name of the field to lookup. |
return | int |
public MakeClass ( NormalizationAction theAction, String cls, double high, double low ) : void | ||
theAction | NormalizationAction | The action for this field. |
cls | String | The class items. |
high | double | The output high value. |
low | double | The output low value. |
return | void |
public MakeClass ( NormalizationAction theAction, int classFrom, int classTo, int high, int low ) : void | ||
theAction | NormalizationAction | The action to take. |
classFrom | int | The beginning class item. |
classTo | int | The ending class item. |
high | int | The output high value. |
low | int | The output low value. |
return | void |
public Normalize ( double v ) : double | ||
v | double | The value to normalize. |
return | double |
public NormalizedField ( NormalizationAction theAction, String theName ) : System | ||
theAction | NormalizationAction | The desired action. |
theName | String | The name of this column. |
return | System |
public NormalizedField ( NormalizationAction theAction, String theName, double ahigh, double alow, double nhigh, double nlow ) : System | ||
theAction | NormalizationAction | The normalization action to take. |
theName | String | The name of this field. |
ahigh | double | The actual high. |
alow | double | The actual low. |
nhigh | double | The normalized high. |
nlow | double | The normalized low. |
return | System |
public NormalizedField ( String theName, NormalizationAction theAction, double high, double low ) : System | ||
theName | String | The name of the field. |
theAction | NormalizationAction | The action of the field. |
high | double | The high end of the range for the field. |
low | double | The low end of the range for the field. |
return | System |
public NormalizedField ( double theNormalizedHigh, double theNormalizedLow ) : System | ||
theNormalizedHigh | double | The normalized high. |
theNormalizedLow | double | The normalized low. |
return | System |