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.


Constructor Index

 o IDelay(Variable, double)
The contructor.

Method Index

 o start()
Starts the persuit.
 o stop()
Stops the persuit.

Constructors

 o IDelay
 public IDelay(jDisco.Variable target,
               double lag)
The contructor.

Parameters:
target - the target variable.
lag - the delay.

Methods

 o start
 public jDisco.Variable start()
Starts the persuit.

Returns:
this.
Overrides:
start in class jDisco.Variable
 o stop
 public void stop()
Stops the persuit.

Overrides:
stop in class jDisco.Variable

All Packages  Class Hierarchy  This Package  Previous  Next  Index