| 1794 | } |
| 1795 | #ifdef GECODE_HAS_FLOAT_VARS |
| 1796 | void printFloatVar(std::ostream& os, const std::string name, const Float::FloatView& f) { |
| 1797 | os << "var "; |
| 1798 | if(f.assigned()) |
| 1799 | os << "float: " << name << " = " << f.med() << ";"; |
| 1800 | else |
| 1801 | os << f.min() << ".." << f.max() << ": " << name << ";"; |
| 1802 | os << "\n"; |
| 1803 | } |
| 1804 | #endif |
| 1805 | std::string FlatZincSpace::getDomains(const Printer& p) const { |
| 1806 | std::ostringstream oss; |
no test coverage detected