|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Spanning tree visualization with highlighted tree/non-tree edges. More...
#include <generate_graph.H>Go to the source code of this file.
Classes | |
| struct | Shade_Span_Node< GT > |
| Shading functor for spanning tree nodes. More... | |
| struct | Shade_Span_Arc< GT > |
| Shading functor for spanning tree arcs. More... | |
Functions | |
| template<typename GT , class Write_Node , class Write_Arc , class SA > | |
| void | generate_cross_spanning_tree (GT &g, const size_t &nodes_by_level, const double &xdist, const double &ydist, std::ofstream &output) |
| Generate a cross-layout visualization of a spanning tree. | |
| template<typename GT , class Write_Node , class Write_Arc > | |
| void | generate_cross_spanning_tree (GT &g, const size_t &nodes_by_level, const double &xdist, const double &ydist, std::ofstream &output) |
| Overload with default arc filter. | |
| template<typename GT , class Write_Node , class Write_Arc , class SA > | |
| void | generate_net_spanning_tree (GT &g, const size_t &nodes_by_level, const double &xdist, const double &ydist, std::ofstream &output) |
| Generate a net-layout visualization of a spanning tree. | |
| template<typename GT , class Write_Node , class Write_Arc > | |
| void | generate_net_spanning_tree (GT &g, const size_t &nodes_by_level, const double &xdist, const double &ydist, std::ofstream &output) |
| Overload with default arc filter. | |
Spanning tree visualization with highlighted tree/non-tree edges.
This file provides utilities for generating visual representations of spanning trees where tree edges are distinguished from non-tree edges through shading/highlighting.
The shading functors use the node/arc cookie field to determine if an element belongs to the spanning tree:
Definition in file generate_spanning_tree_picture.H.
| void generate_cross_spanning_tree | ( | GT & | g, |
| const size_t & | nodes_by_level, | ||
| const double & | xdist, | ||
| const double & | ydist, | ||
| std::ofstream & | output | ||
| ) |
Overload with default arc filter.
Definition at line 136 of file generate_spanning_tree_picture.H.
References Aleph::maps(), and output.
| void generate_net_spanning_tree | ( | GT & | g, |
| const size_t & | nodes_by_level, | ||
| const double & | xdist, | ||
| const double & | ydist, | ||
| std::ofstream & | output | ||
| ) |
Overload with default arc filter.
Definition at line 182 of file generate_spanning_tree_picture.H.
References Aleph::maps(), and output.