Skip to content

Conversation

@hydrosquall
Copy link

@hydrosquall hydrosquall commented Sep 3, 2019

I went through the docs to find some algorithms for processing DAGs, and noticed these two were missing / marked as TODO. They're nearly identical ports of the Python algorithm, the only difference is a different syntax for working with Sets.

https://networkx.github.io/documentation/stable/_modules/networkx/algorithms/dag.html#descendants

Let me know if you'd like to see anything else before these get brought into the mainline branch.

Checklist

  • Unit tests
  • Docstrings
  • Referenced parent Python code

@hydrosquall hydrosquall force-pushed the feature/add-dag-ancestors-descendants branch from 075480f to 4b39f2c Compare September 4, 2019 04:15
@hydrosquall hydrosquall changed the title Feature/Add 2 DAG Algorithms for ancestors and descendants [feature] Add 2 DAG Algorithms: ancestors and descendants Sep 4, 2019
@hydrosquall hydrosquall force-pushed the feature/add-dag-ancestors-descendants branch from 4779c75 to 533739a Compare September 4, 2019 05:32
@hydrosquall hydrosquall force-pushed the feature/add-dag-ancestors-descendants branch from 533739a to fc14124 Compare September 4, 2019 05:43
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