SUMO - Simulation of Urban MObility
|
#include <VectorHelper.h>
Static Public Member Functions | |
static void | add2All (std::vector< T > &v, T what) |
static void | div (std::vector< T > &v, T by) |
static T | maxValue (const std::vector< T > &v) |
static T | minValue (const std::vector< T > &v) |
static void | normaliseSum (std::vector< T > &v, T msum=1.0) |
static void | remove_larger_than (std::vector< T > &v, T swell) |
static void | remove_smaller_than (std::vector< T > &v, T swell) |
static void | removeDouble (std::vector< T > &v) |
static void | set (std::vector< T > &v, T to) |
static bool | subSetExists (const std::vector< T > &v1, const std::vector< T > &v2) |
Returns the information whether at least one element is within both vectors. More... | |
static T | sum (const std::vector< T > &v) |
Definition at line 48 of file VectorHelper.h.
|
inlinestatic |
Definition at line 138 of file VectorHelper.h.
|
inlinestatic |
Definition at line 71 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().
|
inlinestatic |
Definition at line 98 of file VectorHelper.h.
References max.
Referenced by NBNodeShapeComputer::badIntersection(), NBEdge::isNearEnough2BeJoined2(), and NBEdge::startShapeAt().
|
inlinestatic |
Definition at line 108 of file VectorHelper.h.
References max.
Referenced by NBNodeShapeComputer::badIntersection().
|
inlinestatic |
Definition at line 58 of file VectorHelper.h.
References VectorHelper< T >::div(), VectorHelper< T >::set(), and VectorHelper< T >::sum().
Referenced by NWWriter_SUMO::writeDistrict().
|
inlinestatic |
Definition at line 128 of file VectorHelper.h.
|
inlinestatic |
Definition at line 118 of file VectorHelper.h.
|
inlinestatic |
Definition at line 77 of file VectorHelper.h.
Referenced by NIVissimConnectionCluster::add(), NIVissimEdge::buildConnectionClusters(), and NIVissimConnectionCluster::NIVissimConnectionCluster().
|
inlinestatic |
Definition at line 92 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().
|
inlinestatic |
Returns the information whether at least one element is within both vectors.
Definition at line 145 of file VectorHelper.h.
|
inlinestatic |
Definition at line 50 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().