MCPcopy Create free account
hub / github.com/davisking/dlib / right_child

Function right_child

dlib/image_processing/shape_predictor.h:50–50  ·  view source on GitHub ↗

! ensures - returns the index of the left child of the binary tree node idx !*/

Source from the content-addressed store, hash-verified

48 - returns the index of the left child of the binary tree node idx
49 !*/
50 inline unsigned long right_child (unsigned long idx) { return 2*idx + 2; }
51 /*!
52 ensures
53 - returns the index of the left child of the binary tree node idx

Callers 2

regression_treeClass · 0.85
make_regression_treeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected