![]() |
Eclipse 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 40 of file VectorHelper.h.
|
inlinestatic |
Definition at line 130 of file VectorHelper.h.
|
inlinestatic |
Definition at line 63 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().
|
inlinestatic |
Definition at line 90 of file VectorHelper.h.
Referenced by NBNodeShapeComputer::badIntersection(), NBEdgeCont::guessOpposites(), NBEdge::isNearEnough2BeJoined2(), and NBEdge::startShapeAt().
|
inlinestatic |
Definition at line 100 of file VectorHelper.h.
Referenced by NBNodeShapeComputer::badIntersection().
|
inlinestatic |
Definition at line 50 of file VectorHelper.h.
References VectorHelper< T >::div(), VectorHelper< T >::set(), and VectorHelper< T >::sum().
Referenced by NWWriter_SUMO::writeDistrict().
|
inlinestatic |
Definition at line 120 of file VectorHelper.h.
|
inlinestatic |
Definition at line 110 of file VectorHelper.h.
|
inlinestatic |
Definition at line 69 of file VectorHelper.h.
Referenced by NIVissimConnectionCluster::add(), NIVissimEdge::buildConnectionClusters(), and NIVissimConnectionCluster::NIVissimConnectionCluster().
|
inlinestatic |
Definition at line 84 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 137 of file VectorHelper.h.
|
inlinestatic |
Definition at line 42 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().