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

Method post

gecode/int/rel/lq-le.hpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48 template<class V0, class V1>
49 ExecStatus
50 Lq<V0,V1>::post(Home home, V0 x0, V1 x1) {
51 GECODE_ME_CHECK(x0.lq(home,x1.max()));
52 GECODE_ME_CHECK(x1.gq(home,x0.min()));
53 if ((x0 != x1) && (x0.max() > x1.min()))
54 (void) new (home) Lq<V0,V1>(home,x0,x1);
55 return ES_OK;
56 }
57
58 template<class V0, class V1>
59 forceinline

Callers

nothing calls this directly

Calls 15

drop_fstMethod · 0.80
drop_lstMethod · 0.80
postFunction · 0.50
rtest_lqFunction · 0.50
lqMethod · 0.45
maxMethod · 0.45
gqMethod · 0.45
minMethod · 0.45
leMethod · 0.45
grMethod · 0.45
sameMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected