Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
Search::BaseTask Class Reference

#include <search.h>

Public Member Functions

 BaseTask (search *_sch, multi_ex &_ec)
 
BaseTaskforeach_action (void(*f)(search &, size_t, float, action, bool, float))
 
BaseTaskpost_prediction (void(*f)(search &, size_t, action, float))
 
BaseTaskmaybe_override_prediction (bool(*f)(search &, size_t, action &, float &))
 
BaseTaskwith_output_string (void(*f)(search &, std::stringstream &))
 
BaseTaskfinal_run ()
 
void Run ()
 

Public Attributes

searchsch
 
multi_exec
 
bool _final_run
 
void(* _foreach_action )(search &, size_t, float, action, bool, float)
 
void(* _post_prediction )(search &, size_t, action, float)
 
bool(* _maybe_override_prediction )(search &, size_t, action &, float &)
 
void(* _with_output_string )(search &, std::stringstream &)
 

Constructor & Destructor Documentation

Search::BaseTask::BaseTask ( search _sch,
multi_ex _ec 
)
inline

Member Function Documentation

BaseTask& Search::BaseTask::final_run ( )
inline
BaseTask& Search::BaseTask::foreach_action ( void(*)(search &, size_t, float, action, bool, float)  f)
inline
BaseTask& Search::BaseTask::maybe_override_prediction ( bool(*)(search &, size_t, action &, float &)  f)
inline
BaseTask& Search::BaseTask::post_prediction ( void(*)(search &, size_t, action, float)  f)
inline
void Search::BaseTask::Run ( )
BaseTask& Search::BaseTask::with_output_string ( void(*)(search &, std::stringstream &)  f)
inline

Member Data Documentation

bool Search::BaseTask::_final_run
void(* Search::BaseTask::_foreach_action) (search &, size_t, float, action, bool, float)
bool(* Search::BaseTask::_maybe_override_prediction) (search &, size_t, action &, float &)
void(* Search::BaseTask::_post_prediction) (search &, size_t, action, float)
void(* Search::BaseTask::_with_output_string) (search &, std::stringstream &)
multi_ex& Search::BaseTask::ec
search* Search::BaseTask::sch

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