Implement runtime optimisation via Hashing of transitions.
[tatoo.git] / src / utils / cache.mli
index dba9917..d6c0ebb 100644 (file)
@@ -14,7 +14,7 @@
 (***********************************************************************)
 
 (*
-  Time-stamp: <Last modified on 2013-03-13 16:01:55 CET by Kim Nguyen>
+  Time-stamp: <Last modified on 2013-03-13 18:04:35 CET by Kim Nguyen>
 *)
 
 (** N-dimentional caches *)
@@ -69,3 +69,13 @@ module N5 :
     val dummy : 'a t -> 'a
     val iteri : (int -> int -> int -> int -> int -> 'a -> bool -> unit) -> 'a t -> unit
   end
+
+module N6 :
+  sig
+    type 'a t
+    val create : int -> 'a -> 'a t
+    val find : 'a t -> int -> int -> int -> int -> int -> int -> 'a
+    val add : 'a t -> int -> int -> int -> int -> int -> int -> 'a -> unit
+    val dummy : 'a t -> 'a
+    val iteri : (int -> int -> int -> int -> int -> int -> 'a -> bool -> unit) -> 'a t -> unit
+  end