org.encog.util.normalize.output.mapped
Class MappedRange
- java.lang.Object
-
- org.encog.util.normalize.output.mapped.MappedRange
-
- All Implemented Interfaces:
- java.io.Serializable
public class MappedRange extends java.lang.Object implements java.io.SerializableSimple class that is used internally to hold a range mapping.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MappedRange(double low, double high, double value)Construct the range mapping.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetHigh()doublegetLow()doublegetValue()booleaninRange(double d)Determine if the specified value is in the range.
-
-
-
Constructor Detail
-
MappedRange
public MappedRange(double low, double high, double value)Construct the range mapping.- Parameters:
low- The low value for the range.high- The high value for the range.value- The value that this range represents.
-
-
Method Detail
-
getHigh
public double getHigh()
- Returns:
- The high value for this range.
-
getLow
public double getLow()
- Returns:
- The low value for this range.
-
getValue
public double getValue()
- Returns:
- The value that this range represents.
-
inRange
public boolean inRange(double d)
Determine if the specified value is in the range.- Parameters:
d- The value to check.- Returns:
- True if this value is within the range.
-
-
DMelt 3.0 © DataMelt by jWork.ORG