Documentation of 'org.encog.mathutil.dimension.DimensionConstraint' Java class
DimensionConstraint
org.encog.mathutil.dimension

Class DimensionConstraint



  • public class DimensionConstraint
    extends java.lang.Object
    Specifies a constraint for dimensions, using a lower and upper bound.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DimensionConstraint(int n, int theLower, int theUpper)
      Construct the constraint.
    • Constructor Detail

      • DimensionConstraint

        public DimensionConstraint(int n,
                                   int theLower,
                                   int theUpper)
        Construct the constraint.
        Parameters:
        n - The number of dimensions.
        theLower - The lower bound for each dimension.
        theUpper - The upper bound for each dimension.
    • Method Detail

      • getLower

        public MultiDimension getLower()
        Returns:
        The lower bound for each dimension.
      • getUpper

        public MultiDimension getUpper()
        Returns:
        The upper bound for each dimension.
      • getLower

        public int getLower(int d)
        Get the lower bound for a specific dimension.
        Parameters:
        d - The dimension.
        Returns:
        The lower bound for the specified dimension.
      • getUpper

        public int getUpper(int d)
        Get the upper bound for a specific dimension.
        Parameters:
        d - The dimension.
        Returns:
        The upper bound for the specified dimension.
      • getRange

        public int getRange(int d)
        Get the range (between upper and lower bound) for the specified dimension.
        Parameters:
        d - The dimension.
        Returns:
        The range for the specified dimension.
      • getMiddle

        public int getMiddle(int d)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.