public class KalmanFilter
extends org.wso2.siddhi.core.executor.function.FunctionExecutor
These methods estimate values for noisy data.
measuredValue - measured value eg:40.695881 measuredChangingRate - Changing rate. eg: Velocity of the point which describes from measured value - 0.003d meters per second measurementNoiseSD - standard deviation of the noise. eg: 0.01 timestamp - the timestamp at the measured time eg: 1445234861l
Accept Type(s) for kalmanFilter(measuredValue); measuredValue : DOUBLE
Accept Type(s) for kalmanFilter(measuredValue, measurementNoiseSD); measuredValue : DOUBLE measurementNoiseSD : DOUBLE
Accept Type(s) for kalmanFilter(measuredValue, measuredChangingRate, measurementNoiseSD, timestamp); measuredValue : DOUBLE measuredChangingRate : DOUBLE measurementNoiseSD : DOUBLE timestamp : LONG
Return Type(s): DOUBLE
Constructor and Description |
---|
KalmanFilter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
currentState() |
protected Object |
execute(Object data) |
protected Object |
execute(Object[] data) |
org.wso2.siddhi.query.api.definition.Attribute.Type |
getReturnType() |
protected void |
init(org.wso2.siddhi.core.executor.ExpressionExecutor[] expressionExecutors,
org.wso2.siddhi.core.util.config.ConfigReader configReader,
org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext) |
void |
restoreState(Map<String,Object> map) |
void |
start() |
void |
stop() |
public void start()
public void stop()
protected void init(org.wso2.siddhi.core.executor.ExpressionExecutor[] expressionExecutors, org.wso2.siddhi.core.util.config.ConfigReader configReader, org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext)
init
in class org.wso2.siddhi.core.executor.function.FunctionExecutor
protected Object execute(Object[] data)
execute
in class org.wso2.siddhi.core.executor.function.FunctionExecutor
protected Object execute(Object data)
execute
in class org.wso2.siddhi.core.executor.function.FunctionExecutor
public org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType()
Copyright © 2017 WSO2. All rights reserved.