Utopia  2
Framework for studying models of complex & adaptive systems.
Public Member Functions | Public Attributes | List of all members
EnvCellState Struct Reference

A non-abstract EnvCellState, derived from the base class. More...

Inheritance diagram for EnvCellState:
Inheritance graph
[legend]
Collaboration diagram for EnvCellState:
Collaboration graph
[legend]

Public Member Functions

 EnvCellState (const Utopia::DataIO::Config &cfg)
 
 ~EnvCellState ()=default
 
double get_env (const std::string &key) const override
 Getter. More...
 
void set_env (const std::string &key, const double &value) override
 Setter. More...
 
 EnvCellState (const Utopia::DataIO::Config &cfg)
 
 ~EnvCellState ()
 
double get_env (const std::string &key) const
 Getter. More...
 
void set_env (const std::string &key, const double &value)
 Setter. More...
 
- Public Member Functions inherited from Utopia::Models::Environment::BaseEnvCellState
virtual ~BaseEnvCellState ()=default
 

Public Attributes

double some_heterogeneous_parameter
 
double some_het_parameter
 
- Public Attributes inherited from Utopia::Models::Environment::BaseEnvCellState
SpaceVec position
 Cached barycenter of the cell. More...
 

Additional Inherited Members

- Public Types inherited from Utopia::Models::Environment::BaseEnvCellState
using SpaceVec = SpaceVecType< 2 >
 

Detailed Description

A non-abstract EnvCellState, derived from the base class.

Create a non-abstract EnvCellState.

Note
This is used to allow standalone operation.

Constructor & Destructor Documentation

◆ EnvCellState() [1/2]

EnvCellState::EnvCellState ( const Utopia::DataIO::Config cfg)
inline

◆ ~EnvCellState() [1/2]

EnvCellState::~EnvCellState ( )
default

◆ EnvCellState() [2/2]

EnvCellState::EnvCellState ( const Utopia::DataIO::Config cfg)
inline

◆ ~EnvCellState() [2/2]

EnvCellState::~EnvCellState ( )
inline

Member Function Documentation

◆ get_env() [1/2]

double EnvCellState::get_env ( const std::string &  key) const
inlinevirtual

◆ get_env() [2/2]

double EnvCellState::get_env ( const std::string &  key) const
inlineoverridevirtual

◆ set_env() [1/2]

void EnvCellState::set_env ( const std::string &  key,
const double &  value 
)
inlinevirtual

◆ set_env() [2/2]

void EnvCellState::set_env ( const std::string &  key,
const double &  value 
)
inlineoverridevirtual

Member Data Documentation

◆ some_het_parameter

double EnvCellState::some_het_parameter

◆ some_heterogeneous_parameter

double EnvCellState::some_heterogeneous_parameter

The documentation for this struct was generated from the following files: