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

Change API definition in dataflow graph #82

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

Unparalleled-Calvin
Copy link
Contributor

  • Remove ConstEdge and add NodeOp::Const. Now GraphEdge is a struct instead of an enum.
  • Previously, the node operator (a closure) of DFS catched graph outside. Now we explicitly pass a graph as its parameter. Correspondingly, the edge operator also takes a graph and an EdgeIdx (instead of EdgeOp) as parameters. So now we have more flexibility to read data whether from nodes or edges during DFS.

@hxuhack hxuhack merged commit b98fef6 into Artisan-Lab:main Dec 16, 2024
1 check passed
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.

2 participants