Configuration of hatch order. More...
#include <common.h>
Public Member Functions | |
| HATCH_CONFIG (bool flag=false, shared_ptr< PATCH > _patch=nullptr, bool inherit=false, bool quiet=false, bool reset=false) | |
| HATCH_CONFIG (bool flag=false, shared_ptr< PATCH > _patch=nullptr, bool inherit=false, bool quiet=false, bool reset=false) | |
Public Attributes | |
| bool | _flag |
| if false, the entire hatching process is skipped. More... | |
| shared_ptr< PATCH > | _patch |
| the patch that the new agent will be set. If null, a random patch will be selected. More... | |
| bool | _inherit |
Inherit from current patch. Agent::inherit should be defined for this purpose. More... | |
| bool | _quiet |
| Silent exceptions if hatch fails. More... | |
| bool | _reset |
| Resets upon failure in hatching. If false, the agent will try in the next steps again. More... | |
Configuration of hatch order.
|
inline |
|
inline |
| bool HATCH_CONFIG< ENV, AGENT, PATCH >::_flag |
| bool HATCH_CONFIG< ENV, AGENT, PATCH >::_inherit |
Inherit from current patch. Agent::inherit should be defined for this purpose.
| shared_ptr< PATCH > HATCH_CONFIG< ENV, AGENT, PATCH >::_patch |
| bool HATCH_CONFIG< ENV, AGENT, PATCH >::_quiet |
| bool HATCH_CONFIG< ENV, AGENT, PATCH >::_reset |
1.8.19