Stride Reference Manual  1.0
stride::ClusterCalculator< type > Class Template Reference

#include <LocalSimulatorAdapter.h>

Collaboration diagram for stride::ClusterCalculator< type >:
Collaboration graph

Static Public Member Functions

static double calcSurface (const vector< Cluster > &clusters)
 
static map< uint, uintgetClMap (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, uintgetClusterMap (const Simulator &local_sim)
 

Detailed Description

template<ClusterType type>
class stride::ClusterCalculator< type >

Definition at line 25 of file LocalSimulatorAdapter.h.

Member Function Documentation

template<ClusterType type>
static double stride::ClusterCalculator< type >::calculateSurface ( const Simulator local_sim)
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.

template<ClusterType type>
static map<uint, uint> stride::ClusterCalculator< type >::getClusterMap ( const Simulator local_sim)
inlinestatic

Definition at line 137 of file ClusterSaver.h.


The documentation for this class was generated from the following files: