package combine

  1. Overview
  2. Docs
module Pattern : sig ... end
module Tile : sig ... end
type problem = private {
  1. grid : Pattern.t;
  2. pname : string;
  3. pieces : Tile.t list;
}
val create_problem : ?name:string -> Pattern.t -> Tile.t list -> problem
val print_problem : Format.formatter -> problem -> unit
type emc = {
  1. primary : int;
  2. matrix : bool array array;
  3. tiles : (Tile.t * int * int) array;
}
val print_emc : Format.formatter -> emc -> unit
val emc : problem -> emc
val print_solution_to_svg : Format.formatter -> width:int -> height:int -> problem -> emc -> int list -> unit
val print_solution_to_svg_file : string -> width:int -> height:int -> problem -> emc -> int list -> unit
val print_solution_ascii : Format.formatter -> problem -> emc -> int list -> unit
OCaml

Innovation. Community. Security.