Module Interval


module Interval: sig .. end
Variable Membership to an Interval

val is_member : Var.Fd.t -> int -> int -> Var.Fd.t
is_member v inf sup returns a boolean variable which will be instantiated to 1 if v is in inf..sup and to 0 otherwise.
val cstr : Var.Fd.t -> int -> int -> Var.Fd.t -> Cstr.t
cstr v inf sup b returns a constraint ensuring that the boolean variable b is instantiated to 1 if v is in inf..sup and to 0 otherwise. Not reifiable.