![]() |
Construct version 5.3.9
An agent based modeling framework
|
A modification model which causes delays in the transmission of messages. More...
Public Member Functions | |
Mail (Construct *_construct) | |
void | update (void) |
Function called after the think functions in a simulation cycle. More... | |
![]() | |
Model (Construct *_construct, const std::string &name) | |
Constructor for all models in Construct. More... | |
Model (const std::string &name) | |
Constructor for the PlaceHolder model. More... | |
virtual | ~Model (void) |
Virtual Deconstructor. More... | |
virtual void | initialize (void) |
Function called once before any simulation cycles begin. More... | |
virtual void | think (void) |
First function called in a simulation cycle. More... | |
virtual void | update (void) |
Function called after the think functions in a simulation cycle. More... | |
virtual void | communicate (InteractionMessageQueue::iterator msg) |
Function called after the update functions in a simulation cycle. More... | |
virtual void | cleanup (void) |
Function called after the Model::communicate functions in a simulation cycle. More... | |
Public Attributes | |
Graph< float > & | mail_pref = graph_manager->load_optional(graph_names::mail_usage, 1.0f, nodeset_names::agents, sparse, nodeset_names::comm, sparse) |
Graph< float > & | mail_check_prob = graph_manager->load_optional(graph_names::mail_check_prob, 0.5f, nodeset_names::agents, sparse, nodeset_names::time, sparse) |
std::vector< InteractionMessageQueue > | mailboxes = std::vector<InteractionMessageQueue>(mail_pref.source_nodeset->size()) |
![]() | |
Construct *const | construct |
GraphManager *const | graph_manager |
NodesetManager *const | ns_manager |
Random *const | random |
const std::string | name |
Name of the model. Set by the Model constructor. | |
bool | valid |
If member is false, the model's functions are not called. | |
A modification model which causes delays in the transmission of messages.