|
Utopia 2
Framework for studying models of complex & adaptive systems.
|
The Model framework is the foundation for your future model. More...

Classes | |
| struct | Utopia::ModelTypes< RNGType, data_write_mode, SpaceType, ConfigType, DataGroupType, DataSetType, TimeType, MonitorType, MonitorManagerType > |
| Wrapper struct for defining model class data types. More... | |
| class | Utopia::Model< Derived, ModelTypes > |
| Base class interface for Models using the CRT Pattern. More... | |
| class | Utopia::PseudoParent< RNG > |
| A class to use at the top level of the model hierarchy as a mock parent. More... | |
| struct | Utopia::Space< num_dims > |
| The Space bundles properties about the physical space a model resides in. More... | |
Typedefs | |
| using | Utopia::DefaultSpace = Space< 2 > |
| The default Space object to be used throughout Utopia. | |
Enumerations | |
| enum class | Utopia::WriteMode { Utopia::WriteMode::basic , Utopia::WriteMode::managed , Utopia::WriteMode::manual , Utopia::WriteMode::off } |
| How to write data in the models. More... | |
Variables | |
| constexpr WriteMode | Utopia::DefaultWriteMode = WriteMode::basic |
| Alias for the default write mode. | |
The Model framework is the foundation for your future model.
By deriving from Utopia::Model, you have access to many infrastructure features and can place your model into a hierarchy of models.
|
strong |
How to write data in the models.
| Enumerator | |
|---|---|
| basic | Basic writing features: write_start, write_every. This leads to |
| managed | Use the DataManager to handle output. The DataManager is invoked before the initial iteration and then once after each iteration; it decides itself whether data is to be written or not. Note that the |
| manual | Fully manual: write_data method is always called. More accurately: |
| off | The write_data method is never called. |
|
constexpr |
Alias for the default write mode.