1#ifndef UTOPIA_CORE_CELL_HH
2#define UTOPIA_CORE_CELL_HH
20 template<
class>
class CustomLinkContainers=NoCustomLinks>
25 CustomLinkContainers>;
37template<
typename Traits>
39 public Entity<Cell<Traits>, Traits>
46 using State =
typename Traits::State;
A cell is a slightly specialized state container.
Definition cell.hh:40
typename Traits::State State
The type of the state.
Definition cell.hh:46
Cell(const IndexType id, const State initial_state)
Construct a cell.
Definition cell.hh:49
An entity is a slightly specialized state container.
Definition entity.hh:83
Traits Traits
The traits of this entity.
Definition entity.hh:90
const IndexType & id() const
Return const reference to entity ID.
Definition entity.hh:134
Container select_entities(const Manager &mngr, const DataIO::Config &sel_cfg)
Select entities according to parameters specified in a configuration.
Definition select.hh:213
Update
Update modes when applying rules.
Definition state.hh:20
std::size_t IndexType
Type for indices, i.e. values used for container indexing, agent IDs, ...
Definition types.hh:40
The entity traits struct gathers types to be used for specializing an entity.
Definition entity.hh:49