Vertex.hh File Reference
#include <cstdint>#include <functional>#include <map>#include <ostream>#include <string>#include <utility>#include <gz/math/config.hh>#include <gz/math/Helpers.hh>#include <gz/utils/NeverDestroyed.hh>Go to the source code of this file.
Classes | |
| class | Vertex< V > |
| A vertex of a graph. It stores user information, an optional name, and keeps an internal unique Id. This class does not enforce to choose a unique name. More... | |
Namespaces | |
| namespace | gz |
| namespace | gz::math |
| namespace | gz::math::graph |
Typedefs | |
| using | VertexId = uint64_t |
| The unique Id of each vertex. | |
| using | VertexId_P = std::pair< VertexId, VertexId > |
| template<typename V > | |
| using | VertexRef_M = std::map< VertexId, std::reference_wrapper< const Vertex< V > > > |
Functions | |
| template<typename V > | |
| Vertex< V > & | NullVertex () |
| An invalid vertex. | |
Variables | |
| constexpr VertexId | kNullId = MAX_UI64 |
| Represents an invalid Id. | |