[mercury-users] Request for comments on this code

Nicolas Pelletier nicolas.pelletier3 at free.fr
Wed Jul 5 03:58:56 AEST 2006


Ralph Becket <rafe at cs.mu.OZ.AU> writes:

>
> The style is about right, although it's usually better style to order
> your predicates top-down rather than bottom-up (e.g., put queens near
> the start).
>
> Using vanilla, non-constraint solver Mercury code, there are, of course,
> more efficient ways to do this, but they require more coding.
>
> Using a finite domain solver module (which we have implemented as part
> of the G12 project, but which hasn't yet been made available to the public),
> the code would look very similar to what you've written and should run
> very efficiently.

Thank  you for your  feedback. I take  good notice of your remarks and
will come back  to my toy program to  look for additional speed when I
have experimented with other features of Mercury.

Regards,

-- 
Nicolas
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list