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

Method str

test/int.hpp:206–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204 testsearch(true), testfix(true) {}
205
206 inline
207 std::string
208 Test::str(Gecode::IntPropLevel ipl) {
209 using namespace Gecode;
210 std::stringstream s;
211 switch (vbd(ipl)) {
212 case IPL_VAL: s << "Val"; break;
213 case IPL_BND: s << "Bnd"; break;
214 case IPL_DOM: s << "Dom"; break;
215 default: s << "Def"; break;
216 }
217 if (ipl & IPL_BASIC) s << "+B";
218 if (ipl & IPL_ADVANCED) s << "+A";
219 return s.str();
220 }
221
222 inline
223 std::string

Callers 15

runMethod · 0.45
report_errorFunction · 0.45
runMethod · 0.45
LogObjectMethod · 0.45
cardMethod · 0.45
flatzinc.hhFile · 0.45
matrix.hppFile · 0.45
toStringMethod · 0.45
initMethod · 0.45
startMethod · 0.45
restartMethod · 0.45
getArrayElementFunction · 0.45

Calls

no outgoing calls

Tested by 2

report_errorFunction · 0.36
runMethod · 0.36