Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement pseudo-topological sort #120

Open
cthoyt opened this issue Feb 22, 2018 · 0 comments
Open

Implement pseudo-topological sort #120

cthoyt opened this issue Feb 22, 2018 · 0 comments

Comments

@cthoyt
Copy link
Member

cthoyt commented Feb 22, 2018

Is there an analogue of the topological sort (only applicable to DAGs) for directed cyclic graphs?

I could imagine some naive procedures for random sampling of DAGs from a directed cyclic graph and calculating an average topological sort position for each node, or using a heuristic and recursive algorithm like here http://lkozma.net/blog/ordering-cyclic-graphs/ that gives a proper integer position to each.

What we'd like to do is take a BEL graph, remove some uninteresting associative edges, then assign a pseudo-topological sort position to each node to quickly allow users to see how "upstream" or "downstream" a node is in a given NeuroMMSig mechanism.

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant