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

Function p_set_OP

gecode/flatzinc/registry.cpp:1856–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1854
1855#ifdef GECODE_HAS_SET_VARS
1856 void p_set_OP(FlatZincSpace& s, SetOpType op,
1857 const ConExpr& ce, AST::Node *) {
1858 rel(s, s.arg2SetVar(ce[0]), op, s.arg2SetVar(ce[1]),
1859 SRT_EQ, s.arg2SetVar(ce[2]));
1860 }
1861 void p_set_union(FlatZincSpace& s, const ConExpr& ce, AST::Node *ann) {
1862 p_set_OP(s, SOT_UNION, ce, ann);
1863 }

Callers 3

p_set_unionFunction · 0.85
p_set_intersectFunction · 0.85
p_set_diffFunction · 0.85

Calls 2

arg2SetVarMethod · 0.80
relFunction · 0.50

Tested by

no test coverage detected