PGROUTING
3.2
|
#include "pgr_lineGraphFull.hpp"
Public Types | |||||||||||||||||||||||||
typedef boost::graph_traits< G >::edge_descriptor | E | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::edge_iterator | E_i | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::in_edge_iterator | EI_i | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::out_edge_iterator | EO_i | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::vertex_descriptor | V | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::vertex_iterator | V_i | ||||||||||||||||||||||||
Id handling related types | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
typedef std::map< int64_t, V > | id_to_V | ||||||||||||||||||||||||
typedef id_to_V::const_iterator | LI | ||||||||||||||||||||||||
Id handling related types | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
typedef std::map< int64_t, V > | id_to_V | ||||||||||||||||||||||||
typedef id_to_V::const_iterator | LI | ||||||||||||||||||||||||
Graph related types | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
typedef G | B_G | ||||||||||||||||||||||||
typedef T_E | G_T_E | ||||||||||||||||||||||||
typedef T_V | G_T_V | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::vertices_size_type | vertices_size_type | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::edges_size_type | edges_size_type | ||||||||||||||||||||||||
typedef boost::graph_traits< G >::degree_size_type | degree_size_type | ||||||||||||||||||||||||
Id handling related types | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
typedef std::map< int64_t, V > | id_to_V | ||||||||||||||||||||||||
typedef id_to_V::const_iterator | LI | ||||||||||||||||||||||||
Public Member Functions | |
Pgr_lineGraphFull (const graphType >ype) | |
Pgr_lineGraphFull (const pgrouting::DirectedGraph &digraph) | |
std::vector< Line_graph_full_rt > | get_postgres_results_directed () |
boost wrappers with original id | |
degree_size_type | out_degree (int64_t vertex_id) const |
get the out-degree of a vertex More... | |
degree_size_type | in_degree (int64_t vertex_id) const |
V | get_V (const T_V &vertex) |
get the vertex descriptor of the vertex When the vertex does not exist More... | |
V | get_V (int64_t vid) const |
get the vertex descriptor of the vid Call has_vertex(vid) before calling this function More... | |
bool | has_vertex (int64_t vid) const |
True when vid is in the graph. More... | |
to be or not to be | |
bool | is_directed () const |
bool | is_undirected () const |
bool | is_source (V v_idx, E e_idx) const |
bool | is_target (V v_idx, E e_idx) const |
boost wrappers with V | |
T_E & | operator[] (E e_idx) |
const T_E & | operator[] (E e_idx) const |
T_V & | operator[] (V v_idx) |
const T_V & | operator[] (V v_idx) const |
V | source (E e_idx) const |
V | target (E e_idx) const |
V | adjacent (V v_idx, E e_idx) const |
degree_size_type | in_degree (V &v) const |
in degree of a vertex More... | |
degree_size_type | out_degree (V &v) const |
out degree of a vertex More... | |
edge disconection/reconnection | |
void | disconnect_edge (int64_t p_from, int64_t p_to) |
Disconnects all edges from p_from to p_to. More... | |
void | disconnect_out_going_edge (int64_t vertex_id, int64_t edge_id) |
Disconnects the outgoing edges of a vertex. More... | |
void | disconnect_vertex (int64_t p_vertex) |
Disconnects all incoming and outgoing edges from the vertex. More... | |
void | disconnect_vertex (V vertex) |
void | restore_graph () |
Reconnects all edges that were removed. More... | |
boost wrappers with original id | |
degree_size_type | out_degree (int64_t vertex_id) const |
get the out-degree of a vertex More... | |
degree_size_type | in_degree (int64_t vertex_id) const |
V | get_V (const T_V &vertex) |
get the vertex descriptor of the vertex When the vertex does not exist More... | |
V | get_V (int64_t vid) const |
get the vertex descriptor of the vid Call has_vertex(vid) before calling this function More... | |
bool | has_vertex (int64_t vid) const |
True when vid is in the graph. More... | |
boost wrappers with V | |
degree_size_type | out_degree (V &v) const |
out degree of a vertex More... | |
degree_size_type | in_degree (V &v) const |
in degree of a vertex More... | |
T_E & | operator[] (E e_idx) |
const T_E & | operator[] (E e_idx) const |
T_V & | operator[] (V v_idx) |
const T_V & | operator[] (V v_idx) const |
V | source (E e_idx) const |
V | target (E e_idx) const |
V | adjacent (V v_idx, E e_idx) const |
to be or not to be | |
bool | is_directed () const |
bool | is_undirected () const |
bool | is_source (V v_idx, E e_idx) const |
bool | is_target (V v_idx, E e_idx) const |
edge disconection/reconnection | |
void | disconnect_edge (int64_t p_from, int64_t p_to) |
Disconnects all edges from p_from to p_to. More... | |
void | disconnect_out_going_edge (int64_t vertex_id, int64_t edge_id) |
Disconnects the outgoing edges of a vertex. More... | |
void | disconnect_vertex (int64_t p_vertex) |
Disconnects all incoming and outgoing edges from the vertex. More... | |
void | disconnect_vertex (V vertex) |
void | restore_graph () |
Reconnects all edges that were removed. More... | |
only for stand by program | |
int64_t | get_edge_id (V from, V to, double &distance) const |
E | get_edge (V from, V to, double &distance) const |
size_t | num_vertices () const |
size_t | num_edges () const |
void | graph_add_edge (const T_E &edge) |
template<typename T > | |
void | graph_add_edge (const T &edge, bool normal=true) |
template<typename T > | |
void | graph_add_min_edge_no_parallel (const T &edge) |
template<typename T > | |
void | graph_add_neg_edge (const T &edge, bool normal=true) |
template<typename T > | |
void | graph_add_edge_no_create_vertex (const T &edge) |
Use this function when the vertices are already inserted in the graph. More... | |
boost wrappers with original id | |
degree_size_type | out_degree (int64_t vertex_id) const |
get the out-degree of a vertex More... | |
degree_size_type | in_degree (int64_t vertex_id) const |
V | get_V (const T_V &vertex) |
get the vertex descriptor of the vertex When the vertex does not exist More... | |
V | get_V (int64_t vid) const |
get the vertex descriptor of the vid Call has_vertex(vid) before calling this function More... | |
bool | has_vertex (int64_t vid) const |
True when vid is in the graph. More... | |
boost wrappers with V | |
degree_size_type | out_degree (V &v) const |
out degree of a vertex More... | |
degree_size_type | in_degree (V &v) const |
in degree of a vertex More... | |
T_E & | operator[] (E e_idx) |
const T_E & | operator[] (E e_idx) const |
T_V & | operator[] (V v_idx) |
const T_V & | operator[] (V v_idx) const |
V | source (E e_idx) const |
V | target (E e_idx) const |
V | adjacent (V v_idx, E e_idx) const |
to be or not to be | |
bool | is_directed () const |
bool | is_undirected () const |
bool | is_source (V v_idx, E e_idx) const |
bool | is_target (V v_idx, E e_idx) const |
edge disconection/reconnection | |
void | disconnect_edge (int64_t p_from, int64_t p_to) |
Disconnects all edges from p_from to p_to. More... | |
void | disconnect_out_going_edge (int64_t vertex_id, int64_t edge_id) |
Disconnects the outgoing edges of a vertex. More... | |
void | disconnect_vertex (int64_t p_vertex) |
Disconnects all incoming and outgoing edges from the vertex. More... | |
void | disconnect_vertex (V vertex) |
void | restore_graph () |
Reconnects all edges that were removed. More... | |
only for stand by program | |
int64_t | get_edge_id (V from, V to, double &distance) const |
E | get_edge (V from, V to, double &distance) const |
size_t | num_vertices () const |
size_t | num_edges () const |
void | graph_add_edge (const T_E &edge) |
template<typename T > | |
void | graph_add_edge (const T &edge, bool normal=true) |
template<typename T > | |
void | graph_add_min_edge_no_parallel (const T &edge) |
template<typename T > | |
void | graph_add_neg_edge (const T &edge, bool normal=true) |
template<typename T > | |
void | graph_add_edge_no_create_vertex (const T &edge) |
Use this function when the vertices are already inserted in the graph. More... | |
Public Attributes | |
std::ostringstream | log |
Graph Modification | |
std::deque< T_E > | removed_edges |
Used for storing the removed_edges. More... | |
The Graph | |
G | graph |
The graph. More... | |
graphType | m_gType |
type (DIRECTED or UNDIRECTED) More... | |
Graph Modification | |
std::deque< T_E > | removed_edges |
Used for storing the removed_edges. More... | |
The Graph | |
G | graph |
The graph. More... | |
graphType | m_gType |
type (DIRECTED or UNDIRECTED) More... | |
Graph Modification | |
std::deque< T_E > | removed_edges |
Used for storing the removed_edges. More... | |
Private Member Functions | |
void | apply_transformation (const pgrouting::DirectedGraph &digraph) |
template<typename T > | |
void | graph_add_edge (int64_t _id, const T &source, const T &target, int64_t source_in_edge, int64_t source_out_edge) |
void | insert_vertex (int64_t original_vertex_id, int64_t original_edge_id) |
void | store_edge_costs (const pgrouting::DirectedGraph &digraph) |
Private Attributes | |
std::map< int64_t, double > | m_edge_costs |
int64_t | m_num_edges |
std::map< int64_t, std::pair< int64_t, int64_t > > | m_transformation_map |
std::map< std::pair< int64_t, int64_t >, int64_t > | m_vertex_map |
Friends | |
std::ostream & | operator<< (std::ostream &log, const Pgr_lineGraphFull< G, T_V, T_E > &g) |
Id mapping handling | |
typedef std::map< V, size_t > | IndexMap |
id_to_V | vertices_map |
id -> graph id More... | |
boost::property_map< G, boost::vertex_index_t >::type | vertIndex |
IndexMap | mapIndex |
boost::associative_property_map< IndexMap > | propmapIndex |
Insert edges | |
template<typename T > | |
void | insert_edges (const T *edges, size_t count) |
Inserts count edges of type T into the graph. More... | |
template<typename T > | |
void | insert_edges (T *edges, size_t count, bool) |
template<typename T > | |
void | insert_edges (const std::vector< T > &edges, bool normal=true) |
Inserts count edges of type pgr_edge_t into the graph The set of edges should not have an illegal vertex defined When the graph is empty calls: More... | |
template<typename T > | |
void | insert_edges_neg (const T *edges, size_t count) |
template<typename T > | |
void | insert_negative_edges (const T *edges, int64_t count) |
template<typename T > | |
void | insert_negative_edges (const std::vector< T > &edges, bool normal=true) |
template<typename T > | |
void | insert_min_edges_no_parallel (const T *edges, size_t count) |
template<typename T > | |
void | insert_min_edges_no_parallel (const std::vector< T > &edges) |
void | add_vertices (std::vector< T_V > vertices) |
adds the vertices into the graph More... | |
Definition at line 47 of file pgr_lineGraphFull.hpp.
|
inherited |
Definition at line 226 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 241 of file pgr_base_graph.hpp.
typedef boost::graph_traits< G >::edge_descriptor pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::E |
Definition at line 50 of file pgr_lineGraphFull.hpp.
typedef boost::graph_traits< G >::edge_iterator pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::E_i |
Definition at line 52 of file pgr_lineGraphFull.hpp.
|
inherited |
Definition at line 239 of file pgr_base_graph.hpp.
typedef boost::graph_traits< G >::in_edge_iterator pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::EI_i |
Definition at line 54 of file pgr_lineGraphFull.hpp.
typedef boost::graph_traits< G >::out_edge_iterator pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::EO_i |
Definition at line 53 of file pgr_lineGraphFull.hpp.
|
inherited |
Definition at line 227 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 228 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 253 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 271 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 254 of file pgr_base_graph.hpp.
typedef boost::graph_traits< G >::vertex_descriptor pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::V |
Definition at line 49 of file pgr_lineGraphFull.hpp.
typedef boost::graph_traits< G >::vertex_iterator pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::V_i |
Definition at line 51 of file pgr_lineGraphFull.hpp.
|
inherited |
Definition at line 237 of file pgr_base_graph.hpp.
|
inlineexplicit |
Definition at line 57 of file pgr_lineGraphFull.hpp.
|
inlineexplicit |
Definition at line 62 of file pgr_lineGraphFull.hpp.
References pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::apply_transformation(), and pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::store_edge_costs().
|
inlineprivateinherited |
adds the vertices into the graph
PRECONDITIONS:
POSTCONDITIONS:
Example use:
Definition at line 462 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges().
|
inlineinherited |
Definition at line 562 of file pgr_base_graph.hpp.
Referenced by pgrouting::alphashape::Pgr_alphaShape::make_triangles().
|
inlineprivate |
Definition at line 229 of file pgr_lineGraphFull.hpp.
References pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::graph, pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::insert_vertex(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::m_num_edges, and pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::source().
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::Pgr_lineGraphFull().
|
inherited |
Disconnects all edges from p_from to p_to.
[in] | p_from | original vertex id of the starting point of the edge |
[in] | p_to | original vertex id of the ending point of the edge |
Definition at line 765 of file pgr_base_graph.hpp.
|
inherited |
Disconnects the outgoing edges of a vertex.
[in] | vertex_id | original vertex |
[in] | edge_id | original edge_id |
Definition at line 794 of file pgr_base_graph.hpp.
|
inherited |
Disconnects all incoming and outgoing edges from the vertex.
boost::graph doesn't recommend th to insert/remove vertices, so a vertex removal is simulated by disconnecting the vertex from the graph
[in] | p_vertex | original vertex id of the starting point of the edge |
Definition at line 826 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 833 of file pgr_base_graph.hpp.
|
inlineinherited |
Definition at line 671 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 878 of file pgr_base_graph.hpp.
|
inline |
Definition at line 89 of file pgr_lineGraphFull.hpp.
References pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::graph, pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::log, pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::m_edge_costs, pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::m_transformation_map, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::source(), and pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::target().
|
inlineinherited |
get the vertex descriptor of the vertex When the vertex does not exist
Definition at line 512 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::graph_add_edge_no_create_vertex(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::in_degree(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::out_degree().
|
inlineinherited |
get the vertex descriptor of the vid Call has_vertex(vid) before calling this function
Definition at line 528 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 936 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 908 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges().
|
inlineprivate |
Definition at line 194 of file pgr_lineGraphFull.hpp.
References pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::get_V(), pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::graph, pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::m_vertex_map, pgassert, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::source(), pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::target(), and pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::vertices_map.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::apply_transformation().
|
inlineinherited |
Use this function when the vertices are already inserted in the graph.
Definition at line 721 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges().
|
inherited |
Definition at line 972 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_min_edges_no_parallel().
|
inherited |
Definition at line 1035 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_negative_edges().
|
inlineinherited |
True when vid is in the graph.
Definition at line 534 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::add_vertices(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_V(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::graph_add_edge_no_create_vertex(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::in_degree(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::out_degree(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::Pgr_base_graph().
|
inlineinherited |
Definition at line 497 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::in_degree().
|
inlineinherited |
in degree of a vertex
Definition at line 576 of file pgr_base_graph.hpp.
|
inlineinherited |
Inserts count edges of type pgr_edge_t into the graph The set of edges should not have an illegal vertex defined When the graph is empty calls:
edges | |
normal |
Definition at line 395 of file pgr_base_graph.hpp.
|
inlineinherited |
Inserts count edges of type T into the graph.
Converts the edges to a std::vector<T> & calls the overloaded twin function.
edges | |
count |
Definition at line 357 of file pgr_base_graph.hpp.
Referenced by do_pgr_articulationPoints(), do_pgr_astarManyToMany(), do_pgr_bdAstar(), do_pgr_bdDijkstra(), do_pgr_bellman_ford(), do_pgr_bellman_ford_neg(), do_pgr_biconnectedComponents(), do_pgr_binaryBreadthFirstSearch(), do_pgr_bipartite(), do_pgr_boyerMyrvold(), do_pgr_breadthFirstSearch(), do_pgr_bridges(), do_pgr_combinations_dijkstra(), do_pgr_connectedComponents(), do_pgr_dagShortestPath(), do_pgr_depthFirstSearch(), do_pgr_dijkstraVia(), do_pgr_driving_many_to_dist(), do_pgr_edwardMoore(), do_pgr_floydWarshall(), do_pgr_isPlanar(), do_pgr_johnson(), do_pgr_kruskal(), do_pgr_ksp(), do_pgr_LTDTree(), do_pgr_makeConnected(), do_pgr_many_to_many_dijkstra(), do_pgr_many_withPointsDD(), do_pgr_randomSpanningTree(), do_pgr_sequentialVertexColoring(), do_pgr_stoerWagner(), do_pgr_strongComponents(), do_pgr_topologicalSort(), do_pgr_transitiveClosure(), do_pgr_turnRestrictedPath(), do_pgr_withPoints(), do_pgr_withPointsKsp(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges_neg(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_min_edges_no_parallel(), and pgrouting::alphashape::Pgr_alphaShape::Pgr_alphaShape().
|
inlineinherited |
Definition at line 367 of file pgr_base_graph.hpp.
|
inlineinherited |
Definition at line 362 of file pgr_base_graph.hpp.
Referenced by do_pgr_lineGraph(), and do_pgr_lineGraphFull().
|
inlineinherited |
Definition at line 416 of file pgr_base_graph.hpp.
|
inlineinherited |
Definition at line 410 of file pgr_base_graph.hpp.
Referenced by do_pgr_prim().
|
inlineinherited |
Definition at line 423 of file pgr_base_graph.hpp.
|
inlineinherited |
Definition at line 376 of file pgr_base_graph.hpp.
Referenced by do_pgr_bellman_ford_neg(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_negative_edges().
|
inlineprivate |
Definition at line 169 of file pgr_lineGraphFull.hpp.
References pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::graph, pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::m_transformation_map, pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::m_vertex_map, pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::num_vertices(), and pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::vertices_map.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::apply_transformation().
|
inlineinherited |
Definition at line 543 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::graph_add_edge_no_create_vertex(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::in_degree().
|
inlineinherited |
Definition at line 545 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::adjacent().
|
inlineinherited |
Definition at line 546 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::adjacent().
|
inlineinherited |
Definition at line 544 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::graph_add_edge_no_create_vertex().
|
inlineinherited |
Definition at line 704 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::graph_add_edge().
|
inlineinherited |
Definition at line 703 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::add_one_vertex(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::add_vertices(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_V(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges(), and pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::insert_vertex().
|
inlineinherited |
Definition at line 554 of file pgr_base_graph.hpp.
|
inlineinherited |
Definition at line 555 of file pgr_base_graph.hpp.
|
inlineinherited |
Definition at line 557 of file pgr_base_graph.hpp.
|
inlineinherited |
Definition at line 558 of file pgr_base_graph.hpp.
|
inlineinherited |
get the out-degree of a vertex
[in] | vertex_id | original vertex id |
Definition at line 489 of file pgr_base_graph.hpp.
Referenced by pgrouting::algorithms::bridges(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::in_degree(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::out_degree().
|
inlineinherited |
out degree of a vertex
regardles of undirected or directed graph
Definition at line 587 of file pgr_base_graph.hpp.
|
inherited |
|
inlineinherited |
Definition at line 560 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::adjacent(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::apply_transformation(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_edge(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::get_postgres_results_directed(), pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::get_postgres_results_directed(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::is_source(), pgrouting::alphashape::Pgr_alphaShape::make_triangles(), and pgrouting::alphashape::Pgr_alphaShape::radius().
|
inlineprivate |
Definition at line 184 of file pgr_lineGraphFull.hpp.
References pgrouting::graph::Pgr_base_graph< G, T_V, T_E >::graph, and pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::m_edge_costs.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::Pgr_lineGraphFull().
|
inlineinherited |
Definition at line 561 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::adjacent(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_edge(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::get_postgres_results_directed(), pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::get_postgres_results_directed(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::insert_edges(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::is_target(), pgrouting::alphashape::Pgr_alphaShape::make_triangles(), and pgrouting::alphashape::Pgr_alphaShape::radius().
|
friend |
Definition at line 68 of file pgr_lineGraphFull.hpp.
|
inherited |
The graph.
Definition at line 260 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::add_one_vertex(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::add_vertices(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::apply_transformation(), pgrouting::algorithms::articulationPoints(), pgrouting::algorithms::biconnectedComponents(), pgrouting::algorithms::bridges(), pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::create_edges(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_edge(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::get_postgres_results_directed(), pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::get_postgres_results_directed(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_V(), pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::graph_add_edge_no_create_vertex(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::in_degree(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::insert_vertex(), pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::insert_vertices(), pgrouting::alphashape::Pgr_alphaShape::make_triangles(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::num_edges(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::num_vertices(), pgrouting::alphashape::Pgr_alphaShape::operator()(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::operator[](), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::out_degree(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::Pgr_base_graph(), pgrouting::algorithms::pgr_connectedComponents(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::source(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::store_edge_costs(), pgrouting::algorithms::strongComponents(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::target().
std::ostringstream pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::log |
Definition at line 304 of file pgr_lineGraphFull.hpp.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::get_postgres_results_directed().
|
private |
Definition at line 299 of file pgr_lineGraphFull.hpp.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::get_postgres_results_directed(), and pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::store_edge_costs().
|
inherited |
type (DIRECTED or UNDIRECTED)
Definition at line 261 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::is_directed(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::is_undirected().
|
private |
Definition at line 298 of file pgr_lineGraphFull.hpp.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::apply_transformation().
|
private |
Definition at line 300 of file pgr_lineGraphFull.hpp.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::get_postgres_results_directed(), and pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::insert_vertex().
|
private |
Definition at line 301 of file pgr_lineGraphFull.hpp.
Referenced by pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::graph_add_edge(), and pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::insert_vertex().
|
inherited |
Definition at line 272 of file pgr_base_graph.hpp.
|
inherited |
Definition at line 273 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_V().
|
inherited |
Used for storing the removed_edges.
Definition at line 281 of file pgr_base_graph.hpp.
|
inherited |
id -> graph id
Definition at line 267 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_lineGraph< G, T_V, T_E >::add_one_vertex(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::add_vertices(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::get_V(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::graph_add_edge(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::graph_add_edge_no_create_vertex(), pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::has_vertex(), pgrouting::graph::Pgr_lineGraphFull< G, T_V, T_E >::insert_vertex(), and pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::Pgr_base_graph().
|
inherited |
Definition at line 269 of file pgr_base_graph.hpp.
Referenced by pgrouting::graph::Pgr_base_graph< BG, XY_vertex, Basic_edge >::Pgr_base_graph().