Skip to content

Struct heap_node

ClassList > heap_node

Uzly pro obousměrné haldy mediánu. More...

Public Attributes

Type Name
uint32_t gen
uint16_t tap_idx
int16_t value

Detailed Description

tap_idx a gen umožňují označit prvek jako zastaralý bez přepisování haldy – při přesunu zapisovacího kurzoru se pro daný tap zvyšuje generace.

Public Attributes Documentation

variable gen

uint32_t heap_node::gen;

Generace tapu pro lazy invalidaci.


variable tap_idx

uint16_t heap_node::tap_idx;

Z jakého tapu vzorek pochází.


variable value

int16_t heap_node::value;

Uložená vzorková hodnota.



The documentation for this class was generated from the following file scripts/median-filter/csrc/peak_detector.c