Class DateDetectionAdaptableIntervalFactory
- java.lang.Object
-
- org.orekit.propagation.events.intervals.DateDetectionAdaptableIntervalFactory
-
public class DateDetectionAdaptableIntervalFactory extends Object
Factory for adaptable interval tuned for date(s) detection.- Since:
- 13.0
- Author:
- Romain Serra
- See Also:
DateDetector
,FieldDateDetector
-
-
Field Summary
Fields Modifier and Type Field Description static double
DEFAULT_MAX_CHECK
Default value for max check.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdaptableInterval
getDatesDetectionConstantInterval(TimeStamped... timeStampeds)
Return a candidateAdaptableInterval
for multiple dates detection with a constant max.static <T extends CalculusFieldElement<T>>
FieldAdaptableInterval<T>getDatesDetectionFieldConstantInterval(FieldTimeStamped<T>... timeStampeds)
Return a candidateFieldAdaptableInterval
for multiple dates detection with a constant max.static <T extends CalculusFieldElement<T>>
FieldAdaptableInterval<T>getDatesDetectionFieldInterval(FieldTimeStamped<T>... timeStampeds)
Return a candidateFieldAdaptableInterval
for multiple dates detection.static AdaptableInterval
getDatesDetectionInterval(TimeStamped... timeStampeds)
Return a candidateAdaptableInterval
for multiple dates detection.static double
getMinGap(TimeStamped... timeStampeds)
Compute min.static AdaptableInterval
getSingleDateDetectionAdaptableInterval()
Return a candidateAdaptableInterval
for single date detection.static <T extends CalculusFieldElement<T>>
FieldAdaptableInterval<T>getSingleDateDetectionFieldAdaptableInterval()
Return a candidateFieldAdaptableInterval
for single date detection.
-
-
-
Field Detail
-
DEFAULT_MAX_CHECK
public static final double DEFAULT_MAX_CHECK
Default value for max check.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSingleDateDetectionAdaptableInterval
public static AdaptableInterval getSingleDateDetectionAdaptableInterval()
Return a candidateAdaptableInterval
for single date detection.- Returns:
- adaptable interval
-
getDatesDetectionConstantInterval
public static AdaptableInterval getDatesDetectionConstantInterval(TimeStamped... timeStampeds)
Return a candidateAdaptableInterval
for multiple dates detection with a constant max. check.- Parameters:
timeStampeds
- event dates- Returns:
- adaptable interval
-
getDatesDetectionInterval
public static AdaptableInterval getDatesDetectionInterval(TimeStamped... timeStampeds)
Return a candidateAdaptableInterval
for multiple dates detection.- Parameters:
timeStampeds
- event dates- Returns:
- adaptable interval
-
getSingleDateDetectionFieldAdaptableInterval
public static <T extends CalculusFieldElement<T>> FieldAdaptableInterval<T> getSingleDateDetectionFieldAdaptableInterval()
Return a candidateFieldAdaptableInterval
for single date detection.- Type Parameters:
T
- field type- Returns:
- adaptable interval
-
getDatesDetectionFieldConstantInterval
@SafeVarargs public static <T extends CalculusFieldElement<T>> FieldAdaptableInterval<T> getDatesDetectionFieldConstantInterval(FieldTimeStamped<T>... timeStampeds)
Return a candidateFieldAdaptableInterval
for multiple dates detection with a constant max. check.- Type Parameters:
T
- field type- Parameters:
timeStampeds
- event dates- Returns:
- adaptable interval
-
getDatesDetectionFieldInterval
@SafeVarargs public static <T extends CalculusFieldElement<T>> FieldAdaptableInterval<T> getDatesDetectionFieldInterval(FieldTimeStamped<T>... timeStampeds)
Return a candidateFieldAdaptableInterval
for multiple dates detection.- Type Parameters:
T
- field type- Parameters:
timeStampeds
- event dates- Returns:
- adaptable interval
-
getMinGap
public static double getMinGap(TimeStamped... timeStampeds)
Compute min. gap between dated objects if applicable. It ignores duplicates.- Parameters:
timeStampeds
- time stamped objects- Returns:
- minimum gap
-
-