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

#include <ccb_label.h>

Public Member Functions

 ccb_label ()=default
 
 ccb_label (ccb_label &&other) noexcept
 
ccb_labeloperator= (ccb_label &&other) noexcept
 
 ccb_label (const ccb_label &other)
 
ccb_labeloperator= (const ccb_label &other)
 
 ~ccb_label ()
 
bool is_test_label () const
 
bool is_labeled () const
 
void reset_to_default ()
 

Public Attributes

ccb_example_type type = ccb_example_type::UNSET
 
ccb_outcomeoutcome = nullptr
 
VW::v_array< uint32_t > explicit_included_actions
 
float weight = 0.f
 

Constructor & Destructor Documentation

◆ ccb_label() [1/3]

VW::ccb_label::ccb_label ( )
default

◆ ccb_label() [2/3]

VW::ccb_label::ccb_label ( ccb_label &&  other)
noexcept

◆ ccb_label() [3/3]

VW::ccb_label::ccb_label ( const ccb_label other)

◆ ~ccb_label()

VW::ccb_label::~ccb_label ( )

Member Function Documentation

◆ is_labeled()

bool VW::ccb_label::is_labeled ( ) const

◆ is_test_label()

bool VW::ccb_label::is_test_label ( ) const

◆ operator=() [1/2]

ccb_label & VW::ccb_label::operator= ( ccb_label &&  other)
noexcept

◆ operator=() [2/2]

ccb_label & VW::ccb_label::operator= ( const ccb_label other)

◆ reset_to_default()

void VW::ccb_label::reset_to_default ( )

Member Data Documentation

◆ explicit_included_actions

VW::v_array<uint32_t> VW::ccb_label::explicit_included_actions

◆ outcome

ccb_outcome* VW::ccb_label::outcome = nullptr

◆ type

◆ weight

float VW::ccb_label::weight = 0.f

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