EvaluatorHelperGetAvailabilityIntervals Method (TimeIntervalCollection, IAvailability, IAvailability, IAvailability) |
Computes availability intervals as the intersection of the availability of multiple evaluators.
Any evaluators that are are ignored.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static TimeIntervalCollection GetAvailabilityIntervals(
TimeIntervalCollection consideredIntervals,
IAvailability evaluator1,
IAvailability evaluator2,
IAvailability evaluator3
)
Public Shared Function GetAvailabilityIntervals (
consideredIntervals As TimeIntervalCollection,
evaluator1 As IAvailability,
evaluator2 As IAvailability,
evaluator3 As IAvailability
) As TimeIntervalCollection
public:
static TimeIntervalCollection^ GetAvailabilityIntervals(
TimeIntervalCollection^ consideredIntervals,
IAvailability^ evaluator1,
IAvailability^ evaluator2,
IAvailability^ evaluator3
)
static member GetAvailabilityIntervals :
consideredIntervals : TimeIntervalCollection *
evaluator1 : IAvailability *
evaluator2 : IAvailability *
evaluator3 : IAvailability -> TimeIntervalCollection
Parameters
- consideredIntervals
- Type: AGI.Foundation.TimeTimeIntervalCollection
The intervals over which availability information is needed. Returned availability
intervals will be constrained to these intervals.
- evaluator1
- Type: AGI.Foundation.TimeIAvailability
The first evaluator. - evaluator2
- Type: AGI.Foundation.TimeIAvailability
The second evaluator. - evaluator3
- Type: AGI.Foundation.TimeIAvailability
The third evaluator.
Return Value
Type:
TimeIntervalCollectionThe intervals over which all evaluators are available.
See Also