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

Method val

gecode/int/var/bool.hpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 : VarImpVar<Int::BoolVarImp>(y.varimp()) {}
55
56 forceinline int
57 BoolVar::val(void) const {
58 if (!x->assigned())
59 throw Int::ValOfUnassignedVar("BoolVar::val");
60 return x->val();
61 }
62 forceinline int
63 BoolVar::min(void) const {
64 return x->min();

Callers

nothing calls this directly

Calls 1

assignedMethod · 0.45

Tested by

no test coverage detected