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

Method afc_unshare

gecode/kernel/core.cpp:869–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

867
868
869 void
870 Space::afc_unshare(void) {
871 if (ssd.data().gpi.unshare()) {
872 for (Propagators ps(*this); ps(); ++ps) {
873 Propagator& p = ps.propagator();
874 Kernel::GPI::Info* gpi
875 = ssd.data().gpi.allocate(p.gpi().pid,p.gpi().gid);
876 if (p.disabled())
877 p.gpi_disabled = Support::mark(gpi);
878 else
879 p.gpi_disabled = gpi;
880 }
881 }
882 }
883
884 void
885 LocalObject::fwdcopy(Space& home) {

Callers 2

afc.hppFile · 0.80
initMethod · 0.80

Calls 6

markFunction · 0.85
unshareMethod · 0.80
dataMethod · 0.80
propagatorMethod · 0.80
allocateMethod · 0.45
disabledMethod · 0.45

Tested by

no test coverage detected