timeBench.action.analytical.GranularityAggregationSum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timebench Show documentation
Show all versions of timebench Show documentation
TimeBench, a flexible, easy-to-use, and reusable software library written in Java that provides foundational data structures and algorithms for time- oriented data in Visual Analytics.
The newest version!
package timeBench.action.analytical;
import timeBench.data.TemporalObject;
public class GranularityAggregationSum extends
GranularityAggregationFunction {
private boolean naomit = false;
public GranularityAggregationSum() {
naomit = false;
}
public GranularityAggregationSum(boolean missingValuesOmit) {
naomit = missingValuesOmit;
}
@Override
public double[] aggregate(Iterable childs,
int[] dataColumnIndices, Double missingValueIdentifier) {
double[] totalValue = new double[dataColumnIndices.length];
for(int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy