PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgrouting::CH_vertex Class Reference

#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, int64_t vid)
 
void add_vertex_id (int64_t vid)
 
void clear_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)
 

Detailed Description

Definition at line 40 of file ch_vertex.h.

Constructor & Destructor Documentation

pgrouting::CH_vertex::CH_vertex ( )
default
pgrouting::CH_vertex::CH_vertex ( const CH_vertex )
default
pgrouting::CH_vertex::CH_vertex ( const pgr_edge_t other,
bool  is_source 
)
inline

Definition at line 45 of file ch_vertex.h.

Member Function Documentation

void pgrouting::CH_vertex::add_contracted_vertex ( CH_vertex v,
int64_t  vid 
)
void pgrouting::CH_vertex::add_vertex_id ( int64_t  vid)
inline

Definition at line 52 of file ch_vertex.h.

References m_contracted_vertices.

void pgrouting::CH_vertex::clear_contracted_vertices ( )
inline
const Identifiers< int64_t > & pgrouting::CH_vertex::contracted_vertices ( ) const
void pgrouting::CH_vertex::cp_members ( const CH_vertex other)
inline

Definition at line 48 of file ch_vertex.h.

References id.

bool pgrouting::CH_vertex::has_contracted_vertices ( ) const

Definition at line 44 of file ch_vertex.cpp.

References m_contracted_vertices, and Identifiers< T >::size().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CH_vertex v 
)
friend

Definition at line 56 of file ch_vertex.cpp.

Member Data Documentation

int64_t pgrouting::CH_vertex::id

Definition at line 42 of file ch_vertex.h.

Referenced by cp_members(), and pgrouting::operator<<().

Identifiers<int64_t> pgrouting::CH_vertex::m_contracted_vertices
private

The documentation for this class was generated from the following files: