java.lang.Object
com.fetish.toolkit.Kalman
- public class Kalman
- extends java.lang.Object
Class that implements a modified Kalman filter.
The Kalman filter is a discrete predictive filter for signals with a
white noise
which are measured through a noisy procedure.
The default Kalman filter behavior has been modified to fit the network
model. It is used by the FetishLeaseRenewalManager to get an estimation
of the network delays to ensure Fetish lease renewal.
|
Field Summary |
private double |
K
|
private double |
P
|
private double |
Q
|
private double |
tau
|
private long |
tprev
|
private double |
x
|
|
Constructor Summary |
Kalman(double tau)
|
Kalman(double tau,
double Q)
|
Kalman(double tau,
double Q,
double P)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
private double x
K
private double K
tau
private double tau
tprev
private long tprev
P
private double P
Q
private double Q
Kalman
public Kalman(double tau)
Kalman
public Kalman(double tau,
double Q)
Kalman
public Kalman(double tau,
double Q,
double P)
getForecast
public double getForecast()
getError
public double getError()
forecast
public double forecast(double z,
long t)
forecastEnvelope
public double forecastEnvelope(double z,
long t)