Module gbdt::binary_tree

source ·
Expand description

This module implements a simple binary tree.

The tree supports inserting and retriving elements. Deleteing an element is not supported.

std::vec::Vec is used to implement the binary tree.

Structs§

Type Aliases§

  • The index to retrive the tree node. Always get the index value from BinaryTree APIs. Don’t directly assign a value to an index.