PGROUTING
3.2
|
#include "edgeInfo.h"
Public Member Functions | |
EdgeInfo ()=default | |
EdgeInfo (pgr_edge_t edgeIn, size_t edgeIndex) | |
void | connect_endEdge (size_t edge_idx) |
void | connect_startEdge (size_t edge_idx) |
double | cost () const |
int64_t | edgeID () const |
std::vector< size_t > | endConnectedEdge () const |
int64_t | endNode () const |
double | get_cost (int64_t node) const |
std::vector< size_t > | get_idx (bool isStart) const |
size_t | idx () const |
double | r_cost () const |
std::vector< size_t > | startConnectedEdge () const |
int64_t | startNode () const |
Private Attributes | |
pgr_edge_t | m_edge |
size_t | m_edgeIndex |
std::vector< size_t > | m_endConnectedEdge |
std::vector< size_t > | m_startConnectedEdge |
Definition at line 39 of file edgeInfo.h.
|
default |
pgrouting::trsp::EdgeInfo::EdgeInfo | ( | pgr_edge_t | edgeIn, |
size_t | edgeIndex | ||
) |
Definition at line 32 of file edgeInfo.cpp.
|
inline |
Definition at line 67 of file edgeInfo.h.
References m_endConnectedEdge.
Referenced by pgrouting::trsp::Pgr_trspHandler::connectEndEdge(), and pgrouting::trsp::Pgr_trspHandler::connectStartEdge().
|
inline |
Definition at line 70 of file edgeInfo.h.
References m_startConnectedEdge.
Referenced by pgrouting::trsp::Pgr_trspHandler::connectEndEdge(), and pgrouting::trsp::Pgr_trspHandler::connectStartEdge().
|
inline |
Definition at line 58 of file edgeInfo.h.
References pgr_edge_t::cost, and m_edge.
Referenced by pgrouting::trsp::Pgr_trspHandler::connectEndEdge(), pgrouting::trsp::Pgr_trspHandler::connectStartEdge(), pgrouting::trsp::Pgr_trspHandler::dijkstra_exploration(), get_cost(), and pgrouting::trsp::Pgr_trspHandler::initialize_que().
|
inline |
Definition at line 57 of file edgeInfo.h.
References pgr_edge_t::id, and m_edge.
|
inline |
|
inline |
Definition at line 53 of file edgeInfo.h.
References m_edge, pgassert, and pgr_edge_t::target.
Referenced by pgrouting::trsp::Pgr_trspHandler::connectEndEdge(), pgrouting::trsp::Pgr_trspHandler::connectStartEdge(), pgrouting::trsp::Pgr_trspHandler::dijkstra_exploration(), get_cost(), and pgrouting::trsp::Pgr_trspHandler::initialize_que().
|
inline |
|
inline |
Definition at line 82 of file edgeInfo.h.
References endConnectedEdge(), and startConnectedEdge().
Referenced by pgrouting::trsp::Pgr_trspHandler::explore().
|
inline |
Definition at line 47 of file edgeInfo.h.
References m_edgeIndex.
Referenced by pgrouting::trsp::Pgr_trspHandler::addEdge(), pgrouting::trsp::Pgr_trspHandler::explore(), and pgrouting::trsp::Pgr_trspHandler::initialize_que().
|
inline |
Definition at line 59 of file edgeInfo.h.
References m_edge, and pgr_edge_t::reverse_cost.
Referenced by pgrouting::trsp::Pgr_trspHandler::connectEndEdge(), pgrouting::trsp::Pgr_trspHandler::connectStartEdge(), pgrouting::trsp::Pgr_trspHandler::dijkstra_exploration(), get_cost(), and pgrouting::trsp::Pgr_trspHandler::initialize_que().
|
inline |
|
inline |
Definition at line 49 of file edgeInfo.h.
References m_edge, pgassert, and pgr_edge_t::source.
Referenced by pgrouting::trsp::Pgr_trspHandler::connectEndEdge(), pgrouting::trsp::Pgr_trspHandler::connectStartEdge(), pgrouting::trsp::Pgr_trspHandler::dijkstra_exploration(), get_cost(), and pgrouting::trsp::Pgr_trspHandler::initialize_que().
|
private |
Definition at line 90 of file edgeInfo.h.
Referenced by cost(), edgeID(), endNode(), r_cost(), and startNode().
|
private |
Definition at line 91 of file edgeInfo.h.
Referenced by idx().
|
private |
Definition at line 93 of file edgeInfo.h.
Referenced by connect_endEdge(), and endConnectedEdge().
|
private |
Definition at line 92 of file edgeInfo.h.
Referenced by connect_startEdge(), and startConnectedEdge().