Click or drag to resize

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: 24.2.419.0 (24.2.419.0)
Syntax
public AccessEvaluationResult ComputeIntervals(
	TimeIntervalCollection computationIntervals,
	ITrackCalculationProgress tracker
)

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: AccessEvaluationResult
The result of the Access evaluation, or if the evaluation was canceled.
Exceptions
ExceptionCondition
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