Documentation of 'org.encog.util.normalize.segregate.SegregationRange' Java class
SegregationRange
org.encog.util.normalize.segregate

Class SegregationRange

  • All Implemented Interfaces:
    java.io.Serializable


    public class SegregationRange
    extends java.lang.Object
    implements java.io.Serializable
    Specifies a range that might be included or excluded.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SegregationRange()
      Default constructor for reflection.
      SegregationRange(double low, double high, boolean include)
      Construct a segregation range.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getHigh() 
      double getLow() 
      boolean inRange(double value)
      Is this value within the range.
      boolean isIncluded() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SegregationRange

        public SegregationRange()
        Default constructor for reflection.
      • SegregationRange

        public SegregationRange(double low,
                                double high,
                                boolean include)
        Construct a segregation range.
        Parameters:
        low - The low end of the range.
        high - The high end of the range.
        include - Specifies if the range should be included.
    • Method Detail

      • getHigh

        public double getHigh()
        Returns:
        The high end of the range.
      • getLow

        public double getLow()
        Returns:
        The low end of the range.
      • inRange

        public boolean inRange(double value)
        Is this value within the range.
        Parameters:
        value - The value to check.
        Returns:
        True if the value is within the range.
      • isIncluded

        public boolean isIncluded()
        Returns:
        True if this range should be included.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.