Utopia 2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations
Utopia::Models::PredatorPreyPlant Namespace Reference

Classes

struct  PlantParams
 The parameters characterizing plants. More...
 
struct  PlantState
 Struct that holds all plant characterising states. More...
 
struct  PredatorParams
 Struct that holds all predator-specific parameters. More...
 
class  PredatorPreyPlant
 PredatorPreyPlant Model on grid cells. More...
 
struct  PreyParams
 Struct that holds all prey-species specific parameters. More...
 
struct  SpeciesBaseParams
 Struct that holds all species-specific parameters. More...
 
struct  SpeciesParams
 The parameter of all species. More...
 
struct  State
 Cell state, combining states for predator, prey and plant species. More...
 

Typedefs

using CellTraits = Utopia::CellTraits< State, Update::manual >
 Cell traits specialization using the state type.
 
using ModelTypes = ModelTypes<>
 Typehelper to define data types of PredatorPreyPlant model.
 

Enumerations

enum class  GrowthModel { none , deterministic , stochastic }
 The growth model to use for plants. More...
 

Typedef Documentation

◆ CellTraits

Cell traits specialization using the state type.

The first template parameter specifies the type of the cell state, the second sets them to not be synchronously updated. The config constructor for the cell state is preferred here

◆ ModelTypes

Typehelper to define data types of PredatorPreyPlant model.

Enumeration Type Documentation

◆ GrowthModel

The growth model to use for plants.

Enumerator
none 

Plant level is ignored; prey are always able to eat.

deterministic 

Once eaten, a plant requires regen_time time to regenerate.

stochastic 

Once eaten, a plant regrows with probability regen_prob

29 {
31 none,
36};
@ none
Plant level is ignored; prey are always able to eat.
@ stochastic
Once eaten, a plant regrows with probability regen_prob
@ deterministic
Once eaten, a plant requires regen_time time to regenerate.