Tree Compression with Top Trees Revisited
|
Export a tree as a DOT graph. More...
#include <DotGraphExporter.h>
Public Member Functions | |
void | write (const OrderedTree< NodeType, EdgeType > &tree, const LabelsT< DataType > &labels, const string &filename, const int nodeId=0) |
Protected Member Functions | |
void | writeNode (std::ostream &out, const OrderedTree< NodeType, EdgeType > &tree, const LabelsT< DataType > &labels, const int nodeId) |
iteratively write the tree to an output stream More... | |
Export a tree as a DOT graph.
Definition at line 43 of file DotGraphExporter.h.
|
inline |
write a tree's dot graph to a file
tree | the tree to write |
filename | output filename (path must exist) |
Definition at line 47 of file DotGraphExporter.h.
|
inlineprotected |
iteratively write the tree to an output stream
Definition at line 56 of file DotGraphExporter.h.