21 lines
370 B
C++
21 lines
370 B
C++
//
|
|
// Created by maximilian on 16.04.22.
|
|
//
|
|
|
|
#include<vector>
|
|
#include "geometry.h"
|
|
|
|
#ifndef PROG_SEGMENT_TREE_H
|
|
#define PROG_SEGMENT_TREE_H
|
|
|
|
|
|
class SegmentTree {
|
|
SegmentTree(const std::vector<Coordinate>);
|
|
|
|
Unit length_covered_intervals();
|
|
|
|
void add_interval(Interval interval);
|
|
void remove_interval(Interval interval);
|
|
};
|
|
|
|
#endif //PROG_SEGMENT_TREE_H
|