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

Function iv

gecode/int/element/int.hpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 // Index iterator
51 template<class V0, class V1, class Idx, class Val>
52 forceinline
53 Int<V0,V1,Idx,Val>::IterIdxUnmark::IterIdxUnmark(IdxVal* iv0)
54 : iv(iv0) {
55 Idx p=0;
56 i = iv[p].idx_next;
57 while ((i != 0) && iv[i].marked())
58 i=iv[i].idx_next;
59 iv[p].idx_next=i;
60 }
61 template<class V0, class V1, class Idx, class Val>
62 forceinline bool
63 Int<V0,V1,Idx,Val>::IterIdxUnmark::operator ()(void) const {

Callers 2

choiceMethod · 0.85
prune_lowerMethod · 0.85

Calls 1

markedMethod · 0.45

Tested by

no test coverage detected