package lutin

  1. Overview
  2. Docs

Source file fGen.ml

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
30
31
32
(*-----------------------------------------------------------------------
** Copyright (C) - Verimag.
** This file may only be copied under the terms of the CeCill
** Public License
**-----------------------------------------------------------------------
**
** File: fGen.ml
**
*)


(*** Object-like interface, make it easy to switch with other formula generator
     (see LutFGen)
*)

type t = {
	choose_one_formula :  unit ->  t * Exp.formula  * Prog.ctrl_state;
	get_all_formula : unit -> Exp.formula list
}

(*** Exceptions *)
exception NoMoreFormula
exception NormalStop of string


(* De-referenced calls, for backward compatibility.
   One may use :
   "x.choose_one_formula" instead of "choose_one_formula x" 
   "x.get_all_formula"    instead of "get_all_formula x" 
*)
(* let choose_one_formula st (x:t) = x.choose_one_formula st *)
(* let get_all_formula st (x:t) = x.get_all_formula st *)
OCaml

Innovation. Community. Security.