Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
tree_node.h File Reference
#include <tuple>
#include <unordered_map>
#include "../init.h"
#include "../data/data.h"
#include "node.h"
#include "functions.h"
#include "nodetype.h"
#include "../../thirdparty/tree.hh"
#include "dispatch_table.h"
Include dependency graph for tree_node.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tree_node_< Node >
 tree node specialization for Node. More...
 

Typedefs

using TreeNode = class tree_node_<Node>
 

Functions

void to_json (json &j, const tree< Node > &t)
 
void from_json (const json &j, tree< Node > &t)
 load a tree from json. uses a stack.
 

Typedef Documentation

◆ TreeNode

Definition at line 56 of file tree_node.h.

Function Documentation

◆ from_json()

void from_json ( const json & j,
tree< Node > & t )

load a tree from json. uses a stack.

Parameters
jjson version of tree.
ttree into which data is loaded.

Definition at line 58 of file tree_node.cpp.

Here is the call graph for this function:

◆ to_json()

void to_json ( json & j,
const tree< Node > & t )

Definition at line 45 of file tree_node.cpp.

Here is the call graph for this function: