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

#include <quantile.h>

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

Public Member Functions

 QEntry ()=default
 
 QEntry (DType value, RType weight)
 
bool operator< (const QEntry &b) const
 

Public Attributes

DType value
 
RType weight
 

Constructor & Destructor Documentation

◆ QEntry() [1/2]

template<typename DType , typename RType >
xgboost::common::WQSummary< DType, RType >::Queue::QEntry::QEntry ( )
default

◆ QEntry() [2/2]

template<typename DType , typename RType >
xgboost::common::WQSummary< DType, RType >::Queue::QEntry::QEntry ( DType  value,
RType  weight 
)
inline

Member Function Documentation

◆ operator<()

template<typename DType , typename RType >
bool xgboost::common::WQSummary< DType, RType >::Queue::QEntry::operator< ( const QEntry b) const
inline

Member Data Documentation

◆ value

template<typename DType , typename RType >
DType xgboost::common::WQSummary< DType, RType >::Queue::QEntry::value

◆ weight

template<typename DType , typename RType >
RType xgboost::common::WQSummary< DType, RType >::Queue::QEntry::weight

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