[Freeciv-Dev] Re: suggestion
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Mon, Apr 23, 2001 at 09:51:01AM -0400, Glenn Taylor wrote:
> Grzegorz Borowiak wrote:
>
> > On Sun, 22 Apr 2001, Michele Slocovich wrote:
> >
> > > Idea
> > > scripting language for client side ai implementation
> >
> > My proposals: C, C++.
> >
> > All other are too slow to provide good ai.
>
> That's a pretty broad generalization. What time-critical
> decisions have to be made in FreeCiv that would necessitate
> as-fast-as-possible-AI?
Not time-critical but time-consuming. Suppose you want to solve the
problem CMA tries to address: place the people of a city so that
minimum requirements (of food, shield,...tax) is satisfied and the
remaining resources are divided in a given way (split between food and
science for example). The solution I found if quite complex and even
written in C requires a amount of time (if for a city a solution need
0.5s and you have 30 cities you wait at every start of the turn 15s).
So efficient implementation of solutions of certains problems are
needed. However this methods only form the basic library which can be
used by higher level methods.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"#!/usr/bin/perl -w
if ( `date +%w` != 1 ) {
die "This script only works on Mondays." ;
}"
-- from chkars.pl by Cornelius Krasel in de.comp.os.linux.misc
- [Freeciv-Dev] suggestion, Michele Slocovich, 2001/04/22
- [Freeciv-Dev] Re: suggestion, Grzegorz Borowiak, 2001/04/23
- [Freeciv-Dev] Re: suggestion, Raimar Falke, 2001/04/23
- [Freeciv-Dev] Re: suggestion, Glenn Taylor, 2001/04/23
- [Freeciv-Dev] Re: suggestion, Jordan Crouse, 2001/04/23
- [Freeciv-Dev] Re: suggestion, Grzegorz Borowiak, 2001/04/23
- [Freeciv-Dev] Re: suggestion, Daniel Sjölie, 2001/04/23
- [Freeciv-Dev] Re: suggestion, Grzegorz Borowiak, 2001/04/24
- [Freeciv-Dev] Re: suggestion, Raimar Falke, 2001/04/24
- [Freeciv-Dev] Re: suggestion,
Raimar Falke <=
- [Freeciv-Dev] Re: suggestion, Kero van Gelder, 2001/04/24
- [Freeciv-Dev] Re: suggestion, Raimar Falke, 2001/04/24
|
|