public abstract class StoppingConditionEvaluator : IEvaluator, IAvailability, IThreadAware, ICloneWithContext, IDisposable
Public MustInherit Class StoppingConditionEvaluator Implements IEvaluator, IAvailability, IThreadAware, ICloneWithContext, IDisposable
public ref class StoppingConditionEvaluator abstract : IEvaluator, IAvailability, IThreadAware, ICloneWithContext, IDisposable
[<AbstractClassAttribute>] type StoppingConditionEvaluator = class interface IEvaluator interface IAvailability interface IThreadAware interface ICloneWithContext interface IDisposable end
Thetype exposes the following members.
Initializes a new instance.
Initializes a new instance as a copy of an existing instance.
Gets the indication that the value being computed is an angle and, if so, should that angle be between negative PI and PI, or if it should be between 0 and 2*PI.
Gets the tolerance to use to detect discontinuities in the value computed by the stopping condition. If the difference between two function values is greater than this value, then it should be considered a discontinuity and not counted as an event. It is up to the function sampling the stopping condition value to use this to detect discontinuities. This is PositiveInfinity if the AngularSetting is NotCircular, or PI for the other CircularRange values.
Gets or sets if this evaluator should be used during propagation.
Gets how close the function value must get to the Threshold to be considered equal to.
Gets the group that contains this evaluator.
Gets the definition that created this . This is to be used only for identification of this and related items.
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
Gets an optional name for this.
Gets a value indicating whether the FunctionTolerance does not need to be satisfied. The search for an event will still attempt to converge to within the FunctionTolerance, but if it is known that an event is there (such as a threshold crossing), the event will be reported and this condition considered satisfied even if the search did not converge within the FunctionTolerance. This is by default.
Gets a delegate that is executed when this condition is satisfied. Edits to the state that gets sent in this delegate will be ignored unless the returned enumeration is that propagation should stop.
Gets how many times an event should be found before stopping.
Gets the threshold to stop at. This value is ignored if the TypeOfStoppingCondition is not one of the threshold types. When the StoppablePropagator that contains this condition is propagated, this ScalarEvaluator will be evaluated at that time and that value will be used as the threshold for the extent of the propagation.
Gets the type of the stop (local extrema, any threshold, ...)
Gets which side the currently accepted value of the StoppingCondition is relative to the computed threshold. Note that this will not be updated during root finding. Other code can sample this value and make decisions based on if the threshold has been crossed or not without interfering with the root finding.
Checks to see if the state is at the exact threshold to within machine tolerance.
Clones this object using the specified context.
Computes the threshold for this Exception if this evaluator is searching for an extrema., or throws an
Releases any resources associated with this instance.
Releases any resources associated with this instance.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Returns the raw value before it is bound by circular constraints. This method does not need to deal with the AngularSetting.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets the intervals over which data is available. If the availability interval is infinite, this returns Infinite.
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.
Serves as the default hash function.(Inherited from Object.)
Gets the next step that the thing that is sampling this Duration must be signed correctly. Override this method if this particular stopping condition has some sense of how it should be sampled, or if it somehow knows at what time it's extrema or thresholds will occur at.should take. The returned
Gets the Type of the current instance.(Inherited from Object.)
Compute the value of the stopping condition from the state. This method will put the raw value into the circular bounds (if the function is circular).
Initialize thewith the initial state of propagation. This method is useful if the value that the evaluates is related to the initial state (for example, if this value is the span of time from the start of propagation to whatever the current time is, you will need to store that initial date in the derived type).
When overriding this method, the base method must be called.
Returns if valid data is available for this Julian date, otherwise returns .
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Updates the evaluator references held by this object using the reference-to-reference mapping in the specified CopyContext.