22 #ifndef WIRECELL_PGRAPH_GRAPH 23 #define WIRECELL_PGRAPH_GRAPH 29 #include <unordered_set> 30 #include <unordered_map> 46 size_t tpind=0,
size_t hpind=0);
66 std::vector<std::pair<Node*,Node*> >
m_edges;
std::unordered_set< Node * > m_nodes
void add_node(Node *node)
bool call_node(Node *node)
std::vector< Node * > sort_kahn()
std::vector< std::pair< Node *, Node * > > m_edges
bool connect(Node *tail, Node *head, size_t tpind=0, size_t hpind=0)
std::unordered_map< Node *, std::vector< Node * > > m_edges_backward
std::shared_ptr< spdlog::logger > logptr_t
int execute_upstream(Node *node)
std::unordered_map< Node *, std::vector< Node * > > m_edges_forward