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

Method colors

examples/colored-matrix.cpp:89–89  ·  view source on GitHub ↗

Return number of colors

Source from the content-addressed store, hash-verified

87 }
88 /// Return number of colors
89 int colors(void) const { return static_cast<int>(_colors.value()); }
90 /// Return how to implement not all equals
91 int not_all_equal(void) const { return _not_all_equal.value(); }
92 /// Return how to implement same or 0

Callers 1

ColoredMatrixMethod · 0.80

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected