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. | |
static T | sum (const std::vector< T > &v) |
Definition at line 37 of file VectorHelper.h.
|
inlinestatic |
Definition at line 127 of file VectorHelper.h.
|
inlinestatic |
Definition at line 60 of file VectorHelper.h.
Referenced by VectorHelper< T >::normaliseSum().
|
inlinestatic |
Definition at line 87 of file VectorHelper.h.
Referenced by NBNodeShapeComputer::badIntersection(), NBNode::cutAtShapes(), NBEdge::guessOpposite(), NBNodeShapeComputer::isDivided(), NBEdge::isNearEnough2BeJoined2(), and NBEdge::startShapeAt().
|
inlinestatic |
Definition at line 97 of file VectorHelper.h.
Referenced by NBNodeShapeComputer::badIntersection(), NBNode::cutAtShapes(), and NWWriter_OpenDrive::mapmatchRoadObjects().
|
inlinestatic |
Definition at line 47 of file VectorHelper.h.
References VectorHelper< T >::div(), VectorHelper< T >::set(), and VectorHelper< T >::sum().
Referenced by NWWriter_SUMO::writeDistrict().
|
inlinestatic |
Definition at line 117 of file VectorHelper.h.
|
inlinestatic |
Definition at line 107 of file VectorHelper.h.
|
inlinestatic |
Definition at line 66 of file VectorHelper.h.
Referenced by NIVissimConnectionCluster::add(), NIVissimEdge::buildConnectionClusters(), NIVissimConnectionCluster::NIVissimConnectionCluster(), and NIVissimConnectionCluster::NIVissimConnectionCluster().
|
inlinestatic |
Definition at line 81 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 134 of file VectorHelper.h.
|
inlinestatic |
Definition at line 39 of file VectorHelper.h.
References VectorHelper< T >::sum().
Referenced by VectorHelper< T >::normaliseSum(), and VectorHelper< T >::sum().