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

Method getSpace

gecode/gist/spacenode.hpp:97–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 forceinline Space*
98 SpaceNode::getSpace(NodeAllocator& na,
99 BestNode* curBest, int c_d, int a_d) {
100 acquireSpace(na,curBest,c_d,a_d);
101 Space* ret;
102 if (Support::marked(copy)) {
103 ret = static_cast<Space*>(Support::unmark(copy));
104 copy = nullptr;
105 } else {
106 ret = copy->clone();
107 }
108 return ret;
109 }
110
111 forceinline const Space*
112 SpaceNode::getWorkingSpace(void) const {

Callers 4

inspectCurrentNodeMethod · 0.45
resetMethod · 0.45
setCurrentNodeMethod · 0.45
mousePressEventMethod · 0.45

Calls 3

markedFunction · 0.85
unmarkFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected