[Freeciv-Dev] Re: Performace of path-finding (PR#2370)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, Mar 14, 2003 at 12:48:21PM +0000, Gregory Berkolaiko wrote:
> > Same here. These numbers are too good. We have to compare the MC of
> > the tiles. And check the number of iterations.
A direct comparsions shows that maxcost needs to be increased. Also
if (is_ground_unit(punit)) {
really_generate_warmap(pcity, punit, LAND_MOVING);
}
needs to be changed to
if (is_ground_unit(punit)) {
really_generate_warmap(NULL, punit, LAND_MOVING);
}
Sometimes the results are of by one move point. Explorers show
different results by a factor of 3.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Last year, out in California, at a PC users group, there was a demo of
smart speech recognition software. Before the demonstrator could begin
his demo, a voice called out from the audience: "Format c, return. Yes,
return." Damned short demo, it was.
test_pf.diff
Description: Text document
|
|