All Packages Class Hierarchy This Package Previous Next Index
Class jDisco.IDelay
java.lang.Object
|
+----jDisco.Linkage
|
+----jDisco.Link
|
+----jDisco.Variable
|
+----jDisco.IDelay
- public class IDelay
- extends jDisco.Variable
This class may be used to describe ideal delays.
The state of an active IDelay-object lags behind
a given target's state with a specified delay,
lag.
The target may itself be moving.
During the first lag time units of an IDelay-object's
existence its state is equal to target's state at the
creation of the IDelay-object.
An IDelay-object stores samples of target's
state at the end of each integration step and interpolates
linearly between sampled values.
-
IDelay(Variable, double)
- The contructor.
-
start()
- Starts the persuit.
-
stop()
- Stops the persuit.
IDelay
public IDelay(jDisco.Variable target,
double lag)
- The contructor.
- Parameters:
- target - the target variable.
- lag - the delay.
start
public jDisco.Variable start()
- Starts the persuit.
- Returns:
- this.
- Overrides:
- start in class jDisco.Variable
stop
public void stop()
- Stops the persuit.
- Overrides:
- stop in class jDisco.Variable
All Packages Class Hierarchy This Package Previous Next Index