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

Function setunion

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

Source from the content-addressed store, hash-verified

702 return r;
703 }
704 SetExpr
705 setunion(const SetVarArgs& x) {
706 if (x.size() == 0)
707 return SetExpr(IntSet::empty);
708 SetExpr r(x[0]);
709 for (int i=1; i<x.size(); i++)
710 r = (r | x[i]);
711 return r;
712 }
713 SetExpr
714 setdunion(const SetVarArgs& x) {
715 if (x.size() == 0)

Callers

nothing calls this directly

Calls 2

SetExprClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected