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

Method LastVal

gecode/flatzinc/lastval.hh:73–75  ·  view source on GitHub ↗

Constructor for cloning \a p

Source from the content-addressed store, hash-verified

71
72 /// Constructor for cloning \a p
73 LastVal(Space& home, LastVal& p) : Propagator(home,p) {
74 x.update(home, p.x);
75 };
76 /// Constructor for posting
77 LastVal(FlatZincSpace& home, IdxViewArray<View> x0) : Propagator(home), x(x0) {
78 x.subscribe(home, *this, PC_GEN_ASSIGNED);

Callers

nothing calls this directly

Calls 3

updateMethod · 0.45
subscribeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected