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

Method getBranchLabel

gecode/gist/visualnode.cpp:283–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 }
282
283 std::string
284 VisualNode::getBranchLabel(NodeAllocator& na,
285 VisualNode* p, const Choice* c,
286 BestNode* curBest, int c_d, int a_d, int alt) {
287 std::ostringstream oss;
288 p->acquireSpace(na,curBest,c_d,a_d);
289 p->getWorkingSpace()->print(*c,alt,oss);
290 return oss.str();
291 }
292
293
294 /// \brief Helper functions for the layout algorithm

Callers 2

labelPathMethod · 0.80
processCurrentNodeMethod · 0.80

Calls 4

acquireSpaceMethod · 0.80
getWorkingSpaceMethod · 0.80
printMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected