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

Confused about the generator design? #448

Open
gzrjzcx opened this issue Jul 22, 2024 · 0 comments
Open

Confused about the generator design? #448

gzrjzcx opened this issue Jul 22, 2024 · 0 comments

Comments

@gzrjzcx
Copy link

gzrjzcx commented Jul 22, 2024

Hi,
Im new here and I am a little confused about the tick() generator design after skimming through the code roughly. I cannot figure out the case which I must use the iterator to visit the whole tree? I have found the iterator symbol in the whole repo, while I cant find the use of this symbol to do something. Would u mind explaining the idea of generator for me?

By the way, is it tick a node and return its result status would be a more intuitive way?

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

1 participant