jopt.csp.util
Class IntegerUtil

java.lang.Object
  extended byjopt.csp.util.IntegerUtil

public class IntegerUtil
extends java.lang.Object

Integer type utility functions


Constructor Summary
IntegerUtil()
           
 
Method Summary
static int getMax(CspNumExpr expr)
          Returns maximum value of a numeric expression as an int type
static int getMax(VariableSolution sol)
          Returns maximum value of a numeric expression as a double type
static int getMin(CspNumExpr expr)
          Returns minimum value of a numeric expression as an int type
static int getMin(VariableSolution sol)
          Returns minimum value of a numeric expression as a double type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerUtil

public IntegerUtil()
Method Detail

getMin

public static int getMin(CspNumExpr expr)
Returns minimum value of a numeric expression as an int type


getMax

public static int getMax(CspNumExpr expr)
Returns maximum value of a numeric expression as an int type


getMin

public static int getMin(VariableSolution sol)
Returns minimum value of a numeric expression as a double type


getMax

public static int getMax(VariableSolution sol)
Returns maximum value of a numeric expression as a double type