|
engine-mk1
|
A template struct for representing Vertex objects. More...
#include <Graph.hpp>
Public Member Functions | |
| Vertex (std::size_t index) | |
Constructs an empty Vertex with the ID index. More... | |
| bool | operator== (const Vertex< V, E > &rhs) const noexcept |
| Basic equality comparator. More... | |
Public Attributes | |
| V | data {} |
| The data held by this Vertex. More... | |
| std::list< Edge< E > > | adjacencyList {} |
| An std::list of connected Edges. More... | |
| std::size_t | id {} |
| An ID that doubles as an index value. More... | |
| State | state {} |
| The current state of the Vertex, represented by a bitfield. More... | |
A template struct for representing Vertex objects.
|
inline |
Constructs an empty Vertex with the ID index.
|
inlinenoexcept |
Basic equality comparator.
| std::list<Edge<E> > rz::graph::Vertex< V, E >::adjacencyList {} |
An std::list of connected Edges.
| V rz::graph::Vertex< V, E >::data {} |
The data held by this Vertex.
| std::size_t rz::graph::Vertex< V, E >::id {} |
An ID that doubles as an index value.
| State rz::graph::Vertex< V, E >::state {} |
The current state of the Vertex, represented by a bitfield.
1.8.11