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

Method getInfo

gecode/flatzinc/flatzinc.cpp:1757–1766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1755 const Printer& p;
1756 FlatZincGetInfo(const Printer& printer) : p(printer) {}
1757 virtual std::string
1758 getInfo(const Space& space) const {
1759 std::stringstream ss;
1760 if (const FlatZincSpace* fz_space = dynamic_cast<const FlatZincSpace*>(&space)) {
1761 ss << "{\n\t\"domains\": \"";
1762 ss << fz_space->getDomains(p);
1763 ss << "\"\n}";
1764 }
1765 return ss.str();
1766 }
1767 ~FlatZincGetInfo(void) {};
1768 };
1769

Callers

nothing calls this directly

Calls 2

getDomainsMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected