![]() |
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 41 of file VectorHelper.h.
|
inlinestatic |
Definition at line 131 of file VectorHelper.h.
|
inlinestatic |
Definition at line 64 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().
|
inlinestatic |
Definition at line 91 of file VectorHelper.h.
Referenced by NBNodeShapeComputer::badIntersection(), NBEdgeCont::guessOpposites(), NBEdge::isNearEnough2BeJoined2(), and NBEdge::startShapeAt().
|
inlinestatic |
Definition at line 101 of file VectorHelper.h.
Referenced by NBNodeShapeComputer::badIntersection().
|
inlinestatic |
Definition at line 51 of file VectorHelper.h.
References VectorHelper< T >::div(), and VectorHelper< T >::sum().
Referenced by NWWriter_SUMO::writeDistrict().
|
inlinestatic |
Definition at line 121 of file VectorHelper.h.
|
inlinestatic |
Definition at line 111 of file VectorHelper.h.
|
inlinestatic |
Definition at line 70 of file VectorHelper.h.
Referenced by NIVissimConnectionCluster::add(), NIVissimEdge::buildConnectionClusters(), and NIVissimConnectionCluster::NIVissimConnectionCluster().
|
inlinestatic |
Definition at line 85 of file VectorHelper.h.
|
inlinestatic |
Returns the information whether at least one element is within both vectors.
Definition at line 138 of file VectorHelper.h.
|
inlinestatic |
Definition at line 43 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().