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

#include <search.h>

Public Member Functions

 predictor (search &sch, ptag my_tag)
 
 ~predictor ()
 
predictorset_input (example &input_example)
 
predictorset_input (example *input_example, size_t input_length)
 
void set_input_length (size_t input_length)
 
void set_input_at (size_t posn, example &input_example)
 
predictorerase_oracles ()
 
predictorreset ()
 
predictoradd_oracle (action a)
 
predictoradd_oracle (action *a, size_t action_count)
 
predictoradd_oracle (v_array< action > &a)
 
predictorset_oracle (action a)
 
predictorset_oracle (action *a, size_t action_count)
 
predictorset_oracle (v_array< action > &a)
 
predictorset_weight (float w)
 
predictorerase_alloweds ()
 
predictoradd_allowed (action a)
 
predictoradd_allowed (action *a, size_t action_count)
 
predictoradd_allowed (v_array< action > &a)
 
predictorset_allowed (action a)
 
predictorset_allowed (action *a, size_t action_count)
 
predictorset_allowed (v_array< action > &a)
 
predictoradd_allowed (action a, float cost)
 
predictoradd_allowed (action *a, float *costs, size_t action_count)
 
predictoradd_allowed (std::vector< std::pair< action, float > > &a)
 
predictorset_allowed (action a, float cost)
 
predictorset_allowed (action *a, float *costs, size_t action_count)
 
predictorset_allowed (std::vector< std::pair< action, float > > &a)
 
predictoradd_condition (ptag tag, char name)
 
predictorset_condition (ptag tag, char name)
 
predictoradd_condition_range (ptag hi, ptag count, char name0)
 
predictorset_condition_range (ptag hi, ptag count, char name0)
 
predictorset_learner_id (size_t id)
 
predictorset_tag (ptag tag)
 
action predict ()
 

Constructor & Destructor Documentation

Search::predictor::predictor ( search sch,
ptag  my_tag 
)
Search::predictor::~predictor ( )

Member Function Documentation

predictor& Search::predictor::add_allowed ( action  a)
predictor& Search::predictor::add_allowed ( action a,
size_t  action_count 
)
predictor& Search::predictor::add_allowed ( v_array< action > &  a)
predictor& Search::predictor::add_allowed ( action  a,
float  cost 
)
predictor& Search::predictor::add_allowed ( action a,
float *  costs,
size_t  action_count 
)
predictor& Search::predictor::add_allowed ( std::vector< std::pair< action, float > > &  a)
predictor& Search::predictor::add_condition ( ptag  tag,
char  name 
)
predictor& Search::predictor::add_condition_range ( ptag  hi,
ptag  count,
char  name0 
)
predictor& Search::predictor::add_oracle ( action  a)
predictor& Search::predictor::add_oracle ( action a,
size_t  action_count 
)
predictor& Search::predictor::add_oracle ( v_array< action > &  a)
predictor& Search::predictor::erase_alloweds ( )
predictor& Search::predictor::erase_oracles ( )
action Search::predictor::predict ( )
predictor& Search::predictor::reset ( )
predictor& Search::predictor::set_allowed ( action  a)
predictor& Search::predictor::set_allowed ( action a,
size_t  action_count 
)
predictor& Search::predictor::set_allowed ( v_array< action > &  a)
predictor& Search::predictor::set_allowed ( action  a,
float  cost 
)
predictor& Search::predictor::set_allowed ( action a,
float *  costs,
size_t  action_count 
)
predictor& Search::predictor::set_allowed ( std::vector< std::pair< action, float > > &  a)
predictor& Search::predictor::set_condition ( ptag  tag,
char  name 
)
predictor& Search::predictor::set_condition_range ( ptag  hi,
ptag  count,
char  name0 
)
predictor& Search::predictor::set_input ( example input_example)
predictor& Search::predictor::set_input ( example input_example,
size_t  input_length 
)
void Search::predictor::set_input_at ( size_t  posn,
example input_example 
)
void Search::predictor::set_input_length ( size_t  input_length)
predictor& Search::predictor::set_learner_id ( size_t  id)
predictor& Search::predictor::set_oracle ( action  a)
predictor& Search::predictor::set_oracle ( action a,
size_t  action_count 
)
predictor& Search::predictor::set_oracle ( v_array< action > &  a)
predictor& Search::predictor::set_tag ( ptag  tag)
predictor& Search::predictor::set_weight ( float  w)

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