how to value selection in tree search?

From: Chuang Liu <liu_nsk_at_yahoo.com.cn>
Date: Tue 07 Dec 2004 06:14:00 PM GMT
Message-ID: <20041207181400.57861.qmail@web15213.mail.bjs.yahoo.com>
hi there:
I am using library fd to implement a tree search
method. I like to control the value selection for
variables during the search process. I have a variable
whose domain is [1, 2, 3, 4, 5], and I associate a
weight to every value. I want the search process to
try value with higher weight first.

I tried to sort the value domain based on the weight
of values like
V :: [2, 1, 3, 5, 4],
indomain(V) 

But indomain always pick the 1 first. 

Can anyone give me a hint about value selection
control please? 

Thanks

Chuang


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
Received on Tue Dec 07 18:20:19 2004

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:32 PM GMT GMT