Gazebo Math

API Reference

7.5.1
gz/math/graph/Graph.hh File Reference
#include <cassert>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include <gz/math/config.hh>
#include "gz/math/graph/Edge.hh"
#include "gz/math/graph/Vertex.hh"

Go to the source code of this file.

Classes

class  Graph< V, E, EdgeType >
 A generic graph class. Both vertices and edges can store user information. A vertex could be created passing a custom Id if needed, otherwise it will be choosen internally. The vertices also have a name that could be reused among other vertices if needed. This class supports the use of different edge types (e.g. directed or undirected edges). More...
 

Namespaces

 gz
 
 gz::math
 
 gz::math::graph
 

Typedefs

template<typename V , typename E >
using DirectedGraph = Graph< V, E, DirectedEdge< E > >
 
template<typename V , typename E >
using UndirectedGraph = Graph< V, E, UndirectedEdge< E > >
 

Functions

template<typename VV , typename EE >
std::ostreamoperator<< (std::ostream &_out, const Graph< VV, EE, DirectedEdge< EE >> &_g)
 Partial template specification for directed edges. More...
 
template<typename VV , typename EE >
std::ostreamoperator<< (std::ostream &_out, const Graph< VV, EE, UndirectedEdge< EE >> &_g)
 Partial template specification for undirected edges. More...