xgboost
Public Member Functions | Public Attributes | List of all members
xgboost::common::GKSummary< DType, RType >::Queue Struct Reference

input data queue before entering the summary More...

#include <quantile.h>

Collaboration diagram for xgboost::common::GKSummary< DType, RType >::Queue:
Collaboration graph

Public Member Functions

void Push (DType x, RType w)
 
void MakeSummary (GKSummary *out)
 

Public Attributes

std::vector< DType > queue
 
size_t qtail
 

Detailed Description

template<typename DType, typename RType>
struct xgboost::common::GKSummary< DType, RType >::Queue

input data queue before entering the summary

Member Function Documentation

◆ MakeSummary()

template<typename DType , typename RType >
void xgboost::common::GKSummary< DType, RType >::Queue::MakeSummary ( GKSummary out)
inline

◆ Push()

template<typename DType , typename RType >
void xgboost::common::GKSummary< DType, RType >::Queue::Push ( DType  x,
RType  w 
)
inline

Member Data Documentation

◆ qtail

template<typename DType , typename RType >
size_t xgboost::common::GKSummary< DType, RType >::Queue::qtail

◆ queue

template<typename DType , typename RType >
std::vector<DType> xgboost::common::GKSummary< DType, RType >::Queue::queue

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