public class MovingTimes extends Object
|Constructor and Description|
Construct an instance of
|Modifier and Type||Method and Description|
Get the last i-th time stamp.
Checks if the signal has received enough points to finish initialization.
Update the signal with a new timestamp.
public MovingTimes(int N)
N- the number of time points to keep
public boolean isReady()
trueif the signal has received at least
public void update(org.joda.time.DateTime t)
t- a timestamp
public org.joda.time.DateTime getLast(int i)
i- lag ∈ [-N+1, 0]
Copyright © 2010–2018 Numerical Method Inc.. All rights reserved.