| 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 |
no outgoing calls