Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
VW::offset_tree::min_depth_binary_tree Struct Reference

#include <offset_tree.h>

Public Member Functions

void build_tree (uint32_t num_nodes)
 
uint32_t internal_node_count () const
 
uint32_t leaf_node_count () const
 

Public Attributes

std::vector< tree_nodenodes
 
uint32_t root_idx = 0
 

Member Function Documentation

void VW::offset_tree::min_depth_binary_tree::build_tree ( uint32_t  num_nodes)
uint32_t VW::offset_tree::min_depth_binary_tree::internal_node_count ( ) const
inline
uint32_t VW::offset_tree::min_depth_binary_tree::leaf_node_count ( ) const
inline

Member Data Documentation

std::vector<tree_node> VW::offset_tree::min_depth_binary_tree::nodes
uint32_t VW::offset_tree::min_depth_binary_tree::root_idx = 0

The documentation for this struct was generated from the following file: