Dear Jose, You can constrain A to a union of intervals, like:
A :: [0#120 240#360] The complete syntax of domain specifications is given at http://www.mozart-oz.org/documentation/system/node8.html#chapter.types_modes_constr I hope this helps, raph On Tue, May 5, 2009 at 5:21 AM, Jose Enrique Benitez Jimenez < [email protected]> wrote: > Hello community, > First of all I want to thank you for your help in recent months thanks to > you I'm nearly finished my thesis. I will write my thanks to you in my > thesis > "Go to promote mozart / oz in my country" > My thesis is about a scheduler planner coupled to a server and desktop > applications is a system that could be applicable to any enterprise to > organize its activities only need to write some constraint. I need your help > in a particular constraint > > Suppose we have a variable "A" representing the time in minutes to start a > certain activity. > > A :: Init # End > > The variables "Init" and "End" indicates the range of time allowed to start > the activity, for example if you write this A:: 0 # 120, indicate that the > activity A can start at any minute that this between 0:00 am and 2:00 am on > day 0 > Now my question is, how can I implement that the activity can start any > minute between the first two hours of "any day" ? > > Enrique > > _________________________________________________________________________________ > 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
