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

Function inter

gecode/minimodel/set-expr.cpp:695–703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693 }
694
695 SetExpr
696 inter(const SetVarArgs& x) {
697 if (x.size() == 0)
698 return SetExpr(IntSet(Set::Limits::min,Set::Limits::max));
699 SetExpr r(x[0]);
700 for (int i=1; i<x.size(); i++)
701 r = (r & x[i]);
702 return r;
703 }
704 SetExpr
705 setunion(const SetVarArgs& x) {
706 if (x.size() == 0)

Callers 15

pruneMethod · 0.85
disabledMethod · 0.85
solutionMethod · 0.85
solMethod · 0.85
solutionMethod · 0.85
solMethod · 0.85
solutionMethod · 0.85
solMethod · 0.85
solutionMethod · 0.85
solMethod · 0.85
solutionMethod · 0.85
solutionMethod · 0.85

Calls 3

SetExprClass · 0.85
IntSetClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected