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

Method disable

gecode/kernel/core.cpp:979–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977 }
978
979 void
980 PropagatorGroup::disable(Space& home) {
981 if (home.failed())
982 return;
983 for (Space::Propagators ps(home); ps(); ++ps)
984 if (in(ps.propagator().group()))
985 ps.propagator().disable(home);
986 }
987
988 void
989 PropagatorGroup::enable(Space& home, bool s) {

Callers

nothing calls this directly

Calls 4

groupMethod · 0.80
propagatorMethod · 0.80
inFunction · 0.50
failedMethod · 0.45

Tested by

no test coverage detected