|
Qualia
0.2
|
#include <BehaviorTreeAgent.h>


Public Member Functions | |
| BehaviorTreeAgent (ActionProperties *properties, BehaviorTree::BehaviorTreeNode *root) | |
| virtual | ~BehaviorTreeAgent () |
| virtual void | init () |
| Initializes the agent. More... | |
| virtual Action * | start (const Observation *observation) |
| Chooses the first action in the episode. More... | |
| virtual Action * | step (const Observation *observation) |
| Performs an episode step. More... | |
| const Observation * | getCurrentObservation () const |
| Can be used by leaf nodes to access the current observation under scrutiny. More... | |
| Action & | getCurrentAction () |
| Can be used by leaf nodes to access the current observation under scrutiny. More... | |
Public Member Functions inherited from Agent | |
| virtual | ~Agent () |
| virtual void | end (const Observation *observation) |
| Performs the last episode step. More... | |
| virtual void | save (XFile *file) |
| Saves the agent. More... | |
| virtual void | load (XFile *file) |
| Loads an agent. More... | |
Public Attributes | |
| Action | currentAction |
| const Observation * | currentObservation |
| BehaviorTree::BehaviorTreeNode * | root |
| BehaviorTreeAgent::BehaviorTreeAgent | ( | ActionProperties * | properties, |
| BehaviorTree::BehaviorTreeNode * | root | ||
| ) |
|
virtual |
|
inline |
Can be used by leaf nodes to access the current observation under scrutiny.
|
inline |
Can be used by leaf nodes to access the current observation under scrutiny.
|
virtual |
Initializes the agent.
Reimplemented from Agent.
|
virtual |
Chooses the first action in the episode.
Implements Agent.
|
virtual |
Performs an episode step.
Implements Agent.
| Action BehaviorTreeAgent::currentAction |
| const Observation* BehaviorTreeAgent::currentObservation |
| BehaviorTree::BehaviorTreeNode* BehaviorTreeAgent::root |
1.8.3.1