Utopia 2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
Namespaces | Typedefs
types.hh File Reference
#include <cstdint>
#include <vector>
#include <memory>
#include <random>
#include <array>
#include <armadillo>
#include <yaml-cpp/yaml.h>
Include dependency graph for types.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utopia
 
namespace  Utopia::DataIO
 

Typedefs

using Utopia::DefaultRNG = std::mt19937
 Type of default random number generator.
 
template<typename EntityType >
using Utopia::EntityContainer = std::vector< std::shared_ptr< EntityType > >
 Type of the variably sized container for entities.
 
template<typename CellType >
using Utopia::CellContainer = EntityContainer< CellType >
 Type of the variably sized container for cells.
 
template<typename AgentType >
using Utopia::AgentContainer = EntityContainer< AgentType >
 Type of the variably sized container for agents.
 
using Utopia::DimType = unsigned short
 Type for dimensions, i.e. very small unsigned integers.
 
using Utopia::DistType = unsigned int
 Type for distancens, i.e. intermediately long unsigned integers.
 
using Utopia::IndexType = std::size_t
 Type for indices, i.e. values used for container indexing, agent IDs, ...
 
using Utopia::IndexContainer = std::vector< IndexType >
 Type for container of indices.
 
template<DimType dim>
using Utopia::MultiIndexType = arma::Col< IndexType >::fixed< dim >
 Type for index type vectors that are associated with a physical space.
 
template<DimType dim>
using Utopia::SpaceVecType = arma::Col< double >::fixed< dim >
 Type for vector-like data that is associated with a physical space.
 
using Utopia::DataIO::Config = YAML::Node
 Type of a variadic dictionary-like data structure used throughout Utopia.
 
using Utopia::Config = DataIO::Config
 Type of a variadic dictionary-like data structure used throughout Utopia.