PGROUTING
3.2
|
#include "pgr_sequentialVertexColoring.hpp"
Public Types | |
typedef G::E | E |
typedef boost::adjacency_list< boost::listS, boost::vecS, boost::undirectedS > | Graph |
typedef G::V | V |
typedef boost::graph_traits< Graph >::vertices_size_type | vertices_size_type |
SequentialVertexColoring | |
std::vector< pgr_vertex_color_rt > | sequentialVertexColoring (G &graph) |
sequentialVertexColoring function More... | |
std::vector< pgr_vertex_color_rt > | get_results (std::vector< vertices_size_type > &colors, const G &graph) |
to get the results More... | |
Definition at line 58 of file pgr_sequentialVertexColoring.hpp.
typedef G::E pgrouting::functions::Pgr_sequentialVertexColoring< G >::E |
Definition at line 61 of file pgr_sequentialVertexColoring.hpp.
typedef boost::adjacency_list< boost::listS, boost::vecS, boost::undirectedS > pgrouting::functions::Pgr_sequentialVertexColoring< G >::Graph |
Definition at line 62 of file pgr_sequentialVertexColoring.hpp.
typedef G::V pgrouting::functions::Pgr_sequentialVertexColoring< G >::V |
Definition at line 60 of file pgr_sequentialVertexColoring.hpp.
typedef boost::graph_traits< Graph >::vertices_size_type pgrouting::functions::Pgr_sequentialVertexColoring< G >::vertices_size_type |
Definition at line 63 of file pgr_sequentialVertexColoring.hpp.
|
inlineprivate |
to get the results
Uses the colors
vector to get the results i.e. the color of every vertex.
colors | vector which contains the color of every vertex |
graph | the graph containing the edges |
results
vector Definition at line 124 of file pgr_sequentialVertexColoring.hpp.
Referenced by pgrouting::functions::Pgr_sequentialVertexColoring< G >::sequentialVertexColoring().
|
inline |
sequentialVertexColoring function
It does all the processing and returns the results.
graph | the graph containing the edges |
Definition at line 81 of file pgr_sequentialVertexColoring.hpp.
References pgrouting::functions::Pgr_sequentialVertexColoring< G >::get_results().
Referenced by pgr_sequentialVertexColoring().