public class ModelRecordAggregator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
simudyne.core.schema.SchemaRecord |
schema |
java.lang.String |
tickTime |
Constructor and Description |
---|
ModelRecordAggregator(java.lang.String tickTime,
simudyne.core.schema.SchemaRecord schema) |
Modifier and Type | Method and Description |
---|---|
void |
add(ValueRecord tickValues) |
ValueRecord |
getAggregatedRecord() |
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics |
getResult(java.lang.String variableName)
Get
DescriptiveStatistics for specific variable |
simudyne.core.schema.SchemaRecord |
getSchemaRecord() |
public final java.lang.String tickTime
public final simudyne.core.schema.SchemaRecord schema
public ModelRecordAggregator(java.lang.String tickTime, simudyne.core.schema.SchemaRecord schema)
public void add(ValueRecord tickValues)
public ValueRecord getAggregatedRecord()
public simudyne.core.schema.SchemaRecord getSchemaRecord()
public org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getResult(java.lang.String variableName)
DescriptiveStatistics
for specific variablevariableName
- The full JSON path of variable as a string with JSON keys separated by '.'
e.g. "variableName.subName"