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

Method commit

gecode/int/branch/val-commit.hpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 : ValCommit<View,int>(home,vc) {}
45 template<class View>
46 forceinline ModEvent
47 ValCommitEq<View>::commit(Space& home, unsigned int a, View x, int, int n) {
48 return (a == 0) ? x.eq(home,n) : x.nq(home,n);
49 }
50 template<class View>
51 forceinline NGL*
52 ValCommitEq<View>::ngl(Space& home, unsigned int a, View x, int n) const {

Callers

nothing calls this directly

Calls 6

eqMethod · 0.45
nqMethod · 0.45
lqMethod · 0.45
grMethod · 0.45
gqMethod · 0.45
leMethod · 0.45

Tested by

no test coverage detected