projects
/
tatoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace the Hashtbl.t used for mapping nodes to state-sets by an
[tatoo.git]
/
src
/
tree
/
sig.ml
diff --git
a/src/tree/sig.ml
b/src/tree/sig.ml
index
aba5917
..
e2db1d1
100644
(file)
--- a/
src/tree/sig.ml
+++ b/
src/tree/sig.ml
@@
-14,7
+14,7
@@
(***********************************************************************)
(*
(***********************************************************************)
(*
- Time-stamp: <Last modified on 2013-03-1
1 00:12:27
CET by Kim Nguyen>
+ Time-stamp: <Last modified on 2013-03-1
3 18:46:18
CET by Kim Nguyen>
*)
(** Implementation of documents as binary trees *)
*)
(** Implementation of documents as binary trees *)
@@
-27,6
+27,9
@@
sig
type t
(** The type of trees *)
type t
(** The type of trees *)
+ val size : t -> int
+ (** Return the number of nodes *)
+
val nil : node
(** Nil node, denoting the first/second child of a leaf or the parent of
the root *)
val nil : node
(** Nil node, denoting the first/second child of a leaf or the parent of
the root *)