Dedicated to interval maps.
Unlike an interval set which simply keeps tracks of intervals, an interval map is about mapping those intervals to sets of arbitrary values.
See README for overview and glossary.
Dedicated to interval maps. Unlike an interval set which simply keeps tracks of intervals, an interval map is about mapping those intervals to sets of arbitrary values. See README for overview and glossary.
(by-value segments)
Classifies segments by value.
Returns a map of value -> set of intervals.
Classifies segments by value. Returns a map of value -> set of intervals.
(erase imap from to value)
In imap
, in interval [from to]
(if it exists), removes value
.
Other values for that interval (if it exists) remain.
In `imap`, in interval `[from to]` (if it exists), removes `value`. Other values for that interval (if it exists) remain.
(mark imap from to value)
In imap
, establishes an interval [from to]
pointing to value
.
A same interval can point to more than one value.
In `imap`, establishes an interval `[from to]` pointing to `value`. A same interval can point to more than one value.
(union segments)
Given segments of values, returns a set of unique values.
Given segments of values, returns a set of unique values.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close