CSemiMarkovDecisionProcess Class Reference
Class
for providing the general Functions for the learning Environment.
More...
#include <cagent.h>
Inheritance diagram for CSemiMarkovDecisionProcess:
List of all
members.
Detailed Description
Class for providing the general Functions for the learning
Environment.
CSemiMarkovDecisionProcess is the super class of all "acting"
agents. It maintains a list of available Actions for the SMDP. It
also loggs the number of Episodes and the Number of Steps done in
the current Epsiode. It provides the functionality for sending a
Semi-Markov Step, but its only able to send PrimitiveActions. For
extended Actions you have to use the hierarchicalMDP. /par The
class is a subclass of CDeterministicController
in order to make any Controller assigned to the SMDP a
deterministic Controller. The CDeterministicController
Object is always the first Object to be informed about the new
Step, and its not in the ListenerList (Recursions). This feature is
needed for learning the exact Policy of the agent (see
CSarsaLearner), so
the agent can be used as estimation policy.
- See also:
- CAgent
CHierarchicalalSemiMarkovDecisionProcess
Constructor & Destructor Documentation
|
CSemiMarkovDecisionProcess::CSemiMarkovDecisionProcess
|
( |
|
) |
|
|
|
CSemiMarkovDecisionProcess::~CSemiMarkovDecisionProcess
|
( |
|
) |
|
|
Member Function Documentation
| virtual void
CSemiMarkovDecisionProcess::addAction
|
( |
CAction *
|
action |
) |
[virtual] |
|
| |
Adds an Action to the ActionSet of the
SMDP.
|
| virtual void
CSemiMarkovDecisionProcess::addActions
|
( |
CActionSet *
|
action |
) |
[virtual] |
|
| int
CSemiMarkovDecisionProcess::getCurrentEpisodeNumber
|
( |
|
) |
[inline] |
|
| |
Returns the number of Episodes.
|
| int
CSemiMarkovDecisionProcess::getCurrentStep
|
( |
|
) |
[inline] |
|
| |
Returns the number of steps.
|
| CAction*
CSemiMarkovDecisionProcess::getLastAction
|
( |
|
) |
|
|
| |
Returns the last Action sent to all
Listeners.
|
| int
CSemiMarkovDecisionProcess::getTotalSteps
|
( |
|
) |
[inline] |
|
| |
Sends the next Step to all Listeners. I.e that if the Action is
a finished MultiStepAction.
Reimplemented from CSemiMDPSender.
|
| virtual void
CSemiMarkovDecisionProcess::startNewEpisode
|
( |
|
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|