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

Is the data structure used in this project DAG? #58

Closed
libaineu2004 opened this issue Sep 1, 2023 · 2 comments
Closed

Is the data structure used in this project DAG? #58

libaineu2004 opened this issue Sep 1, 2023 · 2 comments

Comments

@libaineu2004
Copy link

DAG:Directed Acyclic Graph

1.Is the data structure of "circuit" a graph or a tree?
2.Is the data structure of adding "components" to "circuit" a graph or a tree? If it is a graph, is it acyclic or cyclic?
3.Is there any documentation that explains the principles of each component traversal? Is it depth-first or breadth-first?

@MarcusTomlinson
Copy link
Member

Graph.

You can loopback if you want. Graphs can be cyclic or acyclic.

Pull-system. Each component pulls from its input components, and so on backward through the graph.

@libaineu2004
Copy link
Author

Graph.

You can loopback if you want. Graphs can be cyclic or acyclic.

Pull-system. Each component pulls from its input components, and so on backward through the graph.

oh oh. That is to say, the DSPatch::Circuit in our project supports cyclic.

Thanks

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

2 participants