package dose

  1. Overview
  2. Docs
type solver
val load : ?check:bool -> Cudf.universe -> solver
val edos_install : ?global_constraints:bool -> Cudf.universe -> Cudf.package -> Diagnostic.diagnosis
val edos_coinstall : ?global_constraints:bool -> Cudf.universe -> Cudf.package list -> Diagnostic.diagnosis
val edos_coinstall_prod : ?global_constraints:bool -> Cudf.universe -> Cudf.package list list -> Diagnostic.diagnosis list
val trim : ?global_constraints:bool -> Cudf.universe -> Cudf.universe
val find_broken : ?global_constraints:bool -> Cudf.universe -> Cudf.package list
val find_installable : ?global_constraints:bool -> Cudf.universe -> Cudf.package list
val find_listbroken : ?global_constraints:bool -> Cudf.universe -> Cudf.package list -> Cudf.package list
val find_listinstallable : ?global_constraints:bool -> Cudf.universe -> Cudf.package list -> Cudf.package list
val univcheck : ?global_constraints:bool -> ?callback:(Diagnostic.diagnosis -> unit) -> Cudf.universe -> int
val listcheck : ?global_constraints:bool -> ?callback:(Diagnostic.diagnosis -> unit) -> Cudf.universe -> Cudf.package list -> int
val dependency_closure : ?maxdepth:int -> ?conjunctive:bool -> Cudf.universe -> Cudf.package list -> Cudf.package list
val reverse_dependencies : Cudf.universe -> Cudf.package list Common.CudfAdd.Cudf_hashtbl.t
val reverse_dependency_closure : ?maxdepth:int -> Cudf.universe -> Cudf.package list -> Cudf.package list
type enc =
  1. | Cnf
  2. | Dimacs
val output_clauses : ?global_constraints:bool -> ?enc:enc -> Cudf.universe -> string
type solver_result =
  1. | Sat of Cudf.preamble option * Cudf.universe
  2. | Unsat of Diagnostic.diagnosis option
  3. | Error of string
val check_request : ?cmd:string -> ?callback:((int array * Diagnostic.diagnosis) -> unit) -> ?criteria:string -> ?explain:bool -> Cudf.cudf -> solver_result
val check_request_using : ?call_solver:(Cudf.cudf -> Cudf.preamble option * Cudf.universe) -> ?callback:((int array * Diagnostic.diagnosis) -> unit) -> ?criteria:string -> ?explain:bool -> Cudf.cudf -> solver_result
OCaml

Innovation. Community. Security.