module type LMap_spec = sig
.. end
A set of locations with an attached value on each of them
type ('a, 'b)
t
val make : ('a Biocaml_genomeMap.location * 'b) Stream.t ->
('a, 'b) t
val fold : ('a -> Biocaml_genomeMap.range -> 'b -> 'c -> 'c) ->
('a, 'b) t -> 'c -> 'c
fold guaranteed on increasing order keywise, and for each key
val pwfold : ('a -> Biocaml_genomeMap.range -> 'b list -> 'c -> 'c) ->
('a, 'b) t -> 'c -> 'c
a constant interval of an LMap lm
is a range intersecting lm
and
that do not contain any start or end of a range from lm
. A maximal
constant interval is a constant interval, maximum for inclusion.
pwfold f lm init
folds on maximal constant intervals of lm
,
in increasing order
val intersects : 'a Biocaml_genomeMap.location ->
('a, 'b) t -> bool
val to_stream : ('a, 'b) t ->
('a Biocaml_genomeMap.location * 'b) Stream.t
val union : ('a, 'b) t ->
('a, 'b) t ->
('a, 'b) t
val add : 'a Biocaml_genomeMap.location ->
'b ->
('a, 'b) t ->
('a, 'b) t