public class CoverageQueryResult extends CoverageData
GridPointPlaceholder
Constructor and Description |
---|
CoverageQueryResult(TimeIntervalCollection considered)
Initializes a new instance based on the given intervals of consideration.
|
CoverageQueryResult(TimeIntervalCollection considered,
AccessQueryResult satisfactionResult)
Initializes a new instance based on an existing
AccessQueryResult
and a set of intervals considered in the coverage calculation producing these results. |
CoverageQueryResult(TimeIntervalCollection considered,
CoverageFilter filter,
List<Object> assets,
List<AccessQueryResult> assetResults)
Initializes a new instance based on a set of assets and their corresponding
AccessQueryResults . |
Modifier and Type | Method and Description |
---|---|
CoverageQueryResult |
applyFilter(CoverageFilter filter)
Applies the given filter to this result and returns a new result.
|
List<CoverageFilter> |
getAppliedCoverageFilters()
Gets the set of
CoverageFilters which have been applied to these results. |
TimeIntervalCollection1<Integer> |
getSatisfactionIntervalsWithNumberOfAssets()
Gets the set of overall satisfaction intervals with the number of assets providing coverage for
that interval recorded in the
Data (get ) property. |
getAccessResultsForAsset, getAssetAccessResults, getAssetsConsidered, getAssetsSatisfiedAtTime, getAssetsUnknownAtTime, getConsideredIntervals, getSatisfactionForAsset, getSatisfactionIntervals, getUnknownIntervals, setAssetAccessResults, setAssetsConsidered, setConsideredIntervals, setCoverageData, setSatisfactionIntervals, setUnknownIntervals
public CoverageQueryResult(@Nonnull TimeIntervalCollection considered)
considered
- The intervals considered when calculating coverage.public CoverageQueryResult(@Nonnull TimeIntervalCollection considered, @Nonnull AccessQueryResult satisfactionResult)
AccessQueryResult
and a set of intervals considered in the coverage calculation producing these results.considered
- The intervals considered in the coverage calculation.satisfactionResult
- The existing result of the overall calculation.public CoverageQueryResult(@Nonnull TimeIntervalCollection considered, @Nonnull CoverageFilter filter, @Nonnull List<Object> assets, @Nonnull List<AccessQueryResult> assetResults)
AccessQueryResults
.considered
- The intervals considered in the coverage calculation.filter
- The filter used to indicate when coverage is satisfied.assets
- An ordered list of assets corresponding to assetResults
.assetResults
- An ordered list of access results corresponding to the assets
.@Nonnull public final CoverageQueryResult applyFilter(@Nonnull CoverageFilter filter)
filter
- The filter indicating whether any given interval satisfies coverage.@Nonnull public final TimeIntervalCollection1<Integer> getSatisfactionIntervalsWithNumberOfAssets()
Data
(get
) property.@Nonnull public final List<CoverageFilter> getAppliedCoverageFilters()
CoverageFilters
which have been applied to these results.