AccessComputationComputeIntervals Method (TimeIntervalCollection, ITrackCalculationProgress) |
Finds the intervals during which all constraints are satisfied.
Namespace:
AGI.Foundation.Access
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic AccessEvaluationResult ComputeIntervals(
TimeIntervalCollection computationIntervals,
ITrackCalculationProgress tracker
)
Public Function ComputeIntervals (
computationIntervals As TimeIntervalCollection,
tracker As ITrackCalculationProgress
) As AccessEvaluationResult
public:
AccessEvaluationResult^ ComputeIntervals(
TimeIntervalCollection^ computationIntervals,
ITrackCalculationProgress^ tracker
)
member ComputeIntervals :
computationIntervals : TimeIntervalCollection *
tracker : ITrackCalculationProgress -> AccessEvaluationResult
Parameters
- computationIntervals
- Type: AGI.Foundation.TimeTimeIntervalCollection
The list of intervals over which to compute Access. - tracker
- Type: AGI.FoundationITrackCalculationProgress
The object to which progress is reported and that is able to cancel this operation before it is complete, or .
Return Value
Type:
AccessEvaluationResultThe result of the Access evaluation, or
if the evaluation was canceled.
Exceptions| Exception | Condition |
|---|
| InvalidOperationException |
Thrown when no access constraints were configured when this method is called.
|
Remarks
Takes advantage of the
ThreadingPolicy in order to improve performance
by computing in multiple threads simultaneously.
See Also