![]() |
Code Examples
A repository of 155 code examples for BeepBeep
|
Trend distance based on the maximum number of distinct symbols in a stream. More...
Static Public Member Functions | |
static void | main (String[] args) |
Trend distance based on the maximum number of distinct symbols in a stream.
In this example, we compute the number of distinct symbols in a sliding window of width 4. That number, minus 3, must be less than or equal to 0. In other words, there cannot be 4 distinct symbols in any window.
The parameters of the TrendDistance
processor in this example are as follows:
Parameter | Value |
---|---|
![]() | 4 |
![]() | ![]() |
![]() | 3 |
![]() | ![]() |
![]() | ![]() |
![]() | 1 |
Definition at line 82 of file MaxSymbols.java.