|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstella.util.SineError.Relaxation
private static final class SineError.Relaxation
A class that simulates the reaction of the system to an offset. As
long as the relaxation is active, this class return the current
value of the individual relaxation process with
getCurrentRelax(double). Once isFinished(double) returns true, no
more changes in the relaxation will occur and the instance can be
removed from the currently active relaxation list.
| Field Summary | |
|---|---|
private double |
attain
The total offset this relaxation process should attain to. |
private double |
deadtime
The deadtime of the process. |
private double |
speed
The speed with which the system reaction during latency phase. |
private double |
t0
The time this relaxation was started. |
| Constructor Summary | |
|---|---|
private |
SineError.Relaxation(double tstart,
double total,
double toff,
double velocity)
Constructs a new relaxation process whose current offset is determined by a function that returns zero during the deadtime and will return its full offset latency and total offset dependant after the deadtime. |
| Method Summary | |
|---|---|
double |
getCurrentRelax(double t)
Returns the current relaxation state of this process. |
boolean |
isFinished(double t)
Returns true if this relaxation process is finished. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private double t0
private double attain
private double deadtime
private double speed
| Constructor Detail |
|---|
private SineError.Relaxation(double tstart,
double total,
double toff,
double velocity)
| Method Detail |
|---|
public double getCurrentRelax(double t)
public boolean isFinished(double t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||