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

Function bool_test

gecode/int/view/bool-test.hpp:40–43  ·  view source on GitHub ↗

* Test sharing between Boolean and negated Boolean views * */

Source from the content-addressed store, hash-verified

38 *
39 */
40 forceinline BoolTest
41 bool_test(const BoolView& b0, const BoolView& b1) {
42 return (b0 == b1) ? BT_SAME : BT_NONE;
43 }
44 forceinline BoolTest
45 bool_test(const BoolView& b0, const NegBoolView& b1) {
46 return (b0 == b1.base()) ? BT_COMP : BT_NONE;

Callers 10

postMethod · 0.85
postMethod · 0.85
postMethod · 0.85
propagateMethod · 0.85
postMethod · 0.85
postMethod · 0.85
postMethod · 0.85
propagateMethod · 0.85
postMethod · 0.85
postMethod · 0.85

Calls 1

baseMethod · 0.45

Tested by

no test coverage detected