Class netWorth::ControlledAgent
ClassList > netWorth > ControlledAgent
Inherits the following classes: AgentBase
Public Functions
Type | Name |
---|---|
ControlledAgent (size_t id, const std::string & name) Client manager to access agent action map. |
|
bool | Initialize () override This agent needs a specific set of actions to function. |
size_t | SelectAction (const cse491::WorldGrid &, const cse491::type_options_t &, const cse491::item_map_t &, const cse491::agent_map_t &) override Choose the action to take a step in the appropriate direction. |
Public Functions Documentation
function ControlledAgent
inline netWorth::ControlledAgent::ControlledAgent (
size_t id,
const std::string & name
)
function Initialize
This agent needs a specific set of actions to function.
inline bool netWorth::ControlledAgent::Initialize () override
Returns:
Success.
function SelectAction
inline size_t netWorth::ControlledAgent::SelectAction (
const cse491::WorldGrid &,
const cse491::type_options_t &,
const cse491::item_map_t &,
const cse491::agent_map_t &
) override
The documentation for this class was generated from the following file source/Interfaces/NetWorth/client/ControlledAgent.hpp