Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6918) GUI for CMA should allow zero weights
Home

[Freeciv-Dev] Re: (PR#6918) GUI for CMA should allow zero weights

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6918) GUI for CMA should allow zero weights
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sat, 22 Nov 2003 10:50:23 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6918 >

On Sat, Nov 22, 2003 at 10:13:02AM -0800, Jason Short wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6918 >
> 
> >
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=6918 >
> >
> > I'm thinking in particular of luxuries.  Luxuries are completely
> > worthless except at the discrete jumps between riot/content and
> > content/happy.  If I create 2 more luxuries, but it doesn't change my
> > city's happiness, I'm wasting possible other things I could make.  The
> > CM code (in theory, though it doesn't right now) could use a zero weight
> > to mean it can avoid optimizing along that axis, which can speed things
> > up.
> 
> I'd also like to set the trade weight to zero.  With a minimum of 1, you
> have to give, trade, gold, luxury, science all at least one weight meaning
> overall trade must be at least double-counted.  Very inelegant.  It would
> be better to weight science and tax as 1 (or more) with luxury and trade
> as 0.

You can do all this without touching the core. You can allow 0 in the
frontend and multiply all weights by 1000 before you pass them to the
core.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The very concept of PNP is a lovely dream that simply does not translate to
  reality. The confusion of manually doing stuff is nothing compared to the
  confusion of computers trying to do stuff and getting it wrong, which they
  gleefully do with great enthusiasm." 
    -- Jinx Tigr in the SDM




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