PGROUTING
3.2
|
#include "pgr_randomSpanningTree.hpp"
Public Types | |
typedef G::E | E |
typedef G::V | V |
Public Member Functions | |
std::vector< pgr_randomSpanningTree_t > | randomSpanningTree (G &graph, int64_t root_vertex) |
Private Member Functions | |
std::vector< pgr_randomSpanningTree_t > | undirectedGraph (const G &graph, int64_t root_vertex) |
Private Attributes | |
std::vector< V > | predecessors |
Definition at line 47 of file pgr_randomSpanningTree.hpp.
typedef G::E Pgr_randomSpanningTree< G >::E |
Definition at line 57 of file pgr_randomSpanningTree.hpp.
typedef G::V Pgr_randomSpanningTree< G >::V |
Definition at line 56 of file pgr_randomSpanningTree.hpp.
std::vector< pgr_randomSpanningTree_t > Pgr_randomSpanningTree< G >::randomSpanningTree | ( | G & | graph, |
int64_t | root_vertex | ||
) |
|
inlineprivate |
Definition at line 69 of file pgr_randomSpanningTree.hpp.
References pgr_randomSpanningTree_t::cost, pgr_randomSpanningTree_t::edge, Pgr_randomSpanningTree< G >::predecessors, pgr_randomSpanningTree_t::root_vertex, and pgr_randomSpanningTree_t::tree_cost.
|
private |
Definition at line 65 of file pgr_randomSpanningTree.hpp.
Referenced by Pgr_randomSpanningTree< G >::undirectedGraph().