|
Claw
1.7.3
|
A score associated with an action. More...
#include <game_ai.hpp>
Public Member Functions | |
| action_eval (const Action &a, const Numeric &e) | |
| Constructor. | |
| bool | operator< (const action_eval &ae) const |
| Compare with an otreh action. | |
Public Attributes | |
| Action | action |
| The action. | |
| Numeric | eval |
| The score of the action. | |
A score associated with an action.
Template parameters:
Definition at line 110 of file game_ai.hpp.
| claw::ai::game::action_eval< Action, Numeric >::action_eval | ( | const Action & | a, |
| const Numeric & | e | ||
| ) |
Constructor.
| a | The evaluated action. |
| e | The evaluation of the action. |
Definition at line 99 of file game_ai.tpp.
| bool claw::ai::game::action_eval< Action, Numeric >::operator< | ( | const action_eval< Action, Numeric > & | ae | ) | const |
Compare with an otreh action.
| ae | The other action. |
Definition at line 112 of file game_ai.tpp.
References claw::ai::game::action_eval< Action, Numeric >::eval.
1.8.1.2