[][src]Module gbdt::binary_tree

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

BinaryTree

The binary tree.

BinaryTreeNode

Node of the binary tree.

Type Definitions

TreeIndex

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