Utopia
2
Framework for studying models of complex & adaptive systems.
|
Decider which only returns true at a certain time. More...
#include <defaults.hh>
Public Types | |
using | Base = Decider< Model > |
The type of the base decider class. More... | |
Public Member Functions | |
virtual bool | operator() (Model &m) override |
virtual void | set_from_cfg (const Config &cfg) override |
Set the decider up from a given config node. More... | |
OnceDecider ()=default | |
Construct a OnceDecider that evaluates to true at time zero. More... | |
OnceDecider (const OnceDecider &)=default | |
OnceDecider (OnceDecider &&)=default | |
OnceDecider & | operator= (const OnceDecider &)=default |
OnceDecider & | operator= (OnceDecider &&)=default |
virtual | ~OnceDecider ()=default |
Public Member Functions inherited from Utopia::DataIO::Default::Decider< Model > | |
Decider ()=default | |
Decider (const Decider &)=default | |
Decider (Decider &&)=default | |
Decider & | operator= (const Decider &)=default |
Decider & | operator= (Decider &&)=default |
virtual | ~Decider ()=default |
Public Attributes | |
std::size_t | time |
Decider which only returns true at a certain time.
using Utopia::DataIO::Default::OnceDecider< Model >::Base = Decider< Model > |
The type of the base decider class.
|
default |
Construct a OnceDecider that evaluates to true at time zero.
|
default |
|
default |
|
virtualdefault |
|
inlineoverridevirtual |
Implements Utopia::DataIO::Default::Decider< Model >.
|
default |
|
default |
|
inlineoverridevirtual |
Set the decider up from a given config node.
cfg | config node containing arguments for this decider |
Implements Utopia::DataIO::Default::Decider< Model >.
std::size_t Utopia::DataIO::Default::OnceDecider< Model >::time |