All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions | Variables
probability.cc File Reference
#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/kisen.h"
#include "osl/progress/effect5x3.h"
#include "osl/stat/average.h"
#include "osl/stat/histogram.h"
#include <iostream>
#include <cmath>
Include dependency graph for probability.cc:

Go to the source code of this file.

Functions

void show (const NumEffectState &, Move, const progress::Effect5x3 &progress)
 
void show_statistics ()
 
int main ()
 
vector< double > rating_to_probability (const RatedMoveVector &moves)
 

Variables

int verbose = 0
 
const char * kisen_filename ="0.kif"
 
size_t num_kisen = 4096
 
double verbose_limit = 0
 
stat::Average top_rated [16]
 
stat::Histogram histogram (1, 10, 0, true)
 

Function Documentation

int main ( )
vector<double> rating_to_probability ( const RatedMoveVector moves)

Definition at line 52 of file probability.cc.

References result.

Referenced by show().

void show ( const NumEffectState &  state,
Move  next,
const progress::Effect5x3 progress 
)
void show_statistics ( )

Definition at line 96 of file probability.cc.

References top_rated.

Referenced by main().

Variable Documentation

stat::Histogram histogram(1, 10, 0, true)

Referenced by show().

const char* kisen_filename ="0.kif"
size_t num_kisen = 4096

Definition at line 20 of file probability.cc.

Referenced by main().

stat::Average top_rated[16]

Definition at line 63 of file probability.cc.

Referenced by show(), and show_statistics().

int verbose = 0

Definition at line 18 of file probability.cc.

double verbose_limit = 0

Definition at line 21 of file probability.cc.

Referenced by show().