#include <ShGraph.hpp>
Public Member Functions | |
std::ostream & | operator() (std::ostream &out, const typename G::Vertex *v) |
std::ostream & | operator() (std::ostream &out, const typename G::Edge *e) |
D is a functor that has two operators: ostream& operator()(ostream& out, const G::Vertex & v); ostream& operator()(ostream& out, const G::Edge& e); that outputs information per vertex and per edge.
The default dump functor uses the built in graphvizDump functions in ShGraphVertex and ShGraphEdge.
You can either override the function sin the vertex/edge or here to change the dump behaviour (changing the vertex/edge is useful for changing default dump behvaiour, making a special dumper is useful for example to visualize the results of running a specific algorithm on the graph)
Definition at line 284 of file ShGraph.hpp.