Menge
Modular Pedestrian Simulation Framework for Research and Development
|
The definition of actions that are taken as agents enter states. More...
Go to the source code of this file.
Classes | |
class | Menge::BFSM::Action |
The abstract definition of an action. More... | |
Namespaces | |
Menge | |
The core namespace. All elements of Menge are contained in this namespace. | |
BFSM | |
The namespace contains the Behavior Finite State Machine (BFSM) definition. | |
Functions | |
Action * | Menge::BFSM::parseAction (TiXmlElement *node, const std::string &behaveFldr) |
Parses a TinyXML element containing an action specification. More... | |
The definition of actions that are taken as agents enter states.
Actions are associated with behavior states. When an agent enters the corresponding behavior state, the action is taken on the agent. It is typically used to modify agent parameters, consistent with what the state represents. By default the agent should restore the agents parameter values when the agent leaves the FSM state. However, a flag can deactivate this behavior.