MCPcopy Create free account
hub / github.com/Gecode/gecode / operator ++

Method operator ++

gecode/iter/ranges-append.hpp:114–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112
113 template<class I, class J>
114 inline void
115 Append<I,J>::operator ++(void) {
116 if (i()) {
117 mi = i.min(); ma = i.max();
118 ++i;
119 if (!i() && j() && (j.min() == ma+1)) {
120 ma = j.max();
121 ++j;
122 }
123 } else if (j()) {
124 mi = j.min(); ma = j.max();
125 ++j;
126 } else {
127 finish();
128 }
129 }
130
131
132 template<class I, class J>

Callers

nothing calls this directly

Calls 4

jFunction · 0.85
iFunction · 0.70
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected