70 unsigned int, std::ostream&)
const {
Base-class for both propagators and branchers.
Base-class for branchers.
Brancher(Home home)
Constructor for creation.
Choice for performing commit
Choice(const Brancher &b, const unsigned int a)
Initialize for particular brancher b and alternatives a.
virtual void archive(Archive &e) const
Archive into e.
virtual Actor * copy(Space &home)
Copy brancher.
virtual size_t dispose(Space &)
Delete brancher and return its size.
virtual void print(const Space &home, const Gecode::Choice &c, unsigned int, std::ostream &o) const
Print explanation.
bool done
Flag whether brancher has been executed.
virtual Choice * choice(Space &)
Return choice.
static void post(Home home)
Post brancher.
StopBrancher(Home home)
Construct brancher.
virtual bool status(const Space &) const
Check status of brancher, return true if alternatives left.
virtual ExecStatus commit(Space &, const Choice &, unsigned int)
Perform commit for choice _c and alternative a.
StopChoice(const Brancher &b)
Initialize choice for brancher b.
virtual void archive(Archive &e) const
Archive into e.
Home class for posting propagators
The Gecode Interactive Search Tool.
Gecode toplevel namespace
@ ES_OK
Execution is okay.