pgRouting
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgrouting::contraction Namespace Reference

Classes

class  Edge
 
class  Vertex
 

Functions

size_t check_vertices (std::vector< Vertex > vertices)
 
std::vector< Vertexextract_vertices (const std::vector< pgr_edge_t > &data_edges)
 
std::vector< Vertexextract_vertices (const pgr_edge_t *data_edges, int64_t count)
 
std::ostream & operator<< (std::ostream &os, const Vertex &v)
 
std::ostream & operator<< (std::ostream &os, const Edge &e)
 

Function Documentation

size_t pgrouting::contraction::check_vertices ( std::vector< Vertex vertices)

Definition at line 68 of file ch_vertex.cpp.

References pgrouting::contraction::Vertex::id.

std::vector< Vertex > pgrouting::contraction::extract_vertices ( const std::vector< pgr_edge_t > &  data_edges)
std::vector< Vertex > pgrouting::contraction::extract_vertices ( const pgr_edge_t data_edges,
int64_t  count 
)

Definition at line 112 of file ch_vertex.cpp.

References extract_vertices().

std::ostream& pgrouting::contraction::operator<< ( std::ostream &  os,
const Vertex v 
)