#include <CBJ.h>
Inheritance diagram for CBJ:

Public Member Functions | |
| CBJ (Problem &problem) | |
| virtual void | init () |
| virtual void | done () |
| virtual void | start () |
| virtual void | stop () |
| virtual void | recordDomainChange (Variable &victim, Variable &aggressor) |
| virtual void | recordFailure (Constraint &constraint, Variable &victim, Variable &aggressor) |
| virtual int | computeJump (bool chronological=true) const |
| virtual void | unifyConflictSets (int jumpDepth) |
| virtual void | eraseConflictSets (int jumpDepth) |
| virtual wostream & | print (wostream &wos) const |
|
|
Return the back jumping depth based on the conflict set of the variables modified at the current depth. We have to parse all of them and select the deepest variable that could have caused a conflict. Implements Retraction. |
|
|
This function cleans up the retraction after a search. Reimplemented from Retraction. |
|
|
Erase the conflict sets of all the variables whose modification depth is greater than the depth we want to jump to and less than or equal to the current depth.
Reimplemented from Retraction. |
|
|
This function prepares the retraction for a new search. Reimplemented from Retraction. |
|
|
Print information about the monitor at the given stream.
Reimplemented from Retraction. |
|
||||||||||||
|
Notify the monitor that values have been removed from the domain of `variable' (but no dwo). This function adds to the conflict set of `variable' all the variables modified at the current depth of the search.
Implements Retraction. |
|
||||||||||||||||
|
Notify the monitor that the filter has failed.
Implements Retraction. |
|
|
This function should be called before the constraint propagation. Reimplemented from Retraction. |
|
|
This function should be called after the constraint propagation. Reimplemented from Retraction. |
|
|
Merge the conflict sets of all the variables modified at the current depth in all the variables modified at the depth we want to jump to.
Reimplemented from Retraction. |
1.3.9.1