#import <QState.h>
Detailed Description
Definition at line 15 of file QState.h.
Member Function Documentation
Returns the max possible Q value for the passed state
- Parameters:
-
- Returns:
- the max Q value
Definition at line 72 of file QState.m.
Checks all of the possible actions, and selects the one with the highest Q-value
- Returns:
- the optimum action
Reimplemented from State.
Definition at line 45 of file QState.m.
Looks up the Q-value for the action
- Parameters:
-
- Returns:
- the Q-value
Definition at line 94 of file QState.m.
Returns the reward
- Returns:
- the reward
Definition at line 173 of file QState.m.
Initialises the state
- Returns:
- self
Definition at line 27 of file QState.m.
- (void) setQValue: |
|
(float) |
_qValue |
forAction: |
|
(Action) |
_action |
|
|
| |
Sets the Q-value for the action
- Parameters:
-
- Returns:
- the Q-value
Definition at line 114 of file QState.m.
Field Documentation
The documentation for this class was generated from the following files: