Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
VW::reductions::offset_tree::tree_node Class Reference

#include <offset_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, bool is_leaf)
 
bool operator== (const tree_node &rhs) const
 
bool operator!= (const tree_node &rhs) const
 

Public Attributes

uint32_t id
 
uint32_t left_id
 
uint32_t right_id
 
uint32_t parent_id
 
bool is_leaf
 

Constructor & Destructor Documentation

◆ tree_node()

VW::reductions::offset_tree::tree_node::tree_node ( uint32_t  node_id,
uint32_t  left_node_id,
uint32_t  right_node_id,
uint32_t  parent_id,
bool  is_leaf 
)

Member Function Documentation

◆ operator!=()

bool VW::reductions::offset_tree::tree_node::operator!= ( const tree_node rhs) const

◆ operator==()

bool VW::reductions::offset_tree::tree_node::operator== ( const tree_node rhs) const

Member Data Documentation

◆ id

uint32_t VW::reductions::offset_tree::tree_node::id

◆ is_leaf

bool VW::reductions::offset_tree::tree_node::is_leaf

◆ left_id

uint32_t VW::reductions::offset_tree::tree_node::left_id

◆ parent_id

uint32_t VW::reductions::offset_tree::tree_node::parent_id

◆ right_id

uint32_t VW::reductions::offset_tree::tree_node::right_id

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