20 #ifndef ESSENTIA_UTILS_ASCIIDAGPARSER_H
21 #define ESSENTIA_UTILS_ASCIIDAGPARSER_H
31 template <
typename NetworkType>
48 const std::vector<std::string>&
nodes()
const {
return _nodes; }
59 const std::vector<std::pair<int, int> >&
edges()
const {
return _edges; }
65 std::vector<std::pair<int, int> >
_edges;
66 std::vector<std::pair<std::string, std::string> >
_namedEdges;
Definition: asciidag.h:76
Definition: asciidagparser.h:28
const std::vector< std::pair< int, int > > & edges() const
Definition: asciidagparser.h:59
const std::vector< std::string > & nodes() const
Definition: asciidagparser.h:48
std::vector< std::pair< int, int > > _edges
Definition: asciidagparser.h:65
AsciiDAGParser(const NetworkType &network)
Definition: asciidagparser.h:32
const std::vector< std::pair< std::string, std::string > > & namedEdges() const
Definition: asciidagparser.h:54
void parseEdges(const std::vector< AsciiBox > &boxes)
std::vector< std::pair< std::string, std::string > > _namedEdges
Definition: asciidagparser.h:66
AsciiCanvas _network
Definition: asciidagparser.h:63
std::vector< std::string > _nodes
Definition: asciidagparser.h:64
Definition: algorithm.h:28