Limi
|
Prints automata in dot format. More...
#include <dot_printer.h>
Public Member Functions | |
void | print_dot (const Automaton &automaton, std::ostream &out) |
Prints the automaton to the ostream out. More... | |
void | print_dot (const automaton< State, Symbol, Implementation > &automaton, const std::string &filename) |
Writes the automaton to a file. More... | |
Prints automata in dot format.
Only for small automata it makes sense to print them in dot format.
State | The class of states. |
Symbol | The class of symbols. |
Implementation | The automata implementation class. |
|
inline |
Prints the automaton to the ostream out.
automaton | The automaton to print |
out | The output stream to print to |
|
inline |
Writes the automaton to a file.
automaton | The automaton to print |
filename | Filename to write the automaton to. Will be overwritten if exists. |