in-memory representation of a decision tree
More...
#include <tree.h>
in-memory representation of a decision tree
Definition at line 23 of file tree.h.
◆ AddChilds()
void AddChilds |
( |
int |
nid | ) |
|
|
inline |
add child nodes to node
- Parameters
-
nid | node id to add children to |
Definition at line 322 of file tree.h.
◆ operator[]() [1/2]
Node& operator[] |
( |
int |
nid | ) |
|
|
inline |
get node given nid
- Parameters
-
- Returns
- reference to node
Definition at line 300 of file tree.h.
◆ operator[]() [2/2]
const Node& operator[] |
( |
int |
nid | ) |
const |
|
inline |
get node given nid (const version)
- Parameters
-
- Returns
- const reference to node
Definition at line 308 of file tree.h.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/treelite/checkouts/0.90/include/treelite/tree.h