#include "osl/rating/featureSet.h"#include "osl/rating/ratingEnv.h"#include "osl/effect_util/effectUtil.h"#include "osl/state/numEffectState.h"#include "osl/stl/vector.h"#include "osl/record/csa.h"#include "osl/record/csaRecord.h"#include "osl/record/kisen.h"#include "osl/progress/effect5x3.h"#include "osl/stat/average.h"#include "osl/stat/histogram.h"#include <boost/program_options.hpp>#include <iostream>#include <cmath>
Go to the source code of this file.
Functions | |
| void | run (NumEffectState &state, const vector< Move > &moves) |
| void | show_statistics () |
| int | main (int argc, char **argv) |
| void | show (const NumEffectState &state, Move next) |
Variables | |
| size_t | num_kisen |
| size_t | opening_skip |
| size_t | target_limit |
| CArray< stat::Average, 8 > | top_rated |
| CArray< stat::Average, 8 > | active |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 26 of file topn.cc.
References kisen_filename, moves, num_kisen, opening_skip, run(), show_statistics(), store(), target_limit, and vm.
| void run | ( | NumEffectState & | state, |
| const vector< Move > & | moves | ||
| ) |
Definition at line 120 of file topn.cc.
References osl::alt(), opening_skip, and osl::record::csa::show().
| void show | ( | const NumEffectState & | state, |
| Move | next | ||
| ) |
Definition at line 96 of file topn.cc.
References active, osl::stat::Average::add(), feature_set(), osl::rating::FeatureSet::generateLogProb(), osl::MoveLogProb::logProb(), osl::rating::RatingEnv::make(), moves, target_limit, and top_rated.
| void show_statistics | ( | ) |
| CArray<stat::Average,8> active |
| CArray<stat::Average,8> top_rated |
1.8.4