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

Method left

gecode/int/task/tree.hpp:77–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76 template<class TaskView, class Node>
77 forceinline bool
78 TaskTree<TaskView,Node>::left(int i) {
79 assert(!n_root(i));
80 // A left node has an odd number
81 return (i & 1) != 0;
82 }
83 template<class TaskView, class Node>
84 forceinline int
85 TaskTree<TaskView,Node>::n_right(int i) {

Callers 1

ExecStatus edgefindingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected