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

Method purge

gecode/int/view-val-graph/graph.hpp:129–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128 template<class View>
129 forceinline void
130 Graph<View>::purge(void) {
131 if (count > (UINT_MAX >> 1)) {
132 count = 1;
133 for (int i=0; i<n_view; i++)
134 view[i]->min = 0;
135 for (ValNode<View>* v = val; v != nullptr; v = v->next_val())
136 v->min = 0;
137 }
138 }
139
140 template<class View>
141 forceinline void

Callers 2

prune_upperMethod · 0.45
syncMethod · 0.45

Calls 1

next_valMethod · 0.80

Tested by

no test coverage detected