Full implem of BU_over_Max and TP_max (to be tested) + my.xml from thesis + stuffs...
[tatoo.git] / src / stateSet.ml
1 (***********************************************************************)
2 (*                                                                     *)
3 (*                               TAToo                                 *)
4 (*                                                                     *)
5 (*                     Kim Nguyen, LRI UMR8623                         *)
6 (*                   Université Paris-Sud & CNRS                       *)
7 (*                                                                     *)
8 (*  Copyright 2010-2012 Université Paris-Sud and Centre National de la *)
9 (*  Recherche Scientifique. All rights reserved.  This file is         *)
10 (*  distributed under the terms of the GNU Lesser General Public       *)
11 (*  License, with the special exception on linking described in file   *)
12 (*  ../LICENSE.                                                        *)
13 (*                                                                     *)
14 (***********************************************************************)
15
16 open Format
17
18 include Ptset.Make (Hcons.PosInt)
19
20 let print ppf s =
21   if is_empty s
22   then fprintf ppf "ø"
23   else
24     let p_set ppf s =
25       (Pretty.print_list ~sep:"," (State.print)) ppf (elements s) in
26     fprintf ppf "{%a}" p_set s
27