|
Qualia
0.2
|
#include <Agent.h>

Public Member Functions | |
| virtual | ~Agent () |
| virtual void | init () |
| Initializes the agent. More... | |
| virtual Action * | start (const Observation *observation)=0 |
| Chooses the first action in the episode. More... | |
| virtual Action * | step (const Observation *observation)=0 |
| Performs an episode step. More... | |
| 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... | |
Provides an interface for an agent acting within an environment in the Qualia framework. An agent is a device/being/thing that takes actions in response to observations. In Qualia, agents will typically be platform-agnostic.
|
inlinevirtual |
|
inlinevirtual |
Performs the last episode step.
Reimplemented in QLearningAgent, and MultiAgent.
|
inlinevirtual |
Initializes the agent.
Reimplemented in QLearningAgent, MultiAgent, OscAgent, and BehaviorTreeAgent.
|
inlinevirtual |
Loads an agent.
Reimplemented in QLearningAgent.
|
inlinevirtual |
Saves the agent.
Reimplemented in QLearningAgent.
|
pure virtual |
Chooses the first action in the episode.
Implemented in QLearningAgent, MultiAgent, OscAgent, and BehaviorTreeAgent.
|
pure virtual |
Performs an episode step.
Implemented in QLearningAgent, MultiAgent, OscAgent, and BehaviorTreeAgent.
1.8.3.1