MCPcopy Create free account
hub / github.com/Gecode/gecode / master

Method master

test/search.cpp:83–91  ·  view source on GitHub ↗

Master configuration function that does not restart

Source from the content-addressed store, hash-verified

81 virtual bool best(void) const = 0;
82 /// Master configuration function that does not restart
83 virtual bool master(const MetaInfo& mi) {
84 if (mi.type() == MetaInfo::RESTART) {
85 if (mi.last() != nullptr)
86 constrain(*mi.last());
87 return false;
88 } else {
89 return false;
90 }
91 }
92 };
93
94 /// Space that immediately fails

Callers

nothing calls this directly

Calls 2

typeMethod · 0.45
lastMethod · 0.45

Tested by

no test coverage detected