#include <openingBook.h>
Public Member Functions | |
WMove () | |
WMove (Move m, int i, int w) | |
Move | getMove () const |
int | getStateIndex () const |
int | getWeight () const |
void | setWeight (const int w) |
Private Attributes | |
Move | move |
int | stateIndex |
int | weight |
Friends | |
std::ostream & | operator<< (std::ostream &os, const WMove &w) |
std::istream & | operator>> (std::istream &is, WMove &w) |
Definition at line 116 of file openingBook.h.
osl::record::opening::WMove::WMove | ( | ) | [inline] |
Definition at line 122 of file openingBook.h.
osl::record::opening::WMove::WMove | ( | Move | m, |
int | i, | ||
int | w | ||
) | [inline] |
Definition at line 123 of file openingBook.h.
Move osl::record::opening::WMove::getMove | ( | ) | const [inline] |
Definition at line 125 of file openingBook.h.
References move.
Referenced by osl::record::opening::WMoveMoveSort::operator()(), osl::record::opening::WMoveWeightMoveSort::operator()(), osl::record::opening::operator<<(), osl::record::opening::operator==(), osl::record::opening::BookInMemory::readRecursive(), and osl::record::opening::WeightedBook::validate().
int osl::record::opening::WMove::getStateIndex | ( | ) | const [inline] |
Definition at line 126 of file openingBook.h.
References stateIndex.
Referenced by osl::record::opening::WeightedBook::getParents(), osl::record::opening::WeightedBook::getStateIndex(), osl::record::opening::operator<<(), osl::record::opening::operator==(), osl::record::opening::BookInMemory::readRecursive(), and osl::record::opening::WeightedBook::validate().
int osl::record::opening::WMove::getWeight | ( | ) | const [inline] |
Definition at line 127 of file openingBook.h.
References weight.
Referenced by osl::record::opening::WMoveSort::operator()(), osl::record::opening::WMoveWeightMoveSort::operator()(), osl::record::opening::operator<<(), and osl::record::opening::operator==().
void osl::record::opening::WMove::setWeight | ( | const int | w | ) | [inline] |
Definition at line 128 of file openingBook.h.
References weight.
std::ostream& operator<< | ( | std::ostream & | os, |
const WMove & | w | ||
) | [friend] |
std::istream& operator>> | ( | std::istream & | is, |
WMove & | w | ||
) | [friend] |
Move osl::record::opening::WMove::move [private] |
Definition at line 118 of file openingBook.h.
Referenced by getMove(), and osl::record::opening::operator>>().
int osl::record::opening::WMove::stateIndex [private] |
Definition at line 119 of file openingBook.h.
Referenced by getStateIndex(), and osl::record::opening::operator>>().
int osl::record::opening::WMove::weight [private] |
Definition at line 120 of file openingBook.h.
Referenced by getWeight(), osl::record::opening::operator>>(), and setWeight().