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

Method arg2BoolVar

gecode/flatzinc/flatzinc.cpp:2458–2468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2456 return ia;
2457 }
2458 BoolVar
2459 FlatZincSpace::arg2BoolVar(AST::Node* n) {
2460 BoolVar x0;
2461 if (n->isBool()) {
2462 x0 = BoolVar(*this, n->getBool(), n->getBool());
2463 }
2464 else {
2465 x0 = bv[n->getBoolVar()];
2466 }
2467 return x0;
2468 }
2469 IntVar
2470 FlatZincSpace::arg2IntVar(AST::Node* n) {
2471 IntVar x0;

Callers 15

p_int_CMP_reifFunction · 0.80
p_int_lin_CMP_reifFunction · 0.80
p_bool_lin_CMP_reifFunction · 0.80
p_bool_CMPFunction · 0.80
p_bool_CMP_reifFunction · 0.80
p_bool_or_impFunction · 0.80
p_bool_and_impFunction · 0.80
p_array_bool_and_impFunction · 0.80
p_array_bool_or_impFunction · 0.80
p_array_bool_xor_impFunction · 0.80
p_array_bool_clause_reifFunction · 0.80
p_array_bool_clause_impFunction · 0.80

Calls 4

isBoolMethod · 0.80
getBoolMethod · 0.80
getBoolVarMethod · 0.80
BoolVarClass · 0.50

Tested by

no test coverage detected