SObjectizer
5.5
|
A context for agent construction and tuning. More...
#include <agent_context.hpp>
Public Member Functions | |
agent_context_t (environment_t &env) | |
Constructor for the case when only environment available. More... | |
agent_context_t (environment_t &env, agent_tuning_options_t options) | |
agent_context_t (const agent_context_t &ctx) | |
Copy constructor. More... | |
agent_context_t (agent_context_t &&ctx) | |
Move constructor. More... | |
void | swap (agent_context_t &other) |
Swap operation. More... | |
agent_context_t & | operator= (agent_context_t ctx) |
Copy/move operator. More... | |
environment_t & | env () const |
Access to SObjectizer Environment. More... | |
environment_t & | environment () const |
Access to SObjectizer Environment. More... | |
agent_tuning_options_t & | options () |
Read-Write access to agent options. More... | |
const agent_tuning_options_t & | options () const |
Read-only access to agent options. More... | |
Private Attributes | |
environment_t * | m_env |
SObjectizer Environment to work in. More... | |
agent_tuning_options_t | m_options |
Options for agent tuning. More... | |
A context for agent construction and tuning.
|
inline |
Constructor for the case when only environment available.
env | SObjectizer Environment an agent will work in. |
|
inline |
Constructor for the case when environment and already created tuning option object are avaliable.
env | SObjectizer Environment an agent will work in. |
options | Options to be used for agent tuning. |
|
inline |
Copy constructor.
|
inline |
Move constructor.
|
inline |
Access to SObjectizer Environment.
|
inline |
Access to SObjectizer Environment.
|
inline |
Copy/move operator.
|
inline |
Read-Write access to agent options.
|
inline |
Read-only access to agent options.
|
inline |
Swap operation.
|
private |
SObjectizer Environment to work in.
|
private |
Options for agent tuning.