|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CspNumExpr | |
jopt.csp.search | The interfaces to all your searching needs. |
jopt.csp.solution | Defines structures for storing solutions to constraint satisfaction problems |
jopt.csp.util | Contains several foundational utility classes and associated interfaces. |
jopt.csp.variable | The interfaces for building, combining, and constraining variables and expressions |
Uses of CspNumExpr in jopt.csp.search |
Methods in jopt.csp.search with parameters of type CspNumExpr | |
SearchGoal |
SearchGoals.minimize(CspNumExpr expr)
Creates a goal that will minimize a numeric expression |
SearchGoal |
SearchGoals.maximize(CspNumExpr expr)
Creates a goal that will maximize a numeric expression |
SearchGoal |
SearchGoals.strictlyMinimize(CspNumExpr expr,
double stepSize)
Creates a goal that will minimize a numeric expression. |
SearchGoal |
SearchGoals.strictlyMaximize(CspNumExpr expr,
double stepSize)
Creates a goal that will maximize a numeric expression It will only obtain a solution if it is better than the previous. |
SearchGoal |
SearchGoals.minimize(CspNumExpr expr,
boolean useCurrentState)
Creates a goal that will minimize a numeric expression |
SearchGoal |
SearchGoals.maximize(CspNumExpr expr,
boolean useCurrentState)
Creates a goal that will maximize a numeric expression |
SearchGoal |
SearchGoals.strictlyMinimize(CspNumExpr expr,
double stepSize,
boolean useCurrentState)
Creates a goal that will minimize a numeric expression. |
SearchGoal |
SearchGoals.strictlyMaximize(CspNumExpr expr,
double stepSize,
boolean useCurrentState)
Creates a goal that will maximize a numeric expression It will only obtain a solution if it is better than the previous. |
Uses of CspNumExpr in jopt.csp.solution |
Methods in jopt.csp.solution that return CspNumExpr | |
CspNumExpr |
SolutionScope.getObjectiveExpression()
Returns the objective expression |
Methods in jopt.csp.solution with parameters of type CspNumExpr | |
void |
SolverSolution.setMinimizeObjective(CspNumExpr expr)
Sets an objective to minimize the specified expression |
void |
SolverSolution.setMaximizeObjective(CspNumExpr expr)
Sets an objective to maximize the specified expression |
void |
SolutionScope.setMinimizeObjective(CspNumExpr expr)
Sets an objective to minimize the specified expression |
void |
SolutionScope.setMaximizeObjective(CspNumExpr expr)
Sets an objective to maximize the specified expression |
Uses of CspNumExpr in jopt.csp.util |
Methods in jopt.csp.util with parameters of type CspNumExpr | |
static long |
LongUtil.getMin(CspNumExpr expr)
Returns minimum value of a numeric expression as a long type |
static long |
LongUtil.getMax(CspNumExpr expr)
Returns maximum value of a numeric expression as a long type |
static int |
IntegerUtil.getMin(CspNumExpr expr)
Returns minimum value of a numeric expression as an int type |
static int |
IntegerUtil.getMax(CspNumExpr expr)
Returns maximum value of a numeric expression as an int type |
static float |
FloatUtil.getMin(CspNumExpr expr)
Returns minimum value of a numeric expression as a float type |
static float |
FloatUtil.getMax(CspNumExpr expr)
Returns maximum value of a numeric expression as a float type |
static double |
DoubleUtil.getMin(CspNumExpr expr)
Returns minimum value of a numeric expression as a double type |
static double |
DoubleUtil.getMax(CspNumExpr expr)
Returns maximum value of a numeric expression as a double type |
Uses of CspNumExpr in jopt.csp.variable |
Subinterfaces of CspNumExpr in jopt.csp.variable | |
interface |
CspBooleanExpr
Base interface for boolean expressions |
interface |
CspBooleanVariable
|
interface |
CspDoubleCast
Interface allowing other variables and expressions to be casted to a double type for use with double expressions |
interface |
CspDoubleExpr
Interface implemented by double precision floating point numeric expressions. |
interface |
CspDoubleVariable
Interface implemented by double precision floating point variables. |
interface |
CspFloatCast
Interface allowing other variables and expressions to be casted to a float type for use with float expressions |
interface |
CspFloatExpr
Interface implemented by float precision floating point numeric expressions. |
interface |
CspFloatVariable
Interface implemented by float precision floating point variables. |
interface |
CspGenericBooleanExpr
Interface implemented by generic boolean expressions. |
interface |
CspGenericDoubleCast
Interface implemented by generic expressions that can be cast to generic double expressions |
interface |
CspGenericDoubleExpr
Interface for generic double expressions |
interface |
CspGenericFloatCast
Interface implemented by generic expressions that can be cast to generic float expressions |
interface |
CspGenericFloatExpr
Interface for generic float expressions |
interface |
CspGenericIntExpr
Interface for generic integer expressions |
interface |
CspGenericLongCast
Interface implemented by generic expressions that can be cast to generic long expressions |
interface |
CspGenericLongExpr
Interface for generic float expressions |
interface |
CspGenericNumExpr
Interface for generic number expressions |
interface |
CspIntExpr
Interface implemented by integer based numeric expressions. |
interface |
CspIntVariable
Interface implemented by integer based variables. |
interface |
CspLongCast
Interface allowing other variables and expressions to be casted to a long type for use with long expressions |
interface |
CspLongExpr
Interface implemented by long integer based numeric expressions. |
interface |
CspLongVariable
Interface implemented by long integer based variables. |
interface |
CspNumVariable
This interface should be implemented by all numeric variables that allow their domain properties to be accessed and/or modified. |
Methods in jopt.csp.variable with parameters of type CspNumExpr | |
CspConstraint |
CspNumExpr.eq(CspNumExpr val)
Returns a constraint restricting this expression to a value |
CspConstraint |
CspNumExpr.lt(CspNumExpr val)
Returns a constraint restricting this expression to values below a given maximum |
CspConstraint |
CspNumExpr.leq(CspNumExpr val)
Returns a constraint restricting this expression to values below and including a given maximum |
CspConstraint |
CspNumExpr.gt(CspNumExpr val)
Returns a constraint restricting this expression to values above a given minimum |
CspConstraint |
CspNumExpr.geq(CspNumExpr val)
Returns a constraint restricting this expression to values above and including a given minimum |
CspConstraint |
CspNumExpr.neq(CspNumExpr val)
Returns a constraint restricting this expression to all values not equivalent to supplied value |
CspConstraint |
CspNumExpr.between(CspNumExpr min,
boolean minExclusive,
CspNumExpr max,
boolean maxExclusive)
Returns a constraint restricting this expression to be between a min and max. |
CspConstraint |
CspNumExpr.between(CspNumExpr min,
CspNumExpr max)
Returns a constraint restricting this expression to be between or equal min and max. |
CspConstraint |
CspNumExpr.notBetween(CspNumExpr min,
boolean minExclusive,
CspNumExpr max,
boolean maxExclusive)
Returns a constraint restricting this expression to not fall within a given range from a min to max value |
CspConstraint |
CspNumExpr.notBetween(CspNumExpr min,
CspNumExpr max)
Returns a constraint restricting this expression to not fall within a given range greater than or equal to a min value up to less than or equal a max value |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |