PGROUTING
3.2
|
#include "ch_edge.h"
Public Member Functions | |
CH_edge ()=default | |
CH_edge (int64_t eid, int64_t source, int64_t target, double cost) | |
void | add_contracted_edge_vertices (CH_edge &e) |
void | add_contracted_vertex (CH_vertex &v) |
void | clear_contracted_vertices () |
Identifiers< int64_t > & | contracted_vertices () |
const Identifiers< int64_t > & | contracted_vertices () const |
void | cp_members (const CH_edge &other) |
bool | has_contracted_vertices () const |
Public Attributes | |
double | cost |
int64_t | id |
int64_t | source |
int64_t | target |
Private Attributes | |
Identifiers< int64_t > | m_contracted_vertices |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CH_edge &e) |
|
default |
|
inline |
void pgrouting::CH_edge::add_contracted_edge_vertices | ( | CH_edge & | e | ) |
Definition at line 67 of file ch_edge.cpp.
References contracted_vertices(), has_contracted_vertices(), and m_contracted_vertices.
void pgrouting::CH_edge::add_contracted_vertex | ( | CH_vertex & | v | ) |
Definition at line 61 of file ch_edge.cpp.
References pgrouting::CH_vertex::contracted_vertices(), pgrouting::CH_vertex::id, and m_contracted_vertices.
|
inline |
Definition at line 56 of file ch_edge.h.
References Identifiers< T >::clear(), and m_contracted_vertices.
Identifiers<int64_t>& pgrouting::CH_edge::contracted_vertices | ( | ) |
Identifiers< int64_t > & pgrouting::CH_edge::contracted_vertices | ( | ) | const |
Definition at line 50 of file ch_edge.cpp.
References m_contracted_vertices.
Referenced by add_contracted_edge_vertices(), cp_members(), pgrouting::operator<<(), and pgrouting::contraction::Pgr_linear< G >::process_shortcut().
void pgrouting::CH_edge::cp_members | ( | const CH_edge & | other | ) |
Definition at line 35 of file ch_edge.cpp.
References contracted_vertices(), cost, id, m_contracted_vertices, source, and target.
bool pgrouting::CH_edge::has_contracted_vertices | ( | ) | const |
Definition at line 45 of file ch_edge.cpp.
References Identifiers< T >::empty(), and m_contracted_vertices.
Referenced by add_contracted_edge_vertices().
|
friend |
Definition at line 72 of file ch_edge.cpp.
double pgrouting::CH_edge::cost |
Definition at line 65 of file ch_edge.h.
Referenced by cp_members(), and pgrouting::operator<<().
int64_t pgrouting::CH_edge::id |
Definition at line 62 of file ch_edge.h.
Referenced by cp_members(), and pgrouting::operator<<().
|
private |
Definition at line 68 of file ch_edge.h.
Referenced by add_contracted_edge_vertices(), add_contracted_vertex(), clear_contracted_vertices(), contracted_vertices(), cp_members(), and has_contracted_vertices().
int64_t pgrouting::CH_edge::source |
Definition at line 63 of file ch_edge.h.
Referenced by cp_members(), and pgrouting::operator<<().
int64_t pgrouting::CH_edge::target |
Definition at line 64 of file ch_edge.h.
Referenced by cp_members(), and pgrouting::operator<<().