Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] Re: [RFC][Patch] AI can fly v2 (fwd)
Home

[Freeciv-Dev] Re: [RFC][Patch] AI can fly v2 (fwd)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC][Patch] AI can fly v2 (fwd)
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Fri, 12 Apr 2002 13:04:16 +0100 (BST)

On Fri, 12 Apr 2002 per@xxxxxxxxxxx wrote:

> > > - The AI should not attack if it stands a very high chance of losing (ie
> > > mech inf on a mountain). Aircraft are expensive. Waste some commoners
> > > instead.
> >
> > I use the standard want equation (meaning that on average we'd be better
> > off after attacking)
> 
> Yes, but it doesn't seem to check if we have a good chance of winning. It
> will just attack the "best" target, even if "best" is abyssmally bad.

what do you propose as a measure of "good chance of winning".

Examples:
1. you put 1$ on red and it wins with prob 1/2 and you get back your 1$ 
plus 0.5$.  Is it good?  Do you play?
2. you put 1$ on something that wins with prob 0.75 and you get back your 
1$ plus 0.3$.  It this good?
3. you put 1$ on number 13 which wins with prob 1/32 and you get back you 
1$ plus 100$.  Is this any good?


> But this should probably be fixed later along with the rest of the code.

If we agree on a better concept than kill_desire equation.

> > > - Got the assertion (which I couldn't reproduce)
> > > civserver: gotohand.c:1679: refuel_iterate_process: Assertion `0' failed.
> >
> > oops this is very bad.  I really need the savegame!
> 
> I'll see if I can reproduce with gdb strapped on to it. The savegame
> worked fine after reloading, unfortunately.

Yes please.

BTW, 
1. This discussion probably belongs to freeciv-ai.  Are we subscribed 
automatically or we do it ourselves?

2. Could you also explain the new man Adam that he can get the code from 
freeciv-test which needs testing and quality review?

G.





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