Code Examples
A repository of 155 code examples for BeepBeep
mining.extraction.MaxMiningFunctionProcessor Class Reference

Create a mining function from BeepBeep processors. More...

Static Public Member Functions

static void main (String[] args) throws FunctionException
 

Detailed Description

Create a mining function from BeepBeep processors.

This example is identical to MaxMiningFunction, except that it uses BeepBeep processors to perform the same mining task, instead of custom code. As a result, the solution here is about 3 times shorter (in absolute number of lines of code, roughly 5 vs. 15).

The function is parameterized as follows:

ParameterValue
Processor graph
Processor graph
Processor graph
Processor graph

As one can see, the trend processor computes the maximum value on a stream. The aggregation processor runs yet another instance of the max processor, by feeding the elements of the input set one by one and returning its last value.

See also
MaxMiningFunction
Author
Sylvain Hallé

Definition at line 60 of file MaxMiningFunctionProcessor.java.


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