diff options
author | John Langford <jl@hunch.net> | 2012-05-30 02:04:27 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2012-05-30 02:04:27 +0400 |
commit | 6dc3ddde0555059b334e9688552d2d419b07e330 (patch) | |
tree | 85491cfaddffb68e440044a959f717572f667f41 /vowpalwabbit/wap.h | |
parent | 463f02e4a6b0a4be4bfa8f8e35facc26e4cbdc62 (diff) |
nearly all state now addressable
Diffstat (limited to 'vowpalwabbit/wap.h')
-rw-r--r-- | vowpalwabbit/wap.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vowpalwabbit/wap.h b/vowpalwabbit/wap.h index ace2a870..e040489d 100644 --- a/vowpalwabbit/wap.h +++ b/vowpalwabbit/wap.h @@ -9,19 +9,19 @@ #include "csoaa.h" namespace WAP { - void parse_flags(size_t s, void (*base_l)(example*), void (*base_f)()); - void learn(example* ec); - void finish(); + void parse_flags(vw&, size_t s, void (*base_l)(vw&, example*), void (*base_f)(vw&)); + void learn(vw&,example* ec); + void finish(vw&); } namespace WAP_LDF { typedef OAA::mc_label label; - void parse_flags(size_t s, void (*base_l)(example*), void (*base_f)()); + void parse_flags(vw&, size_t s, void (*base_l)(vw&, example*), void (*base_f)(vw&)); void global_print_newline(); - void learn(example* ec); - void finish(); + void learn(vw&,example* ec); + void finish(vw&); const label_parser cs_label_parser = CSOAA_LDF::cs_label_parser; } |