Method Summary
All Methods Instance Methods Abstract Methods Default Methods
Creates a black-box search that automatically discovers the solver's decision variables.
Creates a black-box search over the specified interval variables.
Creates a black-box search over the specified 2D matrix of interval variables.
Creates a black-box search over the specified integer variables.
void
Computes the fix-point with all the scheduled constraints.
Gives the ModelProxy associated with this CPSolver, if any
Creates a maximization objective on the given variable.
Creates a minimization objective on the given variable.
void
Adds a listener called whenever the fix-point.
void
Forces the boolean variable to be true and then
computes the fix-point.
void
Forces the boolean variable to be true and then
optionally computes the fix-point.
void
void
void
Schedules the constraint to be propagated by the fix-point.
Method Details
post
Parameters:
c - the constraint to be posted
schedule
Schedules the constraint to be propagated by the fix-point.
Parameters:
c - the constraint to be scheduled
post
Parameters:
c - the constraint to be posted
enforceFixPoint - is one wants to compute the fix-point after
fixPoint
void fixPoint ()
Computes the fix-point with all the scheduled constraints.
onFixPoint
Adds a listener called whenever the fix-point.
Parameters:
listener - the listener that is called whenever the fix-point is started
minimize
Creates a minimization objective on the given variable.
Parameters:
x - the variable to minimize
Returns:
an objective that can minimize x
See Also:
maximize
Creates a maximization objective on the given variable.
Parameters:
x - the variable to maximize
Returns:
an objective that can maximize x
See Also:
post
Forces the boolean variable to be true and then
computes the fix-point.
Parameters:
b - the variable that must be set to true
post
void post (CPBoolVar b,
boolean enforceFixPoint)
Forces the boolean variable to be true and then
optionally computes the fix-point.
Parameters:
b - the variable that must be set to true
getModelProxy
Gives the ModelProxy associated with this CPSolver, if any
blackBoxSearch
Creates a black-box search that automatically discovers the solver's decision variables.
blackBoxSearch
Creates a black-box search over the specified integer variables.
blackBoxSearch
Creates a black-box search over the specified interval variables.
blackBoxSearch
Creates a black-box search over the specified 2D matrix of interval variables.