toy-lib-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SegmentTree.Util

Synopsis

Documentation

_childL :: Int -> Int #

\(O(1)\)

_childR :: Int -> Int #

\(O(1)\)

_isLChild :: Int -> Bool #

\(O(1)\)

_isRChild :: Int -> Bool #

\(O(1)\)

_pruneTrick :: Int -> Int -> Int -> Bool #

\(O(1)\) Pruning trick for excluding vertices under the glitch segments.

Segment tree beats

class FailableSemigroupActionTarget a where #

Methods

isFailureFSAT :: a -> Bool #

Instances

Instances details
FailableSemigroupActionTarget (SumMinMax a) # 
Instance details

Defined in Data.SegmentTree.Beats.SumMinMax

Methods

isFailureFSAT :: SumMinMax a -> Bool #