#include <bradleyTerry.h>
Definition at line 13 of file bradleyTerry.h.
◆ valarray_t
◆ BradleyTerry()
osl::rating::BradleyTerry::BradleyTerry |
( |
FeatureSet & |
features, |
|
|
const std::string & |
kisen_file, |
|
|
int |
kisen_start = 0 |
|
) |
| |
◆ ~BradleyTerry()
osl::rating::BradleyTerry::~BradleyTerry |
( |
| ) |
|
◆ accumulate()
size_t osl::rating::BradleyTerry::accumulate |
( |
size_t |
g, |
|
|
size_t |
first, |
|
|
size_t |
last, |
|
|
valarray_t & |
wins, |
|
|
std::valarray< long double > & |
denominator |
|
) |
| const |
|
private |
Definition at line 98 of file bradleyTerry.cc.
References addSquare(), osl::BLACK, osl::checkmate::ImmediateCheckmate::hasCheckmateMove(), osl::NumEffectState::inCheck(), osl::record::KisenFile::initialState(), osl::record::KisenFile::ipxFileName(), osl::rating::BradleyTerry::Thread::last, osl::rating::RatingEnv::make(), osl::NumEffectState::makeMove(), osl::record::KisenFile::moves(), osl::record::KisenIpxFile::rating(), osl::rating::BradleyTerry::Thread::skip, osl::SimpleState::turn(), osl::rating::RatingEnv::update(), and osl::WHITE.
Referenced by osl::rating::BradleyTerry::Thread::operator()(), and update().
◆ addSquare()
bool osl::rating::BradleyTerry::addSquare |
( |
size_t |
g, |
|
|
const NumEffectState & |
state, |
|
|
const RatingEnv & |
env, |
|
|
Move |
selected, |
|
|
valarray_t & |
wins, |
|
|
std::valarray< long double > & |
denominator |
|
) |
| const |
|
private |
◆ iterate()
void osl::rating::BradleyTerry::iterate |
( |
| ) |
|
◆ setFixGroup()
void osl::rating::BradleyTerry::setFixGroup |
( |
int |
new_fix_group | ) |
|
|
inline |
◆ setMinRating()
void osl::rating::BradleyTerry::setMinRating |
( |
int |
new_min | ) |
|
|
inline |
◆ setNumCpus()
void osl::rating::BradleyTerry::setNumCpus |
( |
int |
new_num_cpus | ) |
|
|
inline |
◆ setNumRecords()
void osl::rating::BradleyTerry::setNumRecords |
( |
size_t |
new_num_records | ) |
|
|
inline |
◆ setOutputDirectory()
void osl::rating::BradleyTerry::setOutputDirectory |
( |
const std::string & |
new_output | ) |
|
|
inline |
◆ setVerbose()
void osl::rating::BradleyTerry::setVerbose |
( |
int |
new_verbose | ) |
|
|
inline |
◆ update()
void osl::rating::BradleyTerry::update |
( |
size_t |
g | ) |
|
|
private |
◆ Thread
◆ features
◆ fix_group
int osl::rating::BradleyTerry::fix_group |
|
private |
◆ kisen_filename
std::string osl::rating::BradleyTerry::kisen_filename |
|
private |
◆ kisen_start
int osl::rating::BradleyTerry::kisen_start |
|
private |
◆ min_rating
size_t osl::rating::BradleyTerry::min_rating |
|
private |
◆ num_cpus
size_t osl::rating::BradleyTerry::num_cpus |
|
private |
◆ num_records
size_t osl::rating::BradleyTerry::num_records |
|
private |
◆ output_directory
std::string osl::rating::BradleyTerry::output_directory |
|
private |
◆ verbose
int osl::rating::BradleyTerry::verbose |
|
private |
The documentation for this class was generated from the following files: