Struct walle::PathAgentData
ClassList > walle > PathAgentData
#include <AgentFactory.hpp>
Inherits the following classes: walle::BaseAgentData
Public Attributes
Type | Name |
---|---|
int | index Starting index into the vector of GridPositions. |
std::string | string_path String representation of the path traveled (e.g. "n s e w" for north south east west) |
std::vector< cse491::GridPosition > | vector_path Set of grid positions that are applied to the agent's position during one step (constructed from string_path) |
Public Attributes inherited from walle::BaseAgentData
Type | Name |
---|---|
std::string | name Name of the agent. |
cse491::GridPosition | position Agent's position. |
char | symbol = = '*' Agent's representation. |
Detailed Description
Stores data for a PathAgent
Public Attributes Documentation
variable index
int index;
variable string_path
std::string string_path;
variable vector_path
std::vector<cse491::GridPosition> vector_path;
The documentation for this class was generated from the following file source/Agents/AgentFactory.hpp