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

Method commit

gecode/kernel/branch/val-commit.hpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130 template<class View>
131 forceinline ModEvent
132 ValCommitFunction<View>::commit(Space& home, unsigned int a, View x, int i,
133 Val n) {
134 typename View::VarType y(x.varimp());
135 GECODE_VALID_FUNCTION(c());
136 c()(home,a,y,i,n);
137 return home.failed() ? ES_FAILED : ES_OK;
138 }
139 template<class View>
140 forceinline NGL*
141 ValCommitFunction<View>::ngl(Space&, unsigned int, View, Val) const {

Callers 1

val-commit.hppFile · 0.45

Calls 3

cFunction · 0.50
varimpMethod · 0.45
failedMethod · 0.45

Tested by

no test coverage detected