in-memory representation of a decision tree
More...
#include <tree.h>
in-memory representation of a decision tree
Definition at line 19 of file tree.h.
void AddChilds |
( |
int |
nid | ) |
|
|
inline |
add child nodes to node
- Parameters
-
nid | node id to add children to |
Definition at line 244 of file tree.h.
Node& operator[] |
( |
int |
nid | ) |
|
|
inline |
get node given nid
- Parameters
-
- Returns
- reference to node
Definition at line 222 of file tree.h.
const Node& operator[] |
( |
int |
nid | ) |
const |
|
inline |
get node given nid (const version)
- Parameters
-
- Returns
- const reference to node
Definition at line 230 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.1rc1/include/treelite/tree.h