diff options
author | John Langford <jl@hunch.net> | 2014-04-23 02:50:14 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2014-04-23 02:50:14 +0400 |
commit | 8e652a9b5b59f723f32f98cf3c078e1b5ee8676c (patch) | |
tree | 33d629cddeced544410792c18a7321145deb128d /vowpalwabbit/cb.h | |
parent | 0e7a0da366d46f4acb4e051f7fcbf73dea9f5efb (diff) |
refactor problem types a bit
Diffstat (limited to 'vowpalwabbit/cb.h')
-rw-r--r-- | vowpalwabbit/cb.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/vowpalwabbit/cb.h b/vowpalwabbit/cb.h index 6298a4d6..5d9f419d 100644 --- a/vowpalwabbit/cb.h +++ b/vowpalwabbit/cb.h @@ -20,18 +20,7 @@ namespace CB { v_array<cb_class> costs; }; - size_t read_cached_label(shared_data* sd, void* v, io_buf& cache); - void cache_label(void* v, io_buf& cache); - void default_label(void* v); - void parse_label(parser* p, shared_data* sd, void* v, v_array<substring>& words); - void delete_label(void* v); - float weight(void* v); - void copy_label(void*&dst,void*src); - const label_parser cb_label_parser = {default_label, parse_label, - cache_label, read_cached_label, - delete_label, weight, - copy_label, - sizeof(label)}; + extern label_parser cb_label; } #endif |