org.encog.util.normalize.segregate
public class SegregationRange extends Object implements Serializable
Constructor and Description |
---|
SegregationRange()
Default constructor for reflection.
|
SegregationRange(double low,
double high,
boolean include)
Construct a segregation range.
|
Modifier and Type | Method and Description |
---|---|
double |
getHigh() |
double |
getLow() |
boolean |
inRange(double value)
Is this value within the range.
|
boolean |
isIncluded() |
public SegregationRange()
public SegregationRange(double low, double high, boolean include)
low
- The low end of the range.high
- The high end of the range.include
- Specifies if the range should be included.public double getHigh()
public double getLow()
public boolean inRange(double value)
value
- The value to check.public boolean isIncluded()
Copyright © 2014. All Rights Reserved.