#include <boss_cartreader.h>
Public Member Functions | |
BOSS_CartReader (string file) | |
BOSS_CartReader constructor. | |
CART_node * | Classify (FMap &features) const |
Classification: Classify expects a map of feature names and associated values and returns the appropriate leaf of the tree. | |
~BOSS_CartReader () | |
BOSS_CartReader destructor. | |
Private Member Functions | |
CART_node * | LoadTree (ifstream &source) |
Loads cart reader tree. | |
void | DelTree (CART_node *cur) |
Deletion of the CART tree. | |
void | PrintTree (CART_node *cur) const |
Full tree search with output of the nodes. | |
Private Attributes | |
CART_node * | root |
|
|