All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Typedefs | Functions | Variables
openingStatistics.cc File Reference
#include "osl/move.h"
#include "osl/eval/pieceEval.h"
#include "osl/hash/hashKey.h"
#include "osl/misc/math.h"
#include "osl/record/csa.h"
#include "osl/record/csaRecord.h"
#include "osl/record/kanjiPrint.h"
#include "osl/record/record.h"
#include "osl/record/opening/openingBook.h"
#include "osl/search/fixedEval.h"
#include "osl/search/quiescenceSearch2.h"
#include "osl/search/quiescenceSearch2.tcc"
#include "osl/search/simpleHashTable.h"
#include "osl/state/numEffectState.h"
#include "osl/stl/vector.h"
#include <boost/format.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <boost/program_options.hpp>
#include <boost/progress.hpp>
#include <boost/shared_ptr.hpp>
#include <deque>
#include <iostream>
#include <vector>
Include dependency graph for openingStatistics.cc:

Go to the source code of this file.

Typedefs

typedef std::vector
< osl::record::opening::WMove
WMoveContainer
 

Functions

int qsearch (const osl::state::SimpleState &s, const osl::Move &lastMove)
 qsearch More...
 
void showStatistics (const std::deque< int > &src)
 
void printUsage (std::ostream &out, char **argv, const boost::program_options::options_description &command_line_options)
 
void showInfoOfState (osl::record::opening::WeightedBook &book, const int state_index)
 
void doMain (const std::string &file_name)
 
int main (int argc, char **argv)
 

Variables

bp::variables_map vm
 
osl::Player the_player = osl::BLACK
 
bool is_dump = false
 
int error_threshold = 500
 
int is_determinate = 0
 
int max_depth
 
int non_determinate_depth
 
double ratio
 
bool is_quick = false
 
boost::shared_ptr
< osl::NumEffectState > 
state_to_compare
 
size_t state_count = 0
 

Typedef Documentation

Definition at line 31 of file openingStatistics.cc.

Function Documentation

void doMain ( const std::string &  file_name)
int main ( int  argc,
char **  argv 
)
void printUsage ( std::ostream &  out,
char **  argv,
const boost::program_options::options_description &  command_line_options 
)

Definition at line 76 of file openingStatistics.cc.

int qsearch ( const osl::state::SimpleState s,
const osl::Move lastMove 
)

qsearch

Parameters
sstate
lastMove
Returns
evaluation value

Definition at line 51 of file openingStatistics.cc.

References is_quick, and osl::state::SimpleState::turn().

void showInfoOfState ( osl::record::opening::WeightedBook book,
const int  state_index 
)
void showStatistics ( const std::deque< int > &  src)

Definition at line 66 of file openingStatistics.cc.

References osl::misc::computeStats().

Referenced by doMain(), and osl::rating::FeatureSet::~FeatureSet().

Variable Documentation

int error_threshold = 500

Definition at line 35 of file openingStatistics.cc.

Referenced by doMain(), and main().

int is_determinate = 0

Definition at line 36 of file openingStatistics.cc.

bool is_dump = false

Definition at line 34 of file openingStatistics.cc.

Referenced by doMain(), and main().

bool is_quick = false

Definition at line 39 of file openingStatistics.cc.

Referenced by main(), and qsearch().

int max_depth

Definition at line 37 of file openingStatistics.cc.

int non_determinate_depth

Definition at line 37 of file openingStatistics.cc.

double ratio

Definition at line 38 of file openingStatistics.cc.

size_t state_count = 0

Definition at line 42 of file openingStatistics.cc.

boost::shared_ptr<osl::NumEffectState> state_to_compare

Definition at line 41 of file openingStatistics.cc.

Referenced by doMain(), and main().

osl::Player the_player = osl::BLACK

Definition at line 33 of file openingStatistics.cc.

bp::variables_map vm

Definition at line 29 of file openingStatistics.cc.

Referenced by doMain(), main(), and process().