osl::rating::RatedMove 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 | Private Attributes | List of all members
osl::rating::RatedMove Class Reference

`#include <ratedMove.h>`

Collaboration diagram for osl::rating::RatedMove:
[legend]

## Public Member Functions
| RatedMove (Move move, int rating, int optimistic)
| RatedMove (Move move, int rating)
| RatedMove ()
void | setRating (int rating)
void | setOptimisticRating (int rating)
const Move | move () const
int | rating () const
int | optimisticRating () const

## Private Attributes
Move | my_move
signed short | all_rating
signed short | optimistic_rating

## Detailed Description

Definition at line 13 of file ratedMove.h.

## Constructor & Destructor Documentation

osl::rating::RatedMove::RatedMove | ( | Move | move,
|  | int | rating,
|  | int | optimistic
| ) |  |
| inline

Definition at line 18 of file ratedMove.h.

osl::rating::RatedMove::RatedMove | ( | Move | move,
|  | int | rating
| ) |  |
| inline

Definition at line 21 of file ratedMove.h.

osl::rating::RatedMove::RatedMove | ( | ) |  |
| inline

Definition at line 24 of file ratedMove.h.

## Member Function Documentation

const Move osl::rating::RatedMove::move | ( | ) |  | const
| inline

Definition at line 28 of file ratedMove.h.

References my_move.

Referenced by osl::rating::operator<(), osl::rating::operator<<(), osl::rating::operator==(), and osl::rating::operator>().

int osl::rating::RatedMove::optimisticRating | ( | ) |  | const
| inline

Definition at line 30 of file ratedMove.h.

References optimistic_rating.

Referenced by osl::rating::operator<(), osl::rating::operator<<(), and osl::rating::operator>().

int osl::rating::RatedMove::rating | ( | ) |  | const
| inline

Definition at line 29 of file ratedMove.h.

References all_rating.

Referenced by osl::rating::FeatureSet::generateRating(), osl::rating::operator<(), osl::rating::operator<<(), osl::rating::operator==(), osl::rating::operator>(), setOptimisticRating(), setRating(), and test_position().

void osl::rating::RatedMove::setOptimisticRating | ( | int | rating) |  |
| inline

Definition at line 26 of file ratedMove.h.

References optimistic_rating, and rating().

void osl::rating::RatedMove::setRating | ( | int | rating) |  |
| inline

Definition at line 25 of file ratedMove.h.

References all_rating, and rating().

## Member Data Documentation

signed short osl::rating::RatedMove::all_rating
| private

Definition at line 16 of file ratedMove.h.

Referenced by rating(), and setRating().

Move osl::rating::RatedMove::my_move
| private

Definition at line 15 of file ratedMove.h.

Referenced by move().

signed short osl::rating::RatedMove::optimistic_rating
| private

Definition at line 16 of file ratedMove.h.

Referenced by optimisticRating(), and setOptimisticRating().

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

- ratedMove.h