module LSet: sig .. end
A set of locations
type 'a t
val to_stream : 'a t -> 'a Biocaml_genomeMap.location Stream.t
val of_stream : 'a Biocaml_genomeMap.location Stream.t -> 'a t
val intersects : 'a Biocaml_genomeMap.location -> 'a t -> bool
intersects loc lmap returns true if loc has a non-empty
intersection with one of the locations in lmap, and returns
false otherwise
val closest : 'a Biocaml_genomeMap.location ->
'a t -> ('a Biocaml_genomeMap.location * int) option
closest loc lset returns the location in lset that is the
closest to loc, along with the actual (minimal)
distance. Returns None if there is no location in lset
that comes from the same sequence than loc.
val intersecting_elems : 'a Biocaml_genomeMap.location ->
'a t -> 'a Biocaml_genomeMap.location Stream.t
intersecting_elems loc lset returns an enumeration of all
locations in lset that intersect loc.