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

Method find

gecode/int/sorted/sortsup.hpp:188–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 }
187
188 forceinline int
189 OfflineMin::find(int x) {
190 while (sequence[x].parent != x) {
191 x = sequence[x].parent;
192 }
193 // x is now the root of the tree
194 // return the set, x belongs to
195 return sequence[x].name;
196 }
197
198 forceinline int
199 OfflineMin::find_pc(int x){

Callers 3

isInMethod · 0.45
choiceMethod · 0.45
choiceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected