MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / getLabel

Method getLabel

cp-profiler/src/cpprofiler/tree/node_tree.cpp:274–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274const Label NodeTree::getLabel(NodeID nid) const
275{
276 // return std::to_string(nid);
277
278 // auto uid = solver_data_->getSolverID(nid);
279 // return uid.toString();
280
281 auto &orig = labels_.at(nid);
282 if (name_map_)
283 {
284 return name_map_->replaceNames(orig);
285 }
286 return orig;
287}
288
289const Nogood &NodeTree::getNogood(NodeID nid) const
290{

Callers 8

save_nodesFunction · 0.80
saveSearchMethod · 0.80
compareNodesFunction · 0.80
copy_tree_intoFunction · 0.80
runMethod · 0.80
labelPathFunction · 0.80
processCurrentNodeMethod · 0.80
calculateForSingleNodeFunction · 0.80

Calls 1

replaceNamesMethod · 0.80

Tested by

no test coverage detected