#include <treePredictor.h>
Public Member Functions | |
| bool | predict (const NumEffectState &state, const Move move) |
| double | probability (const NumEffectState &state, const Move move) |
Definition at line 16 of file treePredictor.h.
| bool osl::threatmate::TreePredictor::predict | ( | const NumEffectState & | state, |
| const Move | move | ||
| ) |
Definition at line 5 of file treePredictor.cc.
References osl::alt(), osl::BLACK, osl::Move::capturePtype(), osl::GOLD, osl::move_generator::addeffect8::hasEffect(), osl::checkmate::King8Info::hasMoveCandidate(), osl::isMajor(), osl::isPiece(), osl::newPtypeO(), osl::PSILVER, osl::Move::ptype(), osl::SILVER, osl::Move::to(), and osl::WHITE.
| double osl::threatmate::TreePredictor::probability | ( | const NumEffectState & | state, |
| const Move | move | ||
| ) |
Definition at line 30 of file treePredictor.cc.
References osl::alt(), osl::BISHOP, osl::BLACK, osl::Move::capturePtype(), osl::GOLD, osl::move_generator::addeffect8::hasEffect(), osl::newPtypeO(), osl::Move::ptype(), osl::ROOK, osl::SILVER, osl::Move::to(), and osl::WHITE.
1.8.4