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

Method solution

gecode/search/par/dfs.hpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 */
104 template<class Tracer>
105 forceinline void
106 DFS<Tracer>::solution(Space* s) {
107 m_search.acquire();
108 bool bs = signal();
109 solutions.push(s);
110 if (bs)
111 e_search.signal();
112 m_search.release();
113 }
114
115
116

Callers 1

runMethod · 0.45

Calls 4

acquireMethod · 0.45
pushMethod · 0.45
signalMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected