PGROUTING
3.2
|
#include "ch_vertex.h"
Public Member Functions | |
CH_vertex ()=default | |
CH_vertex (const CH_vertex &)=default | |
CH_vertex (const pgr_edge_t &other, bool is_source) | |
void | add_contracted_vertex (CH_vertex &v) |
void | add_vertex_id (int64_t vid) |
void | clear_contracted_vertices () |
Identifiers< int64_t > & | contracted_vertices () |
const Identifiers< int64_t > & | contracted_vertices () const |
void | cp_members (const CH_vertex &other) |
bool | has_contracted_vertices () const |
Public Attributes | |
int64_t | id |
Private Attributes | |
Identifiers< int64_t > | m_contracted_vertices |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CH_vertex &v) |
Definition at line 40 of file ch_vertex.h.
|
default |
|
default |
|
inline |
Definition at line 45 of file ch_vertex.h.
void pgrouting::CH_vertex::add_contracted_vertex | ( | CH_vertex & | v | ) |
Definition at line 55 of file ch_vertex.cpp.
References contracted_vertices(), id, and m_contracted_vertices.
|
inline |
|
inline |
Definition at line 56 of file ch_vertex.h.
References Identifiers< T >::clear(), and m_contracted_vertices.
Identifiers<int64_t>& pgrouting::CH_vertex::contracted_vertices | ( | ) |
Identifiers< int64_t > & pgrouting::CH_vertex::contracted_vertices | ( | ) | const |
Definition at line 39 of file ch_vertex.cpp.
References m_contracted_vertices.
Referenced by pgrouting::CH_edge::add_contracted_vertex(), add_contracted_vertex(), and pgrouting::operator<<().
|
inline |
bool pgrouting::CH_vertex::has_contracted_vertices | ( | ) | const |
Definition at line 49 of file ch_vertex.cpp.
References m_contracted_vertices, and Identifiers< T >::size().
|
friend |
Definition at line 60 of file ch_vertex.cpp.
int64_t pgrouting::CH_vertex::id |
Definition at line 42 of file ch_vertex.h.
Referenced by pgrouting::CH_edge::add_contracted_vertex(), add_contracted_vertex(), cp_members(), and pgrouting::operator<<().
|
private |
Definition at line 59 of file ch_vertex.h.
Referenced by add_contracted_vertex(), add_vertex_id(), clear_contracted_vertices(), contracted_vertices(), and has_contracted_vertices().