Eclipse SUMO - Simulation of Urban MObility
|
#include <NBContHelper.h>
Data Structures | |
class | edge_by_angle_to_nodeShapeCentroid_sorter |
class | edge_by_priority_sorter |
class | edge_opposite_direction_sorter |
Class to sort edges by their angle in relation to the given edge. More... | |
class | edge_similar_direction_sorter |
class | edge_with_destination_finder |
class | node_with_incoming_finder |
class | node_with_outgoing_finder |
class | opposite_finder |
class | relative_incoming_edge_sorter |
class | relative_outgoing_edge_sorter |
class | same_connection_edge_sorter |
Static Public Member Functions | |
static NBEdge * | findConnectingEdge (const EdgeVector &edges, NBNode *from, NBNode *to) |
static double | getMaxSpeed (const EdgeVector &edges) |
static double | getMinSpeed (const EdgeVector &edges) |
static double | maxSpeed (const EdgeVector &ev) |
static void | nextCCW (const EdgeVector &edges, EdgeVector::const_iterator &from) |
static void | nextCW (const EdgeVector &edges, EdgeVector::const_iterator &from) |
static std::ostream & | out (std::ostream &os, const std::vector< bool > &v) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EdgeVector &ev) |
NBContHelper Some static helper methods that traverse a sorted list of edges in both directions
Definition at line 46 of file NBContHelper.h.
|
static |
Tries to return the first edge within the given container which connects both given nodes
Definition at line 66 of file NBContHelper.cpp.
|
static |
Definition at line 217 of file NBContHelper.cpp.
|
static |
Definition at line 232 of file NBContHelper.cpp.
|
static |
returns the maximum speed allowed on the edges
Definition at line 79 of file NBContHelper.cpp.
Referenced by NBTrafficLightDefinition::computeBrakingTime().
|
static |
Moves the given iterator counter clockwise within the given container of edges sorted clockwise
Definition at line 47 of file NBContHelper.cpp.
Referenced by NBRequest::computeRightOutgoingLinkCrossings(), NBNode::getNextCompatibleOutgoing(), NBOwnTLDef::patchNEMAStateForCrossings(), and NBNode::turnFoes().
|
static |
Moves the given iterator clockwise within the given container of edges sorted clockwise
Definition at line 38 of file NBContHelper.cpp.
Referenced by NBRequest::computeLeftOutgoingLinkCrossings(), NBNode::edgesBetween(), NBNodeShapeComputer::getDefaultRadius(), NBNode::getEdgesThatApproach(), NBNode::getNextCompatibleOutgoing(), NBRampsComputer::getOffRampEdges(), NBEdgeCont::guessRoundabouts(), NBNode::isLeftMover(), NBNode::isSimpleContinuation(), NBOwnTLDef::patchNEMAStateForCrossings(), NBRequest::setBlocking(), and NBNode::turnFoes().
|
static |
writes the vector of bools to the given stream
Definition at line 57 of file NBContHelper.cpp.
|
friend |
Definition at line 204 of file NBContHelper.cpp.