#include "osl/rating/featureSet.h"#include "osl/config.h"#include "osl/rating/group.h"#include "osl/rating/group/captureGroup.h"#include "osl/rating/group/escape.h"#include "osl/rating/group/squareGroup.h"#include "osl/rating/group/patternGroup.h"#include "osl/rating/group/bigramGroup.h"#include "osl/rating/group/king8Group.h"#include "osl/rating/group/checkmateGroup.h"#include "osl/rating/group/pinGroup.h"#include "osl/move_generator/allMoves.h"#include "osl/move_generator/escape_.h"#include "osl/move_classifier/moveAdaptor.h"#include "osl/move_classifier/safeMove.h"#include "osl/container/moveVector.h"#include "osl/stat/variance.h"#include "osl/oslConfig.h"#include <boost/format.hpp>#include <boost/foreach.hpp>#include <map>#include <iostream>#include <fstream>#include <sstream>#include <iomanip>#include <stdexcept>#include <cmath>
Go to the source code of this file.
Classes | |
| struct | osl::rating::FeatureSet::Statistics |
Functions | |
| int | make_prob (int score, int order, int limit, int highest, int progress8, bool in_pv_or_all) |
Variables | |
| const int | MinRating = -4000 |
| static const osl::CArray2d < int, 8, 20 > | order_to_depth |
| static const osl::CArray2d < int, 8, 20 > | order_to_width |
| const int | sc_width = 100 |
| const int | sc_length = 18 |
| const int | sc_start = -400 |
| static const osl::CArray2d < int, 8, sc_length > | score_to_depth |
| static const osl::CArray2d < int, 8, sc_length > | score_to_width |
| const int | rsc_length = 15 |
| static const osl::CArray2d < int, 8, rsc_length > | relative_score_to_depth |
| static const osl::CArray2d < int, 8, rsc_length > | relative_score_to_width |
| const int | max_score = 999 |
| const int | min_score = 0 |
| static const osl::CArray< int, 10 > | score_to_depth_takeback |
| static const osl::CArray< int, 10 > | score_to_depth_seeplus |
| static const osl::CArray< int, 10 > | score_to_depth_kingescape |
| static const osl::CArray2d < int, 8, 16 > | threshold |
|
inline |
Definition at line 303 of file rating/featureSet.cc.
References osl::eval::max(), osl::eval::min(), order_to_depth, order_to_width, relative_score_to_depth, relative_score_to_width, result, rsc_length, sc_length, sc_start, sc_width, score_to_depth, and score_to_width.
Referenced by osl::rating::FeatureSet::generateLogProb().
| const int max_score = 999 |
Definition at line 410 of file rating/featureSet.cc.
| const int min_score = 0 |
Definition at line 410 of file rating/featureSet.cc.
Referenced by osl::rating::FeatureSet::logProbKingEscape(), osl::rating::FeatureSet::logProbSeePlus(), and osl::rating::FeatureSet::logProbTakeBack().
| const int MinRating = -4000 |
Definition at line 38 of file rating/featureSet.cc.
Referenced by osl::rating::FeatureSet::generateRating(), and osl::rating::FeatureSet::makeRateWithCut().
|
static |
Definition at line 238 of file rating/featureSet.cc.
Referenced by make_prob().
|
static |
Definition at line 248 of file rating/featureSet.cc.
Referenced by make_prob().
|
static |
Definition at line 282 of file rating/featureSet.cc.
Referenced by make_prob().
|
static |
Definition at line 292 of file rating/featureSet.cc.
Referenced by make_prob().
| const int rsc_length = 15 |
Definition at line 281 of file rating/featureSet.cc.
Referenced by make_prob().
| const int sc_length = 18 |
Definition at line 259 of file rating/featureSet.cc.
Referenced by osl::rating::FeatureSet::logProbKingEscape(), osl::rating::FeatureSet::logProbSeePlus(), osl::rating::FeatureSet::logProbTakeBack(), and make_prob().
| const int sc_start = -400 |
Definition at line 259 of file rating/featureSet.cc.
Referenced by osl::rating::FeatureSet::logProbKingEscape(), osl::rating::FeatureSet::logProbSeePlus(), osl::rating::FeatureSet::logProbTakeBack(), and make_prob().
| const int sc_width = 100 |
Definition at line 259 of file rating/featureSet.cc.
Referenced by osl::RatingDiffRange::index(), osl::rating::FeatureSet::logProbKingEscape(), osl::rating::FeatureSet::logProbSeePlus(), osl::rating::FeatureSet::logProbTakeBack(), and make_prob().
|
static |
Definition at line 260 of file rating/featureSet.cc.
Referenced by osl::rating::FeatureSet::logProbKingEscape(), osl::rating::FeatureSet::logProbSeePlus(), osl::rating::FeatureSet::logProbTakeBack(), and make_prob().
|
static |
Definition at line 417 of file rating/featureSet.cc.
|
static |
Definition at line 414 of file rating/featureSet.cc.
|
static |
Definition at line 411 of file rating/featureSet.cc.
|
static |
Definition at line 270 of file rating/featureSet.cc.
Referenced by make_prob().
|
static |
Definition at line 520 of file rating/featureSet.cc.
Referenced by osl::search::CompactRecord::highFail(), osl::search::CompactRecord::lowFail(), main(), osl::checkmate::DfpnTable::List::smallTreeGC(), and osl::search::AlphaBeta2Tree< EvalT >::updateRootPV().
1.8.4