Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 059bd826b5
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (28 sloc) 0.948 kB
/*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved. Released under a BSD
license as described in the file LICENSE.
*/
#ifndef SEARN_SEQUENCETASK_H
#define SEARN_SEQUENCETASK_H
#include "oaa.h"
#include "parse_primitives.h"
#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);
}
#endif
Jump to Line
Something went wrong with that request. Please try again.