Stride Reference Manual
1.0
|
#include <LocalSimulatorAdapter.h>
Static Public Member Functions | |
static double | calcSurface (const vector< Cluster > &clusters) |
static map< uint, uint > | getClMap (const vector< Cluster > &clusters) |
static double | calculateSurface (const Simulator &local_sim) |
Calculate the used surface The middle point of cities is calculated, followed by the distance between this point and the furthest city The surface is then determined by calculating the surface of the circle determined by the middle and this distance (radius) More... | |
static map< uint, uint > | getClusterMap (const Simulator &local_sim) |
Definition at line 25 of file LocalSimulatorAdapter.h.
|
inlinestatic |
Definition at line 81 of file ClusterSaver.h.
References stride::util::GeoCoordCalculator::getInstance(), stride::util::GeoCoordinate::m_latitude, stride::util::GeoCoordinate::m_longitude, and PI.
Referenced by stride::ClusterCalculator< ClusterType::Household >::calculateSurface(), stride::ClusterCalculator< ClusterType::School >::calculateSurface(), stride::ClusterCalculator< ClusterType::Work >::calculateSurface(), stride::ClusterCalculator< ClusterType::PrimaryCommunity >::calculateSurface(), and stride::ClusterCalculator< ClusterType::SecondaryCommunity >::calculateSurface().
|
inlinestatic |
Definition at line 113 of file ClusterSaver.h.
Referenced by stride::ClusterCalculator< ClusterType::Household >::getClusterMap(), stride::ClusterCalculator< ClusterType::School >::getClusterMap(), stride::ClusterCalculator< ClusterType::Work >::getClusterMap(), stride::ClusterCalculator< ClusterType::PrimaryCommunity >::getClusterMap(), and stride::ClusterCalculator< ClusterType::SecondaryCommunity >::getClusterMap().
|
inlinestatic |
Calculate the used surface The middle point of cities is calculated, followed by the distance between this point and the furthest city The surface is then determined by calculating the surface of the circle determined by the middle and this distance (radius)
Definition at line 133 of file ClusterSaver.h.
|
inlinestatic |
Definition at line 137 of file ClusterSaver.h.