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

Method value

contribs/quacode/examples/connect-four.cpp:567–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565};
566
567template <int N> int
568c4Heuristic<N>::value(const Space& _home, IntVar x, int) {
569 const ConnectFourAllState& home = static_cast<const ConnectFourAllState&>(_home);
570 return home.c4Heuristic(x,N);
571}
572
573const int ConnectFourAllState::Red;
574const int ConnectFourAllState::Black;

Callers 15

printStrategyMethod · 0.45
cutMethod · 0.45
fileMethod · 0.45
printStrategyMethod · 0.45
printBoardMethod · 0.45
printStrategyMethod · 0.45
fileMethod · 0.45
printStrategyMethod · 0.45
printStrategyMethod · 0.45
qConstraintMethod · 0.45
printStrategyMethod · 0.45
QCSPmodelMethod · 0.45

Calls 1

c4HeuristicMethod · 0.80

Tested by

no test coverage detected