PGROUTING
3.2
|
#include "pgr_maximumcardinalitymatching.hpp"
Public Types | |
typedef boost::graph_traits< G >::edge_descriptor | E |
typedef boost::graph_traits< G >::edge_iterator | E_it |
typedef boost::graph_traits< G >::vertex_descriptor | V |
typedef boost::graph_traits< G >::vertex_iterator | V_it |
Public Member Functions | |
PgrCardinalityGraph (pgr_basic_edge_t *data_edges, size_t total_tuples) | |
V | get_boost_vertex (int64_t id) |
int64_t | get_edge_id (E e) |
std::vector< pgr_basic_edge_t > | get_matched_vertices () |
int64_t | get_vertex_id (V v) |
void | maximum_cardinality_matching (std::vector< V > &mate_map) |
Public Attributes | |
G | boost_graph |
std::map< E, int64_t > | E_to_id |
std::map< int64_t, V > | id_to_V |
std::map< V, int64_t > | V_to_id |
Definition at line 55 of file pgr_maximumcardinalitymatching.hpp.
typedef boost::graph_traits<G>::edge_descriptor pgrouting::flow::PgrCardinalityGraph< G >::E |
Definition at line 60 of file pgr_maximumcardinalitymatching.hpp.
typedef boost::graph_traits<G>::edge_iterator pgrouting::flow::PgrCardinalityGraph< G >::E_it |
Definition at line 62 of file pgr_maximumcardinalitymatching.hpp.
typedef boost::graph_traits<G>::vertex_descriptor pgrouting::flow::PgrCardinalityGraph< G >::V |
Definition at line 59 of file pgr_maximumcardinalitymatching.hpp.
typedef boost::graph_traits<G>::vertex_iterator pgrouting::flow::PgrCardinalityGraph< G >::V_it |
Definition at line 61 of file pgr_maximumcardinalitymatching.hpp.
|
inline |
Definition at line 80 of file pgr_maximumcardinalitymatching.hpp.
References pgrouting::flow::PgrCardinalityGraph< G >::boost_graph, pgrouting::flow::PgrCardinalityGraph< G >::E_to_id, pgrouting::flow::PgrCardinalityGraph< G >::get_boost_vertex(), pgrouting::flow::PgrCardinalityGraph< G >::id_to_V, and pgrouting::flow::PgrCardinalityGraph< G >::V_to_id.
|
inline |
Definition at line 68 of file pgr_maximumcardinalitymatching.hpp.
References pgrouting::flow::PgrCardinalityGraph< G >::id_to_V.
Referenced by pgrouting::flow::PgrCardinalityGraph< G >::PgrCardinalityGraph().
|
inline |
Definition at line 76 of file pgr_maximumcardinalitymatching.hpp.
References pgrouting::flow::PgrCardinalityGraph< G >::E_to_id.
Referenced by pgrouting::flow::PgrCardinalityGraph< G >::get_matched_vertices().
|
inline |
Definition at line 110 of file pgr_maximumcardinalitymatching.hpp.
References pgrouting::flow::PgrCardinalityGraph< G >::boost_graph, pgr_basic_edge_t::edge_id, pgrouting::flow::PgrCardinalityGraph< G >::get_edge_id(), pgrouting::flow::PgrCardinalityGraph< G >::get_vertex_id(), pgrouting::flow::PgrCardinalityGraph< G >::maximum_cardinality_matching(), pgr_basic_edge_t::source, and pgr_basic_edge_t::target.
|
inline |
Definition at line 72 of file pgr_maximumcardinalitymatching.hpp.
References pgrouting::flow::PgrCardinalityGraph< G >::V_to_id.
Referenced by pgrouting::flow::PgrCardinalityGraph< G >::get_matched_vertices().
|
inline |
Definition at line 165 of file pgr_maximumcardinalitymatching.hpp.
References pgrouting::flow::PgrCardinalityGraph< G >::boost_graph.
Referenced by pgrouting::flow::PgrCardinalityGraph< G >::get_matched_vertices().
G pgrouting::flow::PgrCardinalityGraph< G >::boost_graph |
std::map<E, int64_t> pgrouting::flow::PgrCardinalityGraph< G >::E_to_id |
Definition at line 66 of file pgr_maximumcardinalitymatching.hpp.
Referenced by pgrouting::flow::PgrCardinalityGraph< G >::get_edge_id(), and pgrouting::flow::PgrCardinalityGraph< G >::PgrCardinalityGraph().
std::map<int64_t, V> pgrouting::flow::PgrCardinalityGraph< G >::id_to_V |
Definition at line 64 of file pgr_maximumcardinalitymatching.hpp.
Referenced by pgrouting::flow::PgrCardinalityGraph< G >::get_boost_vertex(), and pgrouting::flow::PgrCardinalityGraph< G >::PgrCardinalityGraph().
std::map<V, int64_t> pgrouting::flow::PgrCardinalityGraph< G >::V_to_id |
Definition at line 65 of file pgr_maximumcardinalitymatching.hpp.
Referenced by pgrouting::flow::PgrCardinalityGraph< G >::get_vertex_id(), and pgrouting::flow::PgrCardinalityGraph< G >::PgrCardinalityGraph().