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

Update post-dominance algorithm #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update post-dominance algorithm #27

wants to merge 1 commit into from

Conversation

x87
Copy link
Owner

@x87 x87 commented Jun 14, 2020

post-dominators for a given graph can be found by running dominators algorithm on the graph with reversed nodes (that is, where "from" and "to" nodes are swapped).

also updating the definition of the root that is not necessarily the first node in the graph, but rather the one that has no predecessors.

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

Successfully merging this pull request may close these issues.

1 participant