Click or drag to resize

IEvaluatorOverIntervalsTResult, TResultOverIntervals Interface

An interface for an evaluator that supports evaluation over an interval (or intervals) of time, in addition to evaluation at a specific JulianDate. The type of return value may be different for an evaluation over a single date compared to evaluation over an interval or a set of intervals. An evaluator implementing this interface may also optionally report progress via ITrackCalculationProgress.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public interface IEvaluatorOverIntervals<TResult, TResultOverIntervals> : IEvaluator<TResult>, 
	IEvaluator, IAvailability, IThreadAware, ICloneWithContext, IDisposable

Type Parameters

TResult
The type returned by the evaluator when evaluated at a specific JulianDate.
TResultOverIntervals
The type returned by the evaluator when evaluated over a time interval or set of time intervals.

The IEvaluatorOverIntervalsTResult, TResultOverIntervals type exposes the following members.

Properties
  NameDescription
Public propertyGroup
Gets the group that contains this evaluator.
(Inherited from IEvaluator.)
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
(Inherited from IThreadAware.)
Top
Methods
  NameDescription
Public methodClone
Clones this object using the specified context.
(Inherited from ICloneWithContext.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEvaluate(JulianDate)
Evaluates the function.
(Inherited from IEvaluatorT.)
Public methodEvaluate(TimeInterval)
Evaluates over a single considered time interval.
Public methodEvaluate(TimeIntervalCollection)
Evaluates over the supplied time intervals.
Public methodEvaluate(JulianDate, JulianDate)
Evaluates from the start date until the end date.
Public methodEvaluate(TimeInterval, ITrackCalculationProgress)
Evaluates over a single considered time interval. This evaluation also reports evaluation progress.
Public methodEvaluate(TimeIntervalCollection, ITrackCalculationProgress)
Evaluates over the supplied time intervals. This evaluation also reports evaluation progress.
Public methodEvaluate(JulianDate, JulianDate, ITrackCalculationProgress)
Evaluates from the start date until the end date. This evaluation also reports evaluation progress.
Public methodGetAvailabilityIntervals
Gets the intervals over which data is available.
(Inherited from IAvailability.)
Public methodGetCachingWrapper
Gets a version of this evaluator that caches the previously computed value so that if it is evaluated twice at the same date the computation is done only once.
(Inherited from IEvaluator.)
Public methodIsAvailable
Determines if valid data is available for the given JulianDate.
(Inherited from IAvailability.)
Public methodCode exampleUpdateEvaluatorReferences
Updates the evaluator references held by this object using the reference-to-reference mapping in the specified CopyContext.
(Inherited from IEvaluator.)
Top
See Also