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

Function p_inverse_set

gecode/flatzinc/registry.cpp:2135–2141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2133 }
2134
2135 void p_inverse_set(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2136 int xoff = ce[2]->getInt();
2137 int yoff = ce[3]->getInt();
2138 SetVarArgs x = s.arg2setvarargs(ce[0],xoff);
2139 SetVarArgs y = s.arg2setvarargs(ce[1],yoff);
2140 channel(s, x, y);
2141 }
2142
2143 void p_precede_set(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2144 SetVarArgs x = s.arg2setvarargs(ce[0]);

Callers

nothing calls this directly

Calls 3

getIntMethod · 0.80
arg2setvarargsMethod · 0.80
channelFunction · 0.50

Tested by

no test coverage detected