|
SObjectizer 5.8
|
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. | |
| agent_context_t (environment_t &env, agent_tuning_options_t options) | |
| environment_t & | env () const |
| Access to SObjectizer Environment. | |
| environment_t & | environment () const |
| Access to SObjectizer Environment. | |
| agent_tuning_options_t & | options () |
| Read-Write access to agent options. | |
| const agent_tuning_options_t & | options () const |
| Read-only access to agent options. | |
Private Attributes | |
| environment_t * | m_env |
| SObjectizer Environment to work in. | |
| agent_tuning_options_t | m_options |
| Options for agent tuning. | |
Friends | |
| void | swap (so_5::agent_context_t &a, so_5::agent_context_t &b) noexcept |
| Swap operation. | |
A context for agent construction and tuning.
Definition at line 29 of file agent_context.hpp.
|
inline |
Constructor for the case when only environment available.
| env | SObjectizer Environment an agent will work in. |
Definition at line 33 of file agent_context.hpp.
|
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. |
Definition at line 41 of file agent_context.hpp.
|
inline |
Access to SObjectizer Environment.
Definition at line 63 of file agent_context.hpp.
|
inline |
|
inline |
Read-Write access to agent options.
Definition at line 80 of file agent_context.hpp.
|
inline |
Read-only access to agent options.
Definition at line 87 of file agent_context.hpp.
|
friend |
Swap operation.
Definition at line 52 of file agent_context.hpp.
|
private |
SObjectizer Environment to work in.
Definition at line 94 of file agent_context.hpp.
|
private |
Options for agent tuning.
Definition at line 96 of file agent_context.hpp.