View Single Post
danger_factor - what is this exactly?
Old
  (#1)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default danger_factor - what is this exactly? - 16-05-2004

In the podbot.cfg file I can see some description about dange_factor parameter:

# The setting below specifies the danger factor with which the bots
# will weighten any waypoint where they have been killed in the past,
# in order to avoid it later. The higher the value, the more the bot
# will care about these waypoints and pick other routes instead.
# Progression is logarithmic. Warning: higher values require more CPU.
danger_factor 800

What exactly is this meaning? What exactly will I see the difference in bots behavior when I put 100 or when I put 10000 for this parameter? What is the correct range for this variable?
I understand - if bot is killed in some place once, according to this parameter - next rounds bot will try to find another way to go - if parameter is set to max_possible_value - bot will go never this way (if this is possible). If this prameter is set to min_possible_value - the collection of experience is like without this collection (like collectexperience off) - so bot doesn't care about the past. Or maybe I'm wrong (for sure...)? ???

Before posting by some coder to this thread, maybe somebody not-coder try to say, what did he understand from the description from podbot.cfg about this parameter. Maybe only for me this is not so clear? Maybe simply I'm too stupid to understand this...
I know - coders don't want to write 50MB descriptions, but it's much more better give one or two examples than write 50MB description...

Last edited by KWo; 16-05-2004 at 13:37..
  
Reply With Quote