#include <Graph.h>
Public Member Functions | |
Graph () | |
void | add_node (Node *node) |
bool | connect (Node *tail, Node *head, size_t tpind=0, size_t hpind=0) |
std::vector< Node * > | sort_kahn () |
bool | execute () |
int | execute_upstream (Node *node) |
bool | call_node (Node *node) |
bool | connected () |
Private Attributes | |
std::vector< std::pair< Node *, Node * > > | m_edges |
std::unordered_set< Node * > | m_nodes |
std::unordered_map< Node *, std::vector< Node * > > | m_edges_forward |
std::unordered_map< Node *, std::vector< Node * > > | m_edges_backward |
Log::logptr_t | l |
Definition at line 21 of file Graph.cxx.
bool Graph::execute | ( | ) |
int Graph::execute_upstream | ( | Node * | node | ) |
Definition at line 88 of file Graph.cxx.
std::vector< Node * > Graph::sort_kahn | ( | ) |
Definition at line 55 of file Graph.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |