| 1787 | os << "\n"; |
| 1788 | } |
| 1789 | void printBoolVar(std::ostream& os, const std::string name, const BoolVar& b) { |
| 1790 | os << "var bool: " << name; |
| 1791 | if(b.assigned()) |
| 1792 | os << " = " << (b.val() ? "true" : "false"); |
| 1793 | os << ";\n"; |
| 1794 | } |
| 1795 | #ifdef GECODE_HAS_FLOAT_VARS |
| 1796 | void printFloatVar(std::ostream& os, const std::string name, const Float::FloatView& f) { |
| 1797 | os << "var "; |
no test coverage detected