Code Examples
A repository of 155 code examples for BeepBeep
artimon.Engine Class Reference

Compute data about the execution of a hybrid car engine. More...

Static Public Member Functions

static void main (String[] args) throws FileNotFoundException
 

Detailed Description

Compute data about the execution of a hybrid car engine.

In this example, sensors collect data about the execution of a car engine, such as electrical power remaining, fuel remaining, speed and distance travelled. The execution of the engine is broken down into extended periods of time called "cycles", identified in the input data by a cycle number.

The processor chain in this example computes, for each cycle, the recovery rate. This corresponds to the sum of all datapoints in each cycle where electrical power is negative. The chain of processors that performs this computation can be illustrated as follows:

Processor chain
Author
Sylvain Hallé (for the BeepBeep processor chain)
Nicolas Rapin (for the original example)

Definition at line 65 of file Engine.java.


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