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

Method sharing

gecode/int/count/view-base.hpp:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121 template<class VX, class VY, class VZ>
122 forceinline bool
123 ViewBase<VX,VY,VZ>::sharing(const ViewArray<VX>& x,
124 const VY& y, const VZ& z) {
125 if (shared(y,z))
126 return true;
127 for (int i=0; i<x.size(); i++)
128 if (shared(x[i],z))
129 return true;
130 return false;
131 }
132
133}}}
134

Callers

nothing calls this directly

Calls 2

sharedFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected