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

Some questions about starting points #69

Closed
ZengJunTao111 opened this issue Apr 22, 2024 · 1 comment
Closed

Some questions about starting points #69

ZengJunTao111 opened this issue Apr 22, 2024 · 1 comment

Comments

@ZengJunTao111
Copy link

Hi winter, I have a question. In this setvertex function, if node, when the current node is the first node, which is the starting point, does it not have a parent node, does the parent node not exist? So how is the parent node defined and handled in this function?

@ai-winter
Copy link
Owner

@ZengJunTao111

The parent node of the starting point is set to be null. In fact, during path backtracking, the parent node of the starting point is not traversed, and the iteration is terminated at the starting point.

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