Method: IntervalNotation::SweepLine.make_multitagging

Defined in:
lib/interval_notation/sweep_line/sweep_line.rb

.make_multitagging(indexed_interval_sets) ⇒ Object

Make multi-tagging segmentation of interval sets. Multi-tagging means that segment store not only tag but number of times this tag was met. Each segment’s state in a resulting segmentation is a hash => count for tags lying against a segment.



46
47
48
# File 'lib/interval_notation/sweep_line/sweep_line.rb', line 46

def self.make_multitagging(indexed_interval_sets)
  make_segmentation(indexed_interval_sets, SweepLine::TraceState::MultiTagging.initial_state)
end