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

Method size

gecode/kernel/core.cpp:955–964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953 }
954
955 unsigned int
956 PropagatorGroup::size(Space& home) const {
957 if (home.failed())
958 return 0;
959 unsigned int n=0;
960 for (Space::Propagators ps(home); ps(); ++ps)
961 if (in(ps.propagator().group()))
962 n++;
963 return n;
964 }
965
966 void
967 PropagatorGroup::kill(Space& home) {

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected