osl::threatmate::MlPredictor 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::MlPredictor Class Reference

`#include <mlPredictor.h>`

## Public Member Functions
double | predict (const NumEffectState &state, const Move move, size_t index=0)
double | probability (const NumEffectState &state, const Move move, size_t index=0)

## Detailed Description

Definition at line 18 of file mlPredictor.h.

## Member Function Documentation

double osl::threatmate::MlPredictor::predict | ( | const NumEffectState & | state,
|  | const Move | move,
|  | size_t | index = `0`
| ) |  |

Definition at line 29 of file mlPredictor.cc.

References osl::alt(), osl::BLACK, osl::Move::capturePtype(), osl::misc::BitOp::countBit(), osl::move_generator::addeffect8::hasEffect(), osl::newPtypeO(), predictor_coef, osl::Move::ptype(), osl::Move::to(), and osl::WHITE.

double osl::threatmate::MlPredictor::probability | ( | const NumEffectState & | state,
|  | const Move | move,
|  | size_t | index = `0`
| ) |  |

Definition at line 59 of file mlPredictor.cc.

Referenced by osl::annotate::ThreatmateAnalyzer::match().

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

- mlPredictor.h
- mlPredictor.cc