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: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#6918) GUI for CMA should allow zero weights
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Nov 2003 15:43:01 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Sat, Nov 22, 2003 at 07:50:21PM +0100, Raimar Falke wrote:
> 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.

What does multiplying the weights achieve?  The optimization problem is
scale-invariant.  The current code uses a lot of short and char values
so at first glance multiplying by 1k might actually be a problem (one
easily remedied of course).

        -- Benoît




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