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

Method CpltAssignment

test/int.hpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52
53 inline
54 CpltAssignment::CpltAssignment(int n, const Gecode::IntSet& d)
55 : Assignment(n,d),
56 dsv(new Gecode::IntSetValues[static_cast<unsigned int>(n)]) {
57 for (int i=n; i--; )
58 dsv[i].init(d);
59 }
60 inline bool
61 CpltAssignment::has_more(void) const {
62 return dsv[0]();

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected