Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Jan 3, 2012
1 parent 4dbb5ed commit 6d1b26a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/lib/biocaml_intervalTree.ml
Expand Up @@ -233,19 +233,3 @@ let find_closest lo hi t = match find_closest_aux lo hi t with
Some (n,_) -> node_contents n
| None -> raise Empty_tree

(*
let find_closest lo hi = function
| Empty -> None
| Node n ->
let queue = Queue.create ()
and optdist = ref max_int
and optnode = ref None in
Queue.add t queue ;
while not (Queue.is_empty t) do
match Queue.pop queue with
done
*)

(* let rec find_kclosest k lo hi t = *)
2 changes: 2 additions & 0 deletions src/lib/biocaml_intervalTree.mli
Expand Up @@ -37,5 +37,7 @@ val find_closest : int -> int -> 'a t -> int * int * 'a
Raises [Empty_tree] if [t] is empty *)

val print : 'a t -> unit
(** Used for debugging purpose, should be removed in the long run *)

val check_integrity : 'a t -> unit
(** Used for debugging purpose, should be removed in the long run *)

0 comments on commit 6d1b26a

Please sign in to comment.