Public Types | |
| enum | { MAX_LEVEL = 99, MAX_DEPTH = 999 } |
| typedef boost::multi_array < unsigned int, 3 > | array_t |
Public Member Functions | |
| Result () | |
| void | add (const unsigned int depth, const unsigned int level, const bool win) |
| bool | printAtDepth (std::ostream &out, const unsigned int depth) const |
| void | printByLevel (std::ostream &out) const |
| void | printByDepth (std::ostream &out) const |
| void | showLevels (std::ostream &out, std::vector< WinLoss > &vector) const |
Public Attributes | |
| array_t | winloss |
| unsigned int | top_level |
| unsigned int | top_depth |
Definition at line 56 of file win-rate-openingbook-weight-level.cc.
| typedef boost::multi_array<unsigned int, 3> Result::array_t |
Definition at line 61 of file win-rate-openingbook-weight-level.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| MAX_LEVEL | |
| MAX_DEPTH | |
Definition at line 58 of file win-rate-openingbook-weight-level.cc.
|
inline |
Definition at line 66 of file win-rate-openingbook-weight-level.cc.
|
inline |
Definition at line 71 of file win-rate-openingbook-weight-level.cc.
References depth, osl::eval::max(), and winloss().
Referenced by increment(), and osl::PieceStand::nextStand().
| bool Result::printAtDepth | ( | std::ostream & | out, |
| const unsigned int | depth | ||
| ) | const |
Definition at line 110 of file win-rate-openingbook-weight-level.cc.
References depth, WinLoss::losses, winloss(), and WinLoss::wins.
| void Result::printByDepth | ( | std::ostream & | out) | const |
Definition at line 125 of file win-rate-openingbook-weight-level.cc.
References depth.
Referenced by main().
| void Result::printByLevel | ( | std::ostream & | out) | const |
Definition at line 133 of file win-rate-openingbook-weight-level.cc.
References depth, WinLoss::losses, winloss(), and WinLoss::wins.
Referenced by main().
| void Result::showLevels | ( | std::ostream & | out, |
| std::vector< WinLoss > & | vector | ||
| ) | const |
Definition at line 93 of file win-rate-openingbook-weight-level.cc.
| unsigned int Result::top_depth |
Definition at line 64 of file win-rate-openingbook-weight-level.cc.
| unsigned int Result::top_level |
Definition at line 63 of file win-rate-openingbook-weight-level.cc.
| array_t Result::winloss |
Definition at line 62 of file win-rate-openingbook-weight-level.cc.
1.8.4