osl::threatmate::TreePredictor Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
osl::threatmate::TreePredictor Class Reference

`#include <treePredictor.h>`

## Public Member Functions
bool | predict (const NumEffectState &state, const Move move)
double | probability (const NumEffectState &state, const Move move)

## Detailed Description

Definition at line 16 of file treePredictor.h.

## Member Function Documentation

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.

The documentation for this class was generated from the following files:

- treePredictor.h
- treePredictor.cc