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

Method dirtyUp

gecode/gist/visualnode.cpp:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void
102 VisualNode::dirtyUp(const NodeAllocator& na) {
103 VisualNode* cur = this;
104 while (!cur->isDirty()) {
105 cur->setDirty(true);
106 if (! cur->isRoot()) {
107 cur = cur->getParent(na);
108 }
109 }
110 }
111
112 void
113 VisualNode::layout(const NodeAllocator& na) {

Callers 5

processCurrentNodeMethod · 0.80
runMethod · 0.80
inspectCurrentNodeMethod · 0.80
bookmarkNodeMethod · 0.80
setPathMethod · 0.80

Calls 4

isDirtyMethod · 0.80
setDirtyMethod · 0.80
isRootMethod · 0.80
getParentMethod · 0.80

Tested by

no test coverage detected