Stride Reference Manual  - generated for commit 9643b11
geopop Namespace Reference

Namespace for the geographic and demograhic classes. More...

Namespaces

 geogrid_detail
 
 kd
 

Classes

struct  AABBox
 AxisAlignedBoundingBox (hyperrectangle defined by lower and upper bound for every dimension). More...
 
class  BoxPolicy
 GeoAggregator Policy that aggregates over an axis aligned bounding box. More...
 
class  Collector
 Aggregates into a vector that must should remain alive for the usage duration of the Collector. More...
 
class  CommutesCSVReader
 Create a Reader that fills a GeoGrid with the commute info from CSV file. More...
 
class  CommutesReader
 Create an abstract Reader that fills a GeoGrid with the commute info from file. More...
 
class  Generator
 Generator uses geo & pop data to construct ContactPools in the GeoGrid. More...
 
class  GeoAggregator
 A GeoAggregator can either be instantiated with a functor, or be called with one every time. More...
 
class  GeoAggregator< Policy >
 A GeoAggregator that has to be called with a functor. More...
 
class  GeoAggregator< Policy, F >
 A GeoAggregator constructed with a functor. More...
 
class  GeoGrid
 A Geographic grid of simulation region contains Locations that in turn contain an index to the ContactPools situated at that Location. More...
 
class  GeoGridConfig
 Configuration data mostly for generating a population, but also for computing the required number of schools, workplaces, communities etc. More...
 
class  GeoGridJSONReader
 An implementation of the GeoGridReader using JSON. More...
 
class  GeoGridJSONWriter
 Writes a GeoGrid to a JSON file. More...
 
class  GeoGridProtoReader
 An implementation of the GeoGridReader using Protocol Buffers. More...
 
class  GeoGridProtoWriter
 An implementation of the GeoGridWriter using Protocol Buffers This class is used to write a GeoGrid to a Proto file. More...
 
class  GeoGridReader
 An abstract base class for creating a GeoGrid that was read from a file, can be implemented using multiple file types (proto and json are currently implemented) More...
 
class  GeoGridReaderFactory
 A Factory for creating the correct implementation of a GeoGridReader based on the filename extension. More...
 
class  GeoGridWriter
 An interface for writing the GeoGrid to a file, can be implemented with multiple file types. More...
 
class  GeoGridWriterFactory
 Factory creates the correct implementation of a GeoGridWriter based on the filename extension. More...
 
class  HouseholdCSVReader
 Creates a Reader that retrieves the different Household profiles from a given CSV file. More...
 
class  HouseholdReader
 Retrieves the reference Household profiles from file. More...
 
class  KdTree
 A k-d tree: a k-dimensional generalization of binary search trees This data structure allows for efficient lookup of points and range queries with an Axis-Aligned Bounding Box (when balanced). More...
 
class  Location
 Location for use within the GeoGrid, contains Coordinate and index to ContactPools. More...
 
class  LocationsCSVReader
 Create a Reader that fills a GeoGrid with the Location data found in a CSV input stream. More...
 
class  LocationsReader
 Create an abstract Reader which fills a GeoGrid with the cities found in file. More...
 
class  PolygonPolicy
 A GeoAggregator Policy that aggregates over a (clockwise) polygon. More...
 
class  Populator
 Populator uses geo & pop data to populate ContactPools in the GeoGrid. More...
 
class  RadiusPolicy
 GeoAggregator Policy that aggregates locations within a radius (in km) of a center point. More...
 
class  ReaderFactory
 A Factory for creating the correct implementation of the different Readers which parse the information needed to construct a GeoGrid, based on the file extension. More...
 

Typedefs

using Coordinate = boost::geometry::model::point< double, 2, boost::geometry::cs::geographic< boost::geometry::degree >>
 
using K12SchoolGenerator = Generator< stride::ContactType::Id::K12School >
 
using CollegeGenerator = Generator< stride::ContactType::Id::College >
 
using WorkplaceGenerator = Generator< stride::ContactType::Id::Workplace >
 
using HouseholdGenerator = Generator< stride::ContactType::Id::Household >
 
using PrimaryCommunityGenerator = Generator< stride::ContactType::Id::PrimaryCommunity >
 
using SecondaryCommunityGenerator = Generator< stride::ContactType::Id::SecondaryCommunity >
 
using GeoGridKdTree = KdTree< geogrid_detail::KdTree2DPoint >
 
using K12SchoolPopulator = Populator< stride::ContactType::Id::K12School >
 
using CollegePopulator = Populator< stride::ContactType::Id::College >
 
using WorkplacePopulator = Populator< stride::ContactType::Id::Workplace >
 
using HouseholdPopulator = Populator< stride::ContactType::Id::Household >
 
using PrimaryCommunityPopulator = Populator< stride::ContactType::Id::PrimaryCommunity >
 
using SecondaryCommunityPopulator = Populator< stride::ContactType::Id::SecondaryCommunity >
 

Functions

template<typename InsertIter , typename T = typename InsertIter::container_type::value_type>
Collector< InsertIter, T > MakeCollector (const InsertIter &ins)
 Build a Collector, useful for type inference. More...
 
ostream & operator<< (ostream &out, const GeoGridConfig &config)
 

Detailed Description

Namespace for the geographic and demograhic classes.

Typedef Documentation

using geopop::Coordinate = typedef boost::geometry::model::point<double, 2, boost::geometry::cs::geographic<boost::geometry::degree>>

Definition at line 23 of file Coordinate.h.

Definition at line 25 of file GeoGridKdTree.h.

Function Documentation

template<typename InsertIter , typename T = typename InsertIter::container_type::value_type>
Collector<InsertIter, T> geopop::MakeCollector ( const InsertIter &  ins)

Build a Collector, useful for type inference.

Definition at line 59 of file GeoAggregator.h.

Referenced by geopop::GeoGrid::LocationsInBox(), and geopop::GeoGrid::LocationsInRadius().

Here is the caller graph for this function: