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

Function size

gecode/iter/ranges-operations.hpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72 template<class I>
73 inline unsigned int
74 size(I& i) {
75 unsigned int s = 0;
76 while (i()) {
77 s += i.width(); ++i;
78 }
79 return s;
80 }
81
82 template<class I, class J>
83 forceinline bool

Callers 15

TreeCanvasMethod · 0.50
layoutDoneMethod · 0.50
helpMethod · 0.50
parseMethod · 0.50
SetVarArrayMethod · 0.50
SetVarArgsMethod · 0.50
propagateMethod · 0.50
propagateMethod · 0.50
propagateMethod · 0.50
interCardFunction · 0.50
unionCardFunction · 0.50
unionNCardFunction · 0.50

Calls 2

iFunction · 0.70
widthMethod · 0.45

Tested by

no test coverage detected