Re: more precise formulation

Tupshin Harper <[email protected]> Sat, 03 Apr 2004 18:15:26 -0800
Newsgroups gmane.comp.java.xwt.core
Message-ID <[email protected]>
Adam Megacz wrote:

>Once the parent's size has been chosen (ie in the sizing phase), *add*
>the following equations to the constraint system:
>
>  c1 + c2 + c3 + ... = width
>
>  k1 = abs(width/n - c1)
>  k2 = abs(width/n - c2)
>  k3 = abs(width/n - c3)
>  ...
>
>Where n is the number of columns.  Then solve with the goal of
>minimizing k1+k2+k3.
>  
>
Can you explain the significance of k1..kn here, and how it relates to 
(or doesn't) k as described in section 3.2.3(Placing) of the reference?

-Tupshin