Cell Struct Reference

CPP API: mio::abm::Cell Struct Reference
mio::abm::Cell Struct Reference

The Location can be split up into several Cells. More...

#include <location.h>

Collaboration diagram for mio::abm::Cell:

Public Member Functions

ScalarType compute_space_per_person_relative () const
 Computes a relative cell size for the Cell. More...
 
auto default_serialize ()
 This method is used by the default serialization feature. More...
 

Public Attributes

CellCapacity m_capacity
 

Detailed Description

The Location can be split up into several Cells.

This allows a finer division of the people at the Location.

Member Function Documentation

◆ compute_space_per_person_relative()

ScalarType mio::abm::Cell::compute_space_per_person_relative ( ) const

Computes a relative cell size for the Cell.

Returns
The relative cell size for the Cell.

◆ default_serialize()

auto mio::abm::Cell::default_serialize ( )
inline

This method is used by the default serialization feature.

Member Data Documentation

◆ m_capacity

CellCapacity mio::abm::Cell::m_capacity