public final class ResponseTime extends Object
Modifier and Type | Method and Description |
---|---|
static double |
instantaneousResponseTime(CoverageQueryResult coverageIntervals,
JulianDate time)
Given a point in time, this computes the time it takes to gain coverage (in seconds).
|
static double |
maximumResponseTime(CoverageQueryResult coverageIntervals)
Computes the maximum time it takes to gain coverage.
|
static double |
minimumResponseTime(CoverageQueryResult coverageIntervals)
The minimum time it takes to gain coverage.
|
public static double minimumResponseTime(@Nonnull CoverageQueryResult coverageIntervals)
If any coverage exists, this is zero. Otherwise, it is the length of the interval of interest.
coverageIntervals
- The intervals of coverage.public static double maximumResponseTime(@Nonnull CoverageQueryResult coverageIntervals)
This is the same as RevisitTime.maximumRevisitTime(CoverageQueryResult)
.
coverageIntervals
- The intervals of coverage.public static double instantaneousResponseTime(@Nonnull CoverageQueryResult coverageIntervals, @Nonnull JulianDate time)
coverageIntervals
- The intervals of coverage.time
- The time of interest.IllegalStateException
- Thrown if the time
lies outside of
the ConsideredIntervals
(get
/ set
) or within the
UnknownIntervals
(get
/ set
).