Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
Search::action_cache Struct Reference

Public Member Functions

 action_cache (float _min_cost, action _k, bool _is_opt, float _cost)
 

Public Attributes

float min_cost
 
action k
 
bool is_opt
 
float cost
 

Detailed Description

Definition at line 120 of file search.cc.

Constructor & Destructor Documentation

◆ action_cache()

Search::action_cache::action_cache ( float  _min_cost,
action  _k,
bool  _is_opt,
float  _cost 
)
inline

Definition at line 126 of file search.cc.

127  : min_cost(_min_cost), k(_k), is_opt(_is_opt), cost(_cost)
128  {
129  }

Member Data Documentation

◆ cost

float Search::action_cache::cost

◆ is_opt

bool Search::action_cache::is_opt

◆ k

action Search::action_cache::k

◆ min_cost

float Search::action_cache::min_cost

Definition at line 122 of file search.cc.

Referenced by Search::foreach_action_from_cache(), and Search::single_prediction_LDF().


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