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

#include <cats_tree.h>

Public Member Functions

void build_tree (uint32_t num_nodes, uint32_t bandwidth)
 
uint32_t internal_node_count () const
 
uint32_t leaf_node_count () const
 
uint32_t depth () const
 
const tree_nodeget_sibling (const tree_node &v)
 
std::string tree_stats_to_string ()
 

Public Attributes

std::vector< tree_nodenodes
 
uint32_t root_idx = 0
 

Member Function Documentation

void VW::cats_tree::min_depth_binary_tree::build_tree ( uint32_t  num_nodes,
uint32_t  bandwidth 
)
uint32_t VW::cats_tree::min_depth_binary_tree::depth ( ) const
inline
const tree_node& VW::cats_tree::min_depth_binary_tree::get_sibling ( const tree_node v)
uint32_t VW::cats_tree::min_depth_binary_tree::internal_node_count ( ) const
inline
uint32_t VW::cats_tree::min_depth_binary_tree::leaf_node_count ( ) const
inline
std::string VW::cats_tree::min_depth_binary_tree::tree_stats_to_string ( )

Member Data Documentation

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

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