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


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 ( )
pgrouting::CH_vertex::CH_vertex ( const CH_vertex )
pgrouting::CH_vertex::CH_vertex ( const pgr_edge_t other,
bool  is_source 

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)

Definition at line 52 of file ch_vertex.h.

References m_contracted_vertices.

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

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 

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

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