Utopia  2
Framework for studying models of complex & adaptive systems.
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
base.hh File Reference
#include "../types.hh"
Include dependency graph for base.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Utopia::Grid< Space >
 The base class for all grid discretizations used by the CellManager. More...
 

Namespaces

 Utopia
 

Typedefs

template<class Grid >
using Utopia::NBFuncID = std::function< IndexContainer(const IndexType)>
 Type of the neighborhood calculating function. More...
 

Enumerations

enum class  Utopia::GridStructure { Utopia::square , Utopia::triangular , Utopia::hexagonal }
 Available grid implementations. More...
 
enum class  Utopia::NBMode { Utopia::empty = 0 , Utopia::vonNeumann = 1 , Utopia::Moore = 2 , Utopia::hexagonal = 3 }
 Possible neighborhood types; availability depends on choice of grid. More...
 

Functions

std::string Utopia::grid_structure_to_string (const GridStructure &structure)
 Given an GridStructure enum value, return the corresponding string key. More...
 
std::string Utopia::nb_mode_to_string (const NBMode &nb_mode)
 Given an NBMode enum value, return the corresponding string key. More...
 

Variables

const std::map< std::string, GridStructure > Utopia::grid_structure_map
 A map from strings to grid structure enum values. More...
 
const std::map< std::string, NBMode > Utopia::nb_mode_map
 A map from strings to neighborhood enum values. More...