@Deprecated public final class GridStatistics extends Object
Modifier and Type  Method and Description 

static double 
areaCovered(Iterable<? extends CoverageGridPoint> gridPoints)
Deprecated.
Computes the total area on the grid which has been covered.

static double 
averageFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints,
FigureOfMerit<Double> function)
Deprecated.
Computes the average of a given figure of merit over the grid (ignoring grid weighting).

static double 
averageWeightedFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints,
FigureOfMerit<Double> function)
Deprecated.

static JulianDate 
completeSatisfactionTime(Iterable<? extends CoverageGridPoint> gridPoints)
Deprecated.
Gets the earliest time at which satisfaction has been achieved (not necessarily concurrently) for all of
the grid points, or
null if one or more grid points are never satisfied 
static GridTimeSampledValues 
computeFigureOfMeritData(CoverageGridResult grid,
IFigureOfMeritDefinition figureOfMerit,
TimeInterval interval,
Duration stepsize)
Deprecated.
Compute the given figure of merit over the coverage grid

static List<GridTimeSampledValues> 
computeFigureOfMeritData(CoverageGridResult grid,
List<IFigureOfMeritDefinition> figuresOfMerit,
TimeInterval interval,
Duration stepsize)
Deprecated.
Compute the given figure of merit over the coverage grid

static double 
instantaneousAreaCovered(Iterable<? extends CoverageGridPoint> gridPoints,
JulianDate time)
Deprecated.
Computes the total area on the grid which is covered at a given time.

static double 
instantaneousPercentCovered(Iterable<? extends CoverageGridPoint> gridPoints,
JulianDate time)
Deprecated.
Computes the percent of the overall grid which is covered at the given time
based on whether each individual grid point representing a given area is covered.

static <T extends Comparable<T>> 
maximumFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints,
FigureOfMerit<T> function)
Deprecated.
Computes the maximum of a given figure of merit over the grid, based on the grid
point weights (usually area).

static <T extends Comparable<T>> 
minimumFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints,
FigureOfMerit<T> function)
Deprecated.
Computes the minimum of a given figure of merit over the grid, based on the grid
point weights (usually area).

static double[] 
percentAccumulated(Iterable<? extends CoverageGridPoint> gridPoints,
JulianDate start,
JulianDate stop,
Duration step)
Deprecated.
Given a time after a start time, computes the highest percentage of the grid
which has been covered at any one time after the start and before the time of interest.

static double 
percentCovered(Iterable<? extends CoverageGridPoint> gridPoints)
Deprecated.
Computes the percent of the overall grid which is covered based on whether each
individual grid point representing a given area is covered at any time.

static TimeIntervalCollection 
satisfactionIntervals(Iterable<? extends CoverageGridPoint> gridPoints)
Deprecated.
Returns the set of intervals where the entire set of grid points is satisfied.

static TimeIntervalCollection 
unknownIntervals(Iterable<? extends CoverageGridPoint> gridPoints)
Deprecated.
Returns the set of intervals where coverage is unknown on any of the grid points.

public static TimeIntervalCollection satisfactionIntervals(Iterable<? extends CoverageGridPoint> gridPoints)
gridPoints
 The set of grid points to analyze.public static TimeIntervalCollection unknownIntervals(Iterable<? extends CoverageGridPoint> gridPoints)
gridPoints
 The set of grid points to analyze.public static double percentCovered(Iterable<? extends CoverageGridPoint> gridPoints)
gridPoints
 The data on the coverage intervals to analyze.public static double instantaneousPercentCovered(Iterable<? extends CoverageGridPoint> gridPoints, @Nonnull JulianDate time)
gridPoints
 The data on the coverage intervals to analyze.time
 The time of interest.public static double[] percentAccumulated(Iterable<? extends CoverageGridPoint> gridPoints, @Nonnull JulianDate start, @Nonnull JulianDate stop, @Nonnull Duration step)
gridPoints
 The coverage grid which must contain the coverage intervals
on each of the grid points.start
 The start of the coverage accumulation.stop
 The time of interest at which to report the accumulated percent coverage.step
 The time step at which to sample the coverage intervals.public static double areaCovered(Iterable<? extends CoverageGridPoint> gridPoints)
gridPoints
 The coverage grid which must contain the coverage intervals
on each of the grid points along with the grid point weights representing the area
of each grid point.public static double instantaneousAreaCovered(Iterable<? extends CoverageGridPoint> gridPoints, @Nonnull JulianDate time)
gridPoints
 The coverage grid which must contain the coverage intervals
on each of the grid points along with the grid point weights representing the area
of each grid point.time
 The time of interest at which to compute the coverage area.public static double averageFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints, FigureOfMerit<Double> function)
gridPoints
 The coverage grid which must contain the coverage intervals
on each of the grid points along with the grid point weights representing the area
of each grid point.function
 The figure of merit to average.public static double averageWeightedFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints, FigureOfMerit<Double> function)
Weight
(get
/ set
).gridPoints
 The coverage grid which must contain the coverage intervals
on each of the grid points along with the grid point weights representing the area
of each grid point.function
 The figure of merit to average.public static <T extends Comparable<T>> T minimumFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints, FigureOfMerit<T> function)
T
 The type of value produced by the figure of merit.gridPoints
 The coverage grid which must contain the coverage intervals
on each of the grid points along with the grid point weights representing the area
of each grid point.function
 The figure of merit.public static <T extends Comparable<T>> T maximumFigureOfMerit(Iterable<? extends CoverageGridPoint> gridPoints, FigureOfMerit<T> function)
T
 The type of value produced by the figure of merit.gridPoints
 The coverage grid which must contain the coverage intervals
on each of the grid points along with the grid point weights representing the area
of each grid point.function
 The figure of merit.public static GridTimeSampledValues computeFigureOfMeritData(CoverageGridResult grid, IFigureOfMeritDefinition figureOfMerit, TimeInterval interval, @Nonnull Duration stepsize)
Calls GridTimeSampledValues.computeData(CoverageGridResult,IFigureOfMeritDefinition,TimeInterval,Duration)
on GridTimeSampledValues
.
grid
 The coverage grid results.figureOfMerit
 The figure of merit to compute.interval
 The time interval over which to compute.stepsize
 The step size at which to compute.public static List<GridTimeSampledValues> computeFigureOfMeritData(CoverageGridResult grid, List<IFigureOfMeritDefinition> figuresOfMerit, TimeInterval interval, @Nonnull Duration stepsize)
Calls GridTimeSampledValues.computeData(CoverageGridResult,List,TimeInterval,Duration)
on GridTimeSampledValues
.
grid
 The coverage grid results.figuresOfMerit
 The list of figures of merit to compute.interval
 The time interval over which to compute.stepsize
 The step size at which to compute.figuresOfMerit
containing the
data for each grid point sampled over time.@Nullable public static JulianDate completeSatisfactionTime(Iterable<? extends CoverageGridPoint> gridPoints)
null
if one or more grid points are never satisfiedgridPoints
 The grid points and their coverage results.