Utopia  2
Framework for studying models of complex & adaptive systems.
Public Member Functions | List of all members
Utopia::Models::Environment::DummyEnvCellState Struct Reference

Dummy type for environment cell states. More...

#include <Environment.hh>

Inheritance diagram for Utopia::Models::Environment::DummyEnvCellState:
Inheritance graph
[legend]
Collaboration diagram for Utopia::Models::Environment::DummyEnvCellState:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from Utopia::Models::Environment::BaseEnvCellState
using SpaceVec = SpaceVecType< 2 >
 
- Public Attributes inherited from Utopia::Models::Environment::BaseEnvCellState
SpaceVec position
 Cached barycenter of the cell. More...
 

Detailed Description

Dummy type for environment cell states.

This class is meant to be derived from and used as a basis for the desired kind of environment.

Constructor & Destructor Documentation

◆ DummyEnvCellState()

Utopia::Models::Environment::DummyEnvCellState::DummyEnvCellState ( const DataIO::Config )
inline

◆ ~DummyEnvCellState()

Utopia::Models::Environment::DummyEnvCellState::~DummyEnvCellState ( )
default

Member Function Documentation

◆ get_env()

double Utopia::Models::Environment::DummyEnvCellState::get_env ( const std::string &  ) const
inlineoverridevirtual

◆ set_env()

void Utopia::Models::Environment::DummyEnvCellState::set_env ( const std::string &  ,
const double &   
)
inlineoverridevirtual

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