Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

Question on the brushfire algorithm

This topic is 3029 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!