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

#include <cats_tree.h>

Public Member Functions

 tree_node (uint32_t node_id, uint32_t left_node_id, uint32_t right_node_id, uint32_t parent_id, uint32_t depth, bool left_only, bool right_only, bool is_leaf)
 
bool operator== (const tree_node &rhs) const
 
bool operator!= (const tree_node &rhs) const
 
bool is_root () const
 

Public Attributes

uint32_t id
 
uint32_t left_id
 
uint32_t right_id
 
uint32_t parent_id
 
uint32_t depth
 
bool left_only
 
bool right_only
 
bool is_leaf
 
uint32_t learn_count
 

Constructor & Destructor Documentation

VW::cats_tree::tree_node::tree_node ( uint32_t  node_id,
uint32_t  left_node_id,
uint32_t  right_node_id,
uint32_t  parent_id,
uint32_t  depth,
bool  left_only,
bool  right_only,
bool  is_leaf 
)

Member Function Documentation

bool VW::cats_tree::tree_node::is_root ( ) const
inline
bool VW::cats_tree::tree_node::operator!= ( const tree_node rhs) const
bool VW::cats_tree::tree_node::operator== ( const tree_node rhs) const
inline

Member Data Documentation

uint32_t VW::cats_tree::tree_node::depth
uint32_t VW::cats_tree::tree_node::id
bool VW::cats_tree::tree_node::is_leaf
uint32_t VW::cats_tree::tree_node::learn_count
uint32_t VW::cats_tree::tree_node::left_id
bool VW::cats_tree::tree_node::left_only
uint32_t VW::cats_tree::tree_node::parent_id
uint32_t VW::cats_tree::tree_node::right_id
bool VW::cats_tree::tree_node::right_only

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