Dear Tripti,
I am afraid the information you gave is not enough to help you. For
instance,
Tripti Saxena wrote:
I tried using something like
BB = (({ List.nth CN 1}mod 10) == 0)
What is the definition of CN? Are the elements of this list all
determined? Because if not, the modulo operator blocks. It might
explain why the code blocks.
to check whether the number associated with component 1 actually matches
that of bin 1 ( i .e . 10 in this case) and then assocrdingly i try to
Why don't you write something like
BB = ({Nth CN 1} == 10)
assign it to a bin using assignment statement. The rest of the
constraint make sure that the componenet is allocated to ony one bin and
not divided and slipt over bins. (the example by default splits the
component into parts and does that)
Hint: one way to avoid the blocking issue is to evaluate the 'if'
statement in a separate thread...
Cheers,
raph
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users