public class GroupCalculator extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GroupCalculator.GroupMethod
method used for grouping
|
| Constructor and Description |
|---|
GroupCalculator(GroupCalculator.GroupMethod method,
java.lang.Integer range) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ShockMeasurement> |
group(java.util.List<ShockMeasurement> measurements) |
void |
setLevelFilter(int[] levelFilter) |
public GroupCalculator(GroupCalculator.GroupMethod method, java.lang.Integer range)
method - range - in meters, if null or < 1 default is usedpublic void setLevelFilter(int[] levelFilter)
levelFilter - the levelFilter to setpublic java.util.List<ShockMeasurement> group(java.util.List<ShockMeasurement> measurements)
measurements - note: the passed list might be modified by this methodCopyright © 2015-2018 Tampere University of Technology, Pori Department.