jopt.csp.variable
Interface CspGenericFloatConstant

All Superinterfaces:
CspGenericConstant, CspGenericNumConstant

public interface CspGenericFloatConstant
extends CspGenericNumConstant

Interface for CspGenericFloatConstant objects

Author:
Jim Boerkoel

Method Summary
 java.lang.Float[] getFloatConstants()
          Returns all the Float objects wrapped by this generic constant
 java.lang.Float getFloatForIndex()
          Returns the number at the current index value as a Float object
 java.lang.Float getMax()
          Returns the maximum value of all the constant values as a Float object
 java.lang.Float getMin()
          Returns the minimal value of all the constant values as a Float object
 
Methods inherited from interface jopt.csp.variable.CspGenericNumConstant
add, add, contains, createFragment, divide, divide, divideBy, divideBy, divideByCeil, divideByCeil, divideByFloor, divideByFloor, divideCeil, divideCeil, divideFloor, divideFloor, getNumber, getNumberForIndex, getNumberType, getNumConstants, getNumMax, getNumMin, multiply, multiply, subtract, subtract, subtractFrom, subtractFrom
 
Methods inherited from interface jopt.csp.variable.CspGenericConstant
containsIndex, getConstantCount, getIndices, setIndicesToNodeOffset, toString
 

Method Detail

getFloatForIndex

public java.lang.Float getFloatForIndex()
Returns the number at the current index value as a Float object

Returns:
Float object referenced by the current index

getFloatConstants

public java.lang.Float[] getFloatConstants()
Returns all the Float objects wrapped by this generic constant

Returns:
array of all Float objects wrapped by this generic constant

getMin

public java.lang.Float getMin()
Returns the minimal value of all the constant values as a Float object

Returns:
Float object representing the minimum value of all the constant values

getMax

public java.lang.Float getMax()
Returns the maximum value of all the constant values as a Float object

Returns:
Float object representing the maximum value of all the constant values