Representation of either a start or an end of an interval.
More...
#include <dynamic_segment_tree.hpp>
|
using | KeyT = KeyT_in |
| The type of the key (i.e., the interval bounds)
|
|
using | ValueT = ValueT_in |
| The type of the value associated with the intervals.
|
|
using | AggValueT = AggValueT_in |
| The type of the aggregate value.
|
|
|
template<class FNode , class FNodeTraits , class FCombiners , class FOptions , class TreeSelector , class FTag > |
class | ::ygg::DynamicSegmentTree |
|
template<class FInnerTree , class FInnerNode , class FNode , class FNodeTraits > |
class | InnerRBNodeTraits |
|
template<class FInnerTree , class FInnerNode , class FNode , class FNodeTraits > |
class | InnerWBNodeTraits |
|
template<class FInnerTree , class FInnerNode , class FAggValueT > |
class | InnerZNodeTraits |
|
template<class FInnerNode , class... FCombiners> |
class | ASCIIInnerNodeNameGetter |
|
template<class FInnerNode , class... FCombiners> |
class | DOTInnerNodeNameGette |
|
template<template< class InnerNodeCRTP, class BaseKeyT > class Base, class OuterNode, class KeyT_in, class ValueT_in, class AggValueT_in, class Combiners, class Tag>
class ygg::dyn_segtree_internal::InnerNode< Base, OuterNode, KeyT_in, ValueT_in, AggValueT_in, Combiners, Tag >
Representation of either a start or an end of an interval.
An object of this class represents either a start or an end of an interval you inserted into a DynamicSegmentTree. You can use get_interval() to retrieve a pointer to the node that you inserted into the DynamicSegmentTree.
◆ get_interval()
template<template< class InnerNodeCRTP, class BaseKeyT > class Base, class OuterNode , class KeyT_in , class ValueT_in , class AggValueT_in , class Combiners , class Tag >
Returns a pointer to your interval node.
This returns a pointer to an DynSegTreeNodeBase, which is the base class from which you have derived your Node class. You can up-cast this into your node class to get a pointer to the interval node.
- Returns
- a pointer to your interval node
◆ get_point()
template<template< class InnerNodeCRTP, class BaseKeyT > class Base, class OuterNode , class KeyT_in , class ValueT_in , class AggValueT_in , class Combiners , class Tag >
Returns the point at which the event represented by this InnerNode happens.
- Returns
- The point at which the event represented by this InnerNode happens
◆ is_closed()
template<template< class InnerNodeCRTP, class BaseKeyT > class Base, class OuterNode , class KeyT_in , class ValueT_in , class AggValueT_in , class Combiners , class Tag >
Returns true if the interval border represented by this InnerNode is closed.
- Returns
- true if the interval border represented by this InnerNode is closed
◆ is_end()
template<template< class InnerNodeCRTP, class BaseKeyT > class Base, class OuterNode , class KeyT_in , class ValueT_in , class AggValueT_in , class Combiners , class Tag >
Returns true if this InnerNode represents an interval end.
- Returns
- true if this InnerNode represents an interval end
◆ is_start()
template<template< class InnerNodeCRTP, class BaseKeyT > class Base, class OuterNode , class KeyT_in , class ValueT_in , class AggValueT_in , class Combiners , class Tag >
Returns true if this InnerNode represents an interval start.
- Returns
- true if this InnerNode represents an interval start
The documentation for this class was generated from the following file: