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

Method SetAssignment

test/set.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 SetAssignment::SetAssignment(int n0, const Gecode::IntSet& d0, int _withInt)
69 : n(n0), dsv(new CountableSet[n]), ir(_withInt, d0), done(false), lub(d0),
70 withInt(_withInt) {
71 for (int i=n; i--; )
72 dsv[i].init(lub);
73 }
74
75 void
76 SetAssignment::next(Gecode::Support::RandomGenerator& rand) {

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected