public class CustomDateDetector extends fr.cnes.sirius.patrius.propagation.events.DateDetector implements CustomEventDetector
Modifier and Type | Field and Description |
---|---|
static String |
DAT_DEC_STR
Coding message.
|
static String |
DAT_INC_STR
Coding message.
|
DEFAULT_MAXCHECK, DEFAULT_THRESHOLD
Constructor and Description |
---|
CustomDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate date)
Constructor with target date. maxCheck (1.0e10 s), threshold (1.0e-9 s) and action (STOP) by
default.
|
CustomDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate date,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
Constructor with complete data.
|
Modifier and Type | Method and Description |
---|---|
fr.cnes.sirius.patrius.propagation.events.EventDetector |
copy() |
String |
getCodeDec()
Returns code on decreasing.
|
String |
getCodeInc()
Returns code on increasing.
|
fr.cnes.sirius.patrius.events.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the generic coding event detector for a given increasing and decreasing messages.
|
String |
toString() |
addEventDate, eventOccurred, g, getAction, getDate
getActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setEpsilonSignalPropagation, setMaxCheckInterval, setPropagationDelayType, shouldBeRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAction
public static final String DAT_INC_STR
public static final String DAT_DEC_STR
public CustomDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate date)
date
- target date.public CustomDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate date, double maxCheck, double threshold, fr.cnes.sirius.patrius.propagation.events.EventDetector.Action action)
date
- target date.maxCheck
- maximum checking interval (s).threshold
- convergence threshold (s).action
- action to be performed in case of event detection.public fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector
in interface CustomEventDetector
incEventString
- message for the log when the detector is triggered with increasing g
functiondecEventString
- message for the log when the detector is triggered with decreasing g
functionpublic fr.cnes.sirius.patrius.propagation.events.EventDetector copy()
copy
in interface fr.cnes.sirius.patrius.propagation.events.EventDetector
copy
in class fr.cnes.sirius.patrius.propagation.events.DateDetector
public String getCodeInc()
getCodeInc
in interface CustomEventDetector
public String getCodeDec()
getCodeDec
in interface CustomEventDetector
Copyright © 2023. All rights reserved.