org.n52.ifgicopter.spf.data
Class AbstractInterpolator
java.lang.Object
org.n52.ifgicopter.spf.data.AbstractInterpolator
public abstract class AbstractInterpolator
- extends Object
Abstract class for an interpolation algorithm.
- Author:
- Matthes Rieke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInterpolator
public AbstractInterpolator()
interpolateForTimestamp
public abstract Map<String,Object> interpolateForTimestamp(Map<String,SortedMap<Long,Object>> data,
long timestamp)
- Parameters:
data
- the sorted maptimestamp
- the timestamp to get the data
- Returns:
- one data set for the timestamp
interpolateForTimestamp
public abstract Map<String,Object> interpolateForTimestamp(Map<String,SortedMap<Long,Object>> data,
Long timestamp,
Set<String> forItems)
- Parameters:
data
- the sorted maptimestamp
- the timestamp to get the dataforItems
- only create data for this items
- Returns:
- map with interpolated values
getMinimumDataCount
public abstract int getMinimumDataCount()
- Returns:
- the number of data values needed for interpolation
Copyright © 2004-2012 52north.org. All Rights Reserved.