[][src]Module arnalisa::bins::fifo

A bin that stores values in a fifo and calculates some facts about them.

  ┌────────[fifo]────────┐
 ⇒│input              min│⇒
 ⇒│min_items          max│⇒
 ⇒│max_items        delta│⇒
  └──────────────────────┘

Inputs:

  • input: The input value
  • min_items: The minimum number of items for the values to be calculated. As long as the number of values in the fifo is smaller than min_items, all outputs will be Nothing.
  • max_items: The maximum number of items allowed in the fifo. If more items are in the present, they get taken out of the fifo.

Outputs:

  • min: The minimum of all values in the fifo, or Nothing if the number of values in the fifo is smaller than the min_items input.
  • max: The maximum of all values in the fifo, or Nothing if the number of values in the fifo is smaller than the min_items input.
  • delta: The difference between the min and max output values.

Structs

Bin

A bin that stores values in a fifo and calculates some facts about them.

Description

Description for the fifo bin.