Gazebo Math

API Reference

8.1.0
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

namespace  gz
 
namespace  gz::math
 
namespace  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.
 
template<typename VV , typename EE >
std::ostreamoperator<< (std::ostream &_out, const Graph< VV, EE, UndirectedEdge< EE > > &_g)
 Partial template specification for undirected edges.