[Freeciv-Dev] Re: (PR#4326) Pathfinding
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, May 30, 2003 at 01:50:54PM -0700, ChrisK@xxxxxxxx wrote:
> On Fri, May 30, 2003 at 08:08:14AM -0700, Gregory Berkolaiko wrote:
> >
> > client/goto.c:348
> >
> > Please experiment with different values for the turn_mode
> > (TM_NONE, TM_CAPPED, TM_BEST_TIME, TM_WORST_TIME) and tell us which you
> > like the most.
>
> Urghs. I don't understand the diploma thesis in path_finding.h
>
> What I *want* is that the chance of reaching tile n+1 from tile n is
> weighted with its statistical rate, in computing the move cost.
Let's see if I understood you. "moves" are the move point of the unit
and "cost" is the cost of the step.
if moves>=cost:
fail_chance=0
else:
fail_chance=1-moves/cost
So the weighted cost you want is "cost + cost * fail_chance"?!
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
reality.sys corrupt. Reboot Universe? (y,n,q)
[Freeciv-Dev] Re: (PR#4326) Pathfinding,
Raimar Falke <=
[Freeciv-Dev] Re: (PR#4326) Pathfinding, Gregory Berkolaiko, 2003/06/06
[Freeciv-Dev] Re: (PR#4326) Pathfinding, Gregory Berkolaiko, 2003/06/06
Message not available
|
|