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

Function rel

gecode/set/rel-op-const-cvc.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 using namespace Gecode::Set::RelOp;
45
46 void
47 rel(Home home, const IntSet& x, SetOpType op, SetVar y, SetRelType r,
48 const IntSet& z) {
49 Set::Limits::check(x, "Set::rel");
50 Set::Limits::check(z, "Set::rel");
51 ConstSetView xv(home, x);
52 ConstSetView zv(home, z);
53 if (r == SRT_CMPL) {
54 post_compl(home, xv, op, y, zv);
55 } else {
56 post_nocompl(home, xv, op, y, r, zv);
57 }
58 }
59
60}
61

Callers

nothing calls this directly

Calls 3

checkFunction · 0.50
post_complFunction · 0.50
post_nocomplFunction · 0.50

Tested by

no test coverage detected