YAPF - Testers needed!
Posted: 21 Apr 2006 20:46
Guys, I would like to ask all of you to help me to test new pathfinder prototype (svn://svn.openttd.com/branch/yapf). Once it will be debugged, I can move forward to the next dev phase with it - I would like to add the segment cost caching to improve the YAPF performance. Now YAPF for trains spends like 90% of time in the segment cost calculation so the caching its results could help a bit.
YAPF setup
GUI/Configure Patches/Vehicles/ there are 3 YAPF related settings (ships, road vehs, trains):
Bug reports here or on IRC. Thanks.
KUDr
History:
YAPF setup
GUI/Configure Patches/Vehicles/ there are 3 YAPF related settings (ships, road vehs, trains):
- 0: original PF or NPF (YAPF disabled)
- 1: reference YAPF (don't need to be tested alone)
- 2: preferred YAPF allowing 90-deg turns
- 3: preferred YAPF with 90-deg turns disabled
Bug reports here or on IRC. Thanks.
KUDr
History:
- Zipped YAPF r4511 Windows Executable (update: added missing english.lng file - thanks Darkvater)
- Updated Windows Executable (r4523)
- fix: assert in GetTileOwner (thanks yanek)
- fix: trains can't find route via some bridges (thanks Celestar) - Updated Windows Executable (r4533)
- fix: lost road vehs (thanks MeusH) - Updated Windows Executable (r4535)
- fix: if path not found, go as close to the destination as possible (trains and roadvehs)
- fix: another distance calculation problem (thanks yanek) - Updated Windows Executable (r4543)
- fix: decreased look-ahead red signal penalty - should fix crazy train looping (thanks yanek)
- add: FindNearestDepot and CheckReverse support for trains (thanks Celestar)
- add: red signal penalties depending on signal type (thanks yanek)
- fix: wrong 'best node' manipulation caused target info overwrite
- remove: YAPF type 4 for ships and trains
- add: penalty for trains passing stations - Updated Windows Executable (r4545)
- fix: decreased speed limit penalty (thanks webfreakz) - Updated Windows Executable (r4587)
- add: FindNearestDepot support for roadvehs
- add: segment cost cache for trains - Updated Windows Executable (r4615)
- fix: Cost cache now invalidates when track layout changes (thanks TSC for reporting the problem) - Updated Windows Executable (r4622)
- fix: trains can't find route to the waypoint (thanks webfreakz) - Updated Windows Executable (r4634)
- experiment: depot exit now acts as presignal entry
- fix: FindNearestDepot gave up when train head or tail was in tunnel. Now it will give up only if both ends are in tunnel. (thanks misnomer) - Updated Windows Executable (r4647)
- fix: missing YapfNotifyTrackLayoutChange() when track is deleted by disaster (thanks XeryusTC) - Updated Windows Executable (r4694)
- fix: YAPF cache was not notified about some minor track layout changes such as "load game" (many thanks to ledow) - Updated Windows Executable (r4700)
- fix: if first red signal is two-way it is now treated as dead-end (thanks Hackykid) - Updated Windows Executable (r4712)
-fix: some diesel engines can't find path when rail combined with elrail (thanks Eddi|zuHause)
-fix: when train is deciding whether to reverse or not while leaving station, the rule 'treat first red two-way signal as dead end' doesn't apply (should make Eddi|zuHause more happy with the YAPF / two-way stations)
-fix: random crashes when opening some GUI (i.e. cheats window) on Win32 debug build. (not YAPF related) - Updated Windows Executable (r4833)
-fix: first red COMBO signal now gives the same penalty as EXIT (thanks DW)
-debug: added path cost / distance to the log