Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Public Member Functions
xgboost::common::RowSetCollection Class Reference

collection of rowset More...

#include <row_set.h>

Data Structures

struct  Elem
 data structure to store an instance set, a subset of rows (instances) associated with a particular node in a decision tree. More...
 

Public Member Functions

 RowSetCollection (RowSetCollection const &)=delete
 
 RowSetCollection (RowSetCollection &&)=default
 
RowSetCollectionoperator= (RowSetCollection const &)=delete
 
RowSetCollectionoperator= (RowSetCollection &&)=default
 
std::vector< Elem >::const_iterator begin () const
 
std::vector< Elem >::const_iterator end () const
 
size_t Size () const
 
const Elemoperator[] (unsigned node_id) const
 return corresponding element set given the node_id
 
Elemoperator[] (unsigned node_id)
 return corresponding element set given the node_id
 
void Clear ()
 
void Init ()
 
std::vector< size_t > * Data ()
 
std::vector< size_t > const * Data () const
 
void AddSplit (unsigned node_id, unsigned left_node_id, unsigned right_node_id, size_t n_left, size_t n_right)
 

Detailed Description

collection of rowset


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