Sign in to follow this  

Question on the brushfire algorithm

This topic is 2815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Could anyone clarify the meanings of the following terms? 1. Capability => the size of the current node 2. Clearance => the size of the agent 3. Label => ?? Oh, at the same time, I also have query on the following code from the AI Game programming Wisdom series.
else if (check = CheckList(m_pClosed, num)) {   
 		node->children[node->numchildren++] = check;

		if (g < check->g) {
			check->parent = node;
 			check->g = g;
			check->f = g + check->h;

			udFunc(udNotifyChild, node, check, 3, m_pNCData);

			// The fun part...
			UpdateParents(check);



I wonder why the author checks the g score of the path while it's in the closed list. Normally, he should have skipped it.. how come? Apology for making people repeat because Eng. is not my first language... Thanks Jack [Edited by - lucky6969b on April 2, 2010 5:16:21 AM]

Share this post


Link to post
Share on other sites

This topic is 2815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this