![]() |
Project
|
#include <SegmentTree.h>
Public Member Functions | |
Node ()=delete | |
Node (Interval< T > i, T midpoint) | |
~Node () | |
Node * | left () const |
Node * | right () const |
int | cardinality () const |
void | setCardinality (int c) |
void | increaseCardinality () |
void | decreaseCardinality () |
bool | goLeft (const Interval< T > &i) const |
bool | goRight (const Interval< T > &i) const |
bool | isPotent () const |
Node & | potent (bool v) |
T | midpoint () const |
Interval< T > | interval () const |
void | insertInterval (Interval< T > i) |
void | deleteInterval (Interval< T > i) |
Node & | setLeft (Node *left) |
Node & | setRight (Node *right) |
void | contribution (Interval< T > i, std::vector< o2::mch::contour::impl::Interval< T > > &edgeStack) |
void | update () |
void | promote () |
void | demote () |
bool | isLeaf () const |
std::vector< const Node * > | getNodeList () const |
Definition at line 33 of file SegmentTree.h.
|
delete |
|
explicit |
Definition at line 149 of file SegmentTree.h.
o2::mch::contour::impl::Node< T >::~Node | ( | ) |
Definition at line 155 of file SegmentTree.h.
|
inline |
Definition at line 46 of file SegmentTree.h.
void o2::mch::contour::impl::Node< T >::contribution | ( | Interval< T > | i, |
std::vector< o2::mch::contour::impl::Interval< T > > & | edgeStack | ||
) |
Contribution of an edge (b,e) to the final contour
Definition at line 162 of file SegmentTree.h.
|
inline |
Definition at line 53 of file SegmentTree.h.
void o2::mch::contour::impl::Node< T >::deleteInterval | ( | Interval< T > | i | ) |
Definition at line 220 of file SegmentTree.h.
void o2::mch::contour::impl::Node< T >::demote | ( | ) |
Definition at line 260 of file SegmentTree.h.
std::vector< const Node< T > * > o2::mch::contour::impl::Node< T >::getNodeList | ( | ) | const |
Definition at line 269 of file SegmentTree.h.
|
inline |
Whether i.begin() strictly < midpoint()
Definition at line 55 of file SegmentTree.h.
|
inline |
Whether midpoint() is strictly < i.end()
Definition at line 61 of file SegmentTree.h.
|
inline |
Definition at line 51 of file SegmentTree.h.
void o2::mch::contour::impl::Node< T >::insertInterval | ( | Interval< T > | i | ) |
Definition at line 204 of file SegmentTree.h.
|
inline |
Definition at line 77 of file SegmentTree.h.
|
inline |
Definition at line 103 of file SegmentTree.h.
|
inline |
Definition at line 67 of file SegmentTree.h.
|
inline |
Definition at line 42 of file SegmentTree.h.
|
inline |
Definition at line 75 of file SegmentTree.h.
|
inline |
Definition at line 69 of file SegmentTree.h.
void o2::mch::contour::impl::Node< T >::promote | ( | ) |
Definition at line 252 of file SegmentTree.h.
|
inline |
Definition at line 44 of file SegmentTree.h.
|
inline |
Definition at line 49 of file SegmentTree.h.
|
inline |
Definition at line 83 of file SegmentTree.h.
|
inline |
Definition at line 89 of file SegmentTree.h.
void o2::mch::contour::impl::Node< T >::update | ( | ) |
Definition at line 239 of file SegmentTree.h.