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

Method overlap

gecode/int/no-overlap/box.hpp:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89 template<class Dim, int n>
90 forceinline bool
91 ManBox<Dim,n>::overlap(const ManBox<Dim,n>& box) const {
92 for (int i=0; i<n; i++)
93 if ((d[i].sec() <= box.d[i].lsc()) || (box.d[i].sec() <= d[i].lsc()))
94 return false;
95 return true;
96 }
97
98 template<class Dim, int n>
99 forceinline ExecStatus

Callers 1

opt.hppFile · 0.80

Calls 2

secMethod · 0.80
lscMethod · 0.80

Tested by

no test coverage detected