/usr/lib/ocaml/facile/fcl_linear.mli is in libfacile-ocaml-dev 1.1.1-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | (***********************************************************************)
(* *)
(* FaCiLe *)
(* A Functional Constraint Library *)
(* *)
(* Nicolas Barnier, Pascal Brisset, LOG, CENA *)
(* *)
(* Copyright 2004 CENA. All rights reserved. This file is distributed *)
(* under the terms of the GNU Lesser General Public License. *)
(***********************************************************************)
type operator = LessThan | Equal | Diff
val min_max_plus_inter : int -> int -> int -> int -> (int * int)
val min_max_minus_inter : int -> int -> int -> int -> (int * int)
val cstr : ?boolsum:int ->
(int * Fcl_var.Fd.t) list -> operator -> int -> Fcl_cstr.t
(* [cstr (?boolsum:int) coef_vars op d] returns the linear constraint
[sum coef_vars op d] and automatically optimizes boolean sums larger
than [boolsum] variables (default: 5). *)
val linear_aux : (int * Fcl_var.Fd.t) list -> int -> Fcl_var.Fd.t
val shift_cstr : Fcl_var.Fd.t -> Fcl_var.Fd.t -> int -> Fcl_cstr.t
(** [shift_cstr y x d] returns the constraint [y = x+d] *)
val get_boolsum_threshold : unit -> int
(** Returns the minimum size for boolean sums optimization. *)
val set_boolsum_threshold : int -> unit
(** Set the minimum size for boolean sums optimization.
[boolsum_threshold max_int] disables it. *)
|