Dear Mark,

Yes, I think you got it right.  That is a simple way to maximize the number
of preferences.  (Just don't forget to distribute the vector Position in
your script.)

Cheers,
Raphael

On Thu, Feb 25, 2010 at 12:26 PM, mark richardson
<[email protected]>wrote:

> Hi,
>
> I've modified the script slightly to this:
>
> {FD.sum
>  for X in Scenes collect:Collect do
>
>     for Y in Scenes do
>        if X\=Y andthen {IsPreced X Y} then %X is a precedent of Y
>           {Collect (Position.X=<:Position.Y)}
>        end
>     end
>   end '=:' NumPrec}
>
> I realised the mistake I was making with X and Y instead of Position.X and
> Position.Y and mistyping 'and' instead of 'andthen'
>
> Regards
>
> Mark
>
>
> --
> Mark Richardson MBCS
> Research Assistant
> University of Teesside, UK
> Email: [email protected]
>      [email protected]
> Skype: mark.richardson.
>
>
> _________________________________________________________________________________
> mozart-users mailing list
> [email protected]
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to