[gecode-users] obtaining IntVar's domain as IntSet?

Kish Shen kisshen at cisco.com
Tue Jul 27 19:10:17 CEST 2010


Hi,

Is there anyway to obtain the domain of an IntVar as an independent 
object, preferably an IntSet? I looked at the documentation, and can't 
figure out how to do this.

The reason I ask is that in ECLiPSe finite domain library, ic, there are 
some operations which are performed on domains as independent objects 
(i.e. independent of their original variables), including performing 
such set-like operations like forming the union of two domains, etc.).

Thanks and cheers,

Kish

-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.



More information about the users mailing list