diff options
author | Hal Daume III <me@hal3.name> | 2012-06-01 02:59:19 +0400 |
---|---|---|
committer | Hal Daume III <me@hal3.name> | 2012-06-01 02:59:19 +0400 |
commit | 82c2448ac85cbe3ffcb6ab8442279f7fbbb966f2 (patch) | |
tree | 5585be9fa46c8610c99ea745d3288aff885d5923 /vowpalwabbit/wap.h | |
parent | 7c628222add4cb9395d2d33eb6a3001e8cb2271d (diff) | |
parent | e9cee58cae120d044c764e13dc4590b6fe54d7b4 (diff) |
merged john
Diffstat (limited to 'vowpalwabbit/wap.h')
-rw-r--r-- | vowpalwabbit/wap.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/vowpalwabbit/wap.h b/vowpalwabbit/wap.h index 91f234ae..e30157eb 100644 --- a/vowpalwabbit/wap.h +++ b/vowpalwabbit/wap.h @@ -7,21 +7,17 @@ #include "example.h" #include "oaa.h" #include "csoaa.h" +#include "parse_args.h" namespace WAP { - void parse_flags(vw&, std::vector<std::string>&, size_t s, void (*base_l)(vw&, example*), void (*base_f)(vw&)); - void learn(vw&,example* ec); - void finish(vw&); - + void parse_flags(vw&, std::vector<std::string>&, po::variables_map& vm, size_t s); } namespace WAP_LDF { typedef OAA::mc_label label; - void parse_flags(vw&, std::vector<std::string>&, size_t s, void (*base_l)(vw&, example*), void (*base_f)(vw&)); + void parse_flags(vw&, std::vector<std::string>&, po::variables_map& vm, size_t s); void global_print_newline(); - void learn(vw&,example* ec); - void finish(vw&); const label_parser cs_label_parser = CSOAA_LDF::cs_label_parser; } |