Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ optional
Function
optional
gecode/int/no-overlap.cpp:40–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
namespace Int { namespace NoOverlap {
39
40
bool
41
optional(const BoolVarArgs& m) {
42
for (int i=0; i<m.size(); i++)
43
if (m[i].none())
44
return true;
45
return false;
46
}
47
48
}}
49
Callers
1
nooverlap
Function · 0.85
Calls
2
size
Method · 0.45
none
Method · 0.45
Tested by
no test coverage detected