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

Use Adjacency Matrix instead of Adjacency List. #16

Open
surajx opened this issue Oct 13, 2017 · 0 comments
Open

Use Adjacency Matrix instead of Adjacency List. #16

surajx opened this issue Oct 13, 2017 · 0 comments
Labels

Comments

@surajx
Copy link
Owner

surajx commented Oct 13, 2017

The graph is directed, Since we are using an Adj List, we have to loop through all proofLine objects to find the inward dependencies. If we use an Adj Matrix to store the graph, with constant time look-up the inward dependent proofLines can be found, thus avoiding many unwanted validations.

@surajx surajx added the medium label Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant