Complete.Org: Mailing Lists: Archives: freeciv: June 2006:
[Freeciv] Re: RFE: corruption should depend on the effective distance to
Home

[Freeciv] Re: RFE: corruption should depend on the effective distance to

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Peter Schaefer <peter.schaefer@xxxxxxxxx>
Cc: Fishpark <fishpark77@xxxxxxxxxxx>, freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: RFE: corruption should depend on the effective distance to the capital
From: Jason Dorje Short <jdorje@xxxxxxxxx>
Date: Sun, 11 Jun 2006 17:28:21 -0400

What PF does is basically a breadth-first-search, equivalent to the 
flood fill just described.  It is equivalent to A*, but since minimum 
move cost is 0 (from railroads) this doesn't help at all (though in 
theory A* should be used for air and sea paths; hopefully it is and if 
not that should be a fairly simple addition).

-jason



[Prev in Thread] Current Thread [Next in Thread]