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

Method val

test/nogoods.cpp:191–200  ·  view source on GitHub ↗

Return name for branching

Source from the content-addressed store, hash-verified

189 }
190 /// Return name for branching
191 static std::string val(SetValBranch svb) {
192 switch (svb.select()) {
193 case SetValBranch::SEL_MIN_INC: return "SET_VAL_MIN_INC";
194 case SetValBranch::SEL_MAX_INC: return "SET_VAL_MAX_INC";
195 case SetValBranch::SEL_MIN_EXC: return "SET_VAL_MIN_EXC";
196 case SetValBranch::SEL_MAX_EXC: return "SET_VAL_MAX_EXC";
197 default: GECODE_NEVER;
198 }
199 return "";
200 }
201 };
202#endif
203

Callers

nothing calls this directly

Calls 1

selectMethod · 0.45

Tested by

no test coverage detected