File: index.rst

package info (click to toggle)
mdds 3.1.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 6,064 kB
  • sloc: cpp: 20,809; sh: 1,369; makefile: 624; python: 603
file content (21 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.. highlight:: cpp

Segment Tree
============

`Segment tree <https://en.wikipedia.org/wiki/Segment_tree>`_ is a data structure
designed for storing one-dimensional intervals or segments, either overlapping
or non-overlapping.  It is useful for detecting all the segments that contain a
specific point.  Each segment has start and end positions where the start
position is inclusive while the end position is not.  The version of segment
tree implemented in mdds allows associating a value with each segment so that
you can use it as an associative container.

.. toctree::
   :maxdepth: 1

   quickstart.rst
   remove-segments.rst
   perf.rst
   api.rst