40 namespace Gecode {
namespace Gist {
55 :
Brancher(home, share, b), done(b.done) {}
78 unsigned int, std::ostream&)
const {
StopChoice(const Brancher &b)
Initialize choice for brancher b.
StopBrancher(Home home)
Construct brancher.
virtual size_t size(void) const
Report size occupied.
virtual bool status(const Space &) const
Check status of brancher, return true if alternatives left.
virtual void archive(Archive &e) const
Archive into e.
Base-class for both propagators and branchers.
virtual ExecStatus commit(Space &, const Choice &, unsigned int)
Perform commit for choice _c and alternative a.
Base-class for branchers.
virtual void archive(Archive &e) const
Archive into e.
Choice for performing commit
virtual Choice * choice(Space &)
Return choice.
Brancher that stops exploration in Gist
struct Gecode::@518::NNF::@57::@58 b
For binary nodes (and, or, eqv)
Gecode toplevel namespace
virtual void print(const Space &home, const Gecode::Choice &c, unsigned int, std::ostream &o) const
Print explanation.
virtual size_t dispose(Space &)
Delete brancher and return its size.
virtual Actor * copy(Space &home, bool share)
Copy brancher.
Home class for posting propagators
static void post(Home home)
Post brancher.
bool done
Flag whether brancher has been executed.