CGRA-ME
|
#include <GraphAlgorithmHelpers.h>
Public Types | |
using | VertexID = std::string |
Public Member Functions | |
VertexID | insert (std::string name) |
VertexID | insert (VertexID fanin, std::string name) |
template<typename VertexIDList = std::initializer_list<VertexID>> | |
VertexID | insertMultiFanin (const VertexIDList &fanins, std::string name) |
void | link (const VertexID &source, const VertexID &target) |
auto & | fanout (const VertexID &ndesc) const |
Public Attributes | |
std::map< std::string, std::vector< VertexID > > | fanout_lists = {} |
A super simple graph, where the VertexID is just std::string Useful for writing tests, mostly.
Definition at line 286 of file GraphAlgorithmHelpers.h.
using StringIDGraph::VertexID = std::string |
Definition at line 287 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 313 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 290 of file GraphAlgorithmHelpers.h.
Definition at line 294 of file GraphAlgorithmHelpers.h.
|
inline |
Definition at line 301 of file GraphAlgorithmHelpers.h.
Definition at line 309 of file GraphAlgorithmHelpers.h.
std::map<std::string, std::vector<VertexID> > StringIDGraph::fanout_lists = {} |
Definition at line 288 of file GraphAlgorithmHelpers.h.