Code Examples
A repository of 155 code examples for BeepBeep
episodes.AverageEpisodes Class Reference

Computes the list of average values of each episode, grouped by day. More...

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Computes the list of average values of each episode, grouped by day.

For example, given this stream of pressure events:

✸ ↑ 151 142 ↓ ↑ 148 149 144 ↓ ✸ ↑ 150 142 ↓ ✸

the processor should output {146.5, 147} (averages of 1st and 2nd episode of first day) followed by {146} (average of single episode of second day). Graphically, this can be represented by the following processor chain:

Processor chain
Author
Sylvain Hallé

Definition at line 57 of file AverageEpisodes.java.


The documentation for this class was generated from the following file: