|
PGROUTING
3.2
|
Go to the documentation of this file.
29 #ifndef INCLUDE_CPP_COMMON_CH_VERTEX_H_
30 #define INCLUDE_CPP_COMMON_CH_VERTEX_H_
46 id(is_source? other.source : other.target)
66 std::vector < CH_vertex >
70 std::vector < CH_vertex >
72 const std::vector < pgr_edge_t > &data_edges);
76 #endif // INCLUDE_CPP_COMMON_CH_VERTEX_H_
friend std::ostream & operator<<(std::ostream &os, const CH_vertex &v)
void cp_members(const CH_vertex &other)
bool has_contracted_vertices() const
size_t check_vertices(std::vector< Basic_vertex > vertices)
CH_vertex(const pgr_edge_t &other, bool is_source)
void add_contracted_vertex(CH_vertex &v)
void clear_contracted_vertices()
void add_vertex_id(int64_t vid)
const Identifiers< int64_t > & contracted_vertices() const
std::vector< Basic_vertex > extract_vertices(std::vector< Basic_vertex > vertices, const std::vector< pgr_edge_t > data_edges)
Book keeping class for swapping orders between vehicles.
Identifiers< int64_t > m_contracted_vertices