diff options
author | Hal Daume III <me@hal3.name> | 2013-10-30 20:30:00 +0400 |
---|---|---|
committer | Hal Daume III <me@hal3.name> | 2013-10-30 20:30:00 +0400 |
commit | 6119b4ed6fa41a1e7f011a878341c1a094d8bdb1 (patch) | |
tree | b7cce771b0043277a4e86b540c0b9f8f6b449434 /vowpalwabbit/searn_sequencetask.h | |
parent | 854e2312fc16ad1527dddf550b4cd0b34a5a43cb (diff) |
removed old version of searn, renamed imperative searn to just be searn
Diffstat (limited to 'vowpalwabbit/searn_sequencetask.h')
-rw-r--r-- | vowpalwabbit/searn_sequencetask.h | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/vowpalwabbit/searn_sequencetask.h b/vowpalwabbit/searn_sequencetask.h index 692c8976..549ec2a1 100644 --- a/vowpalwabbit/searn_sequencetask.h +++ b/vowpalwabbit/searn_sequencetask.h @@ -11,27 +11,9 @@ license as described in the file LICENSE. #include "searn.h" namespace SequenceTask { - bool final(state); - float loss(state); - void step(state, action); - action oracle(state); - state copy(state); - void finish(state); - void start_state_multiline(example**, size_t, state*); - bool is_test_example(example**, size_t); - void cs_example(vw&, state, example*&, bool); - bool initialize(vw&,std::vector<std::string>&, po::variables_map&, po::variables_map&); - size_t hash(state); - bool equivalent(state, state); - std::string to_string(state, bool, std::vector<action>); - void cs_ldf_example(vw&, state, action, example*&, bool); - bool allowed(state, action); -} - -namespace SequenceTask_Easy { - void initialize(vw&, ImperativeSearn::searn&, size_t&, std::vector<std::string>&, po::variables_map&, po::variables_map&); - void finish(vw&, ImperativeSearn::searn&); - void structured_predict_v1(vw&, ImperativeSearn::searn&, example**,size_t,stringstream*,stringstream*); + void initialize(vw&, Searn::searn&, size_t&, std::vector<std::string>&, po::variables_map&, po::variables_map&); + void finish(vw&, Searn::searn&); + void structured_predict_v1(vw&, Searn::searn&, example**,size_t,stringstream*,stringstream*); } |