Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
FlippedNode< E, N, V > Class Template Reference

the node type representing nodes used for backward search More...

#include <FlippedNode.h>

Public Types

typedef std::vector< const FlippedEdge< E, N, V > * > ConstFlippedEdgeVector
 

Public Member Functions

 FlippedNode (const N *originalNode)
 
const std::string & getID () const
 Returns the id(entifier) of the node.
 
const ConstFlippedEdgeVectorgetIncoming () const
 Returns the incoming edges of the node.
 
const N * getOriginalNode () const
 Returns the original node.
 
const ConstFlippedEdgeVectorgetOutgoing () const
 Returns the outgoing edges of the node.
 
const PositiongetPosition () const
 Returns the position of the node.
 
 ~FlippedNode ()
 Destructor.
 

Private Attributes

ConstFlippedEdgeVector myIncoming
 The incoming edges.
 
const N *const myOriginalNode
 The original node.
 
ConstFlippedEdgeVector myOutgoing
 The outgoing edges.
 

Detailed Description

template<class E, class N, class V>
class FlippedNode< E, N, V >

the node type representing nodes used for backward search

Definition at line 32 of file FlippedNode.h.

Member Typedef Documentation

◆ ConstFlippedEdgeVector

template<class E , class N , class V >
typedef std::vector<const FlippedEdge<E, N, V>*> FlippedNode< E, N, V >::ConstFlippedEdgeVector

Definition at line 34 of file FlippedNode.h.

Constructor & Destructor Documentation

◆ FlippedNode()

template<class E , class N , class V >
FlippedNode< E, N, V >::FlippedNode ( const N *  originalNode)
inline

Constructor

Parameters
[in]originalNodeThe original node

Definition at line 39 of file FlippedNode.h.

◆ ~FlippedNode()

template<class E , class N , class V >
FlippedNode< E, N, V >::~FlippedNode ( )
inline

Destructor.

Definition at line 43 of file FlippedNode.h.

Member Function Documentation

◆ getID()

template<class E , class N , class V >
const std::string & FlippedNode< E, N, V >::getID ( ) const
inline

Returns the id(entifier) of the node.

Returns
This node's id(entifier)

Definition at line 54 of file FlippedNode.h.

References FlippedNode< E, N, V >::myOriginalNode.

◆ getIncoming()

template<class E , class N , class V >
const ConstFlippedEdgeVector & FlippedNode< E, N, V >::getIncoming ( ) const
inline

Returns the incoming edges of the node.

Returns
The incoming edges of the node

Definition at line 61 of file FlippedNode.h.

References FlippedNode< E, N, V >::myIncoming, and FlippedNode< E, N, V >::myOriginalNode.

◆ getOriginalNode()

template<class E , class N , class V >
const N * FlippedNode< E, N, V >::getOriginalNode ( ) const
inline

Returns the original node.

Definition at line 85 of file FlippedNode.h.

References FlippedNode< E, N, V >::myOriginalNode.

◆ getOutgoing()

template<class E , class N , class V >
const ConstFlippedEdgeVector & FlippedNode< E, N, V >::getOutgoing ( ) const
inline

Returns the outgoing edges of the node.

Returns
The outgoing edges of the node

Definition at line 74 of file FlippedNode.h.

References FlippedNode< E, N, V >::myOriginalNode, and FlippedNode< E, N, V >::myOutgoing.

◆ getPosition()

template<class E , class N , class V >
const Position & FlippedNode< E, N, V >::getPosition ( ) const
inline

Returns the position of the node.

Returns
This node's position

Definition at line 48 of file FlippedNode.h.

References FlippedNode< E, N, V >::myOriginalNode.

Field Documentation

◆ myIncoming

template<class E , class N , class V >
ConstFlippedEdgeVector FlippedNode< E, N, V >::myIncoming
mutableprivate

The incoming edges.

Definition at line 92 of file FlippedNode.h.

Referenced by FlippedNode< E, N, V >::getIncoming().

◆ myOriginalNode

template<class E , class N , class V >
const N* const FlippedNode< E, N, V >::myOriginalNode
private

◆ myOutgoing

template<class E , class N , class V >
ConstFlippedEdgeVector FlippedNode< E, N, V >::myOutgoing
mutableprivate

The outgoing edges.

Definition at line 94 of file FlippedNode.h.

Referenced by FlippedNode< E, N, V >::getOutgoing().


The documentation for this class was generated from the following files: