Skip to main content
. 2022 May 26;17:12. doi: 10.1186/s13015-022-00217-9

Fig. 2.

Fig. 2

Reachability computations. Function ForwardReachable, given source vertex s in hypergraph G, returns all hyperedges e for which tail(e) is reachable by a hyperpath from s. Function BackwardTraceable, given sink vertex t in G, returns all hyperedges e for which some vertex vhead(e) is backward-traceable from t. These functions assume fields v.reached, e.marked, and e.count have been initialized to false, false, and |tail(e)|, respectively, for all v and e in G