Class Queue¶
template <typename TSeq>
Controls which agents are verified at each step. More...
#include <queue-bones.hpp>
Public Static Attributes¶
| Type | Name |
|---|---|
| const int | Everyone = 2 |
| const int | NoOne = 0 |
| const int | OnlySelf = 1 |
Public Functions¶
| Type | Name |
|---|---|
| bool | operator!= (const Queue< TSeq > & other) const |
| void | operator+= (Agent< TSeq > * p) |
| void | operator-= (Agent< TSeq > * p) |
| bool | operator== (const Queue< TSeq > & other) const |
| epiworld_fast_int & | operator[] (epiworld_fast_uint i) |
| void | reset () |
Detailed Description¶
The idea is that only agents who are either in an infected state or have an infected neighbor should be checked. Otherwise it makes no sense (no chance to recover or capture the disease).
Template parameters:
TSeq
Public Static Attributes Documentation¶
variable Everyone¶
variable NoOne¶
variable OnlySelf¶
Public Functions Documentation¶
function operator!=¶
function operator+=¶
function operator-=¶
function operator==¶
function operator[]¶
function reset¶
The documentation for this class was generated from the following file epiworld-src/include/epiworld/queue-bones.hpp