#include <chi_directed_graph.h>
Allows semi-sane access to vertices even if they are removed from the graph.
Definition at line 18 of file chi_directed_graph.h.
◆ AddVertex() [1/2]
void chi::DirectedGraph::VertexAccessor::AddVertex |
( |
size_t |
id, |
|
|
void * |
context |
|
) |
| |
◆ AddVertex() [2/2]
void chi::DirectedGraph::VertexAccessor::AddVertex |
( |
void * |
context | ) |
|
Adds a vertex to the graph where the ID is assigned to the number of vertices already loaded on the graph. For example, if there are 3 vertices on the graph (with IDs 0 through 2) then the next vertex (this one) will be assigned and ID of 3.
Definition at line 24 of file chi_directed_graph.cc.
◆ begin()
iterator chi::DirectedGraph::VertexAccessor::begin |
( |
| ) |
|
|
inline |
◆ clear()
void chi::DirectedGraph::VertexAccessor::clear |
( |
| ) |
|
|
inline |
◆ end()
iterator chi::DirectedGraph::VertexAccessor::end |
( |
| ) |
|
|
inline |
◆ GetNumValid()
size_t chi::DirectedGraph::VertexAccessor::GetNumValid |
( |
| ) |
|
|
inline |
◆ operator[]()
◆ RemoveVertex()
void chi::DirectedGraph::VertexAccessor::RemoveVertex |
( |
size_t |
v | ) |
|
◆ size()
size_t chi::DirectedGraph::VertexAccessor::size |
( |
| ) |
|
|
inline |
◆ vertex_valid_flags_
std::vector<bool> chi::DirectedGraph::VertexAccessor::vertex_valid_flags_ |
|
private |
◆ vertices_
std::vector<GraphVertex> chi::DirectedGraph::VertexAccessor::vertices_ |
|
private |
The documentation for this class was generated from the following files: