31template<
class E,
class N,
class V>
54 const std::string&
getID()
const {
63 const std::vector<const E*>& incoming =
myOriginalNode->getOutgoing();
64 for (
const E* edge : incoming) {
65 myIncoming.push_back(edge->getFlippedRoutingEdge());
76 const std::vector<const E*>& outgoing =
myOriginalNode->getIncoming();
77 for (
const E* edge : outgoing) {
78 myOutgoing.push_back(edge->getFlippedRoutingEdge());
the node type representing nodes used for backward search
const N *const myOriginalNode
The original node.
const ConstFlippedEdgeVector & getIncoming() const
Returns the incoming edges of the node.
FlippedNode(const N *originalNode)
~FlippedNode()
Destructor.
const N * getOriginalNode() const
Returns the original node.
const Position & getPosition() const
Returns the position of the node.
const std::string & getID() const
Returns the id(entifier) of the node.
std::vector< const FlippedEdge< E, N, V > * > ConstFlippedEdgeVector
ConstFlippedEdgeVector myOutgoing
The outgoing edges.
const ConstFlippedEdgeVector & getOutgoing() const
Returns the outgoing edges of the node.
ConstFlippedEdgeVector myIncoming
The incoming edges.
A point in 2D or 3D with translation and scaling methods.