public class CustomRecurrentDateDetector extends fr.cnes.sirius.patrius.events.detectors.DateDetector implements CustomEventDetector
| Modifier and Type | Field and Description |
|---|---|
static String |
DAT_STR
Coding message.
|
DEFAULT_MAXCHECK, DEFAULT_THRESHOLD| Constructor and Description |
|---|
CustomRecurrentDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate referenceDate,
double step)
Recurrent detector constructor with default values.
|
CustomRecurrentDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate referenceDate,
double step,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.events.EventDetector.Action action)
Recurrent detector constructor with complete data.
|
| Modifier and Type | Method and Description |
|---|---|
fr.cnes.sirius.patrius.events.EventDetector |
copy() |
double |
g(fr.cnes.sirius.patrius.propagation.SpacecraftState s) |
String |
getCodeDec()
Returns code on decreasing.
|
String |
getCodeInc()
Returns code on increasing.
|
fr.cnes.sirius.patrius.events.postprocessing.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the generic coding event detector for a given increasing and decreasing messages.
|
double |
getStep()
Returns the detector period.
|
void |
init(fr.cnes.sirius.patrius.propagation.SpacecraftState s0,
fr.cnes.sirius.patrius.time.AbsoluteDate t) |
boolean |
isRecurring()
Returns true if the detector is a recurring detector.
|
String |
toString() |
addEventDate, eventOccurred, getAction, getDatefilterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActionpublic static final String DAT_STR
public CustomRecurrentDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate referenceDate,
double step)
referenceDate - reference datestep - period of occurrence detectionpublic CustomRecurrentDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate referenceDate,
double step,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.events.EventDetector.Action action)
referenceDate - target datestep - period of occurrence detectionmaxCheck - maximum checking interval (s)threshold - convergence threshold (s)action - action to be performed in case of event detectionpublic void init(fr.cnes.sirius.patrius.propagation.SpacecraftState s0,
fr.cnes.sirius.patrius.time.AbsoluteDate t)
init in interface fr.cnes.sirius.patrius.events.EventDetectorinit in class fr.cnes.sirius.patrius.events.AbstractDetectorpublic double g(fr.cnes.sirius.patrius.propagation.SpacecraftState s)
throws fr.cnes.sirius.patrius.utils.exception.PatriusException
g in interface fr.cnes.sirius.patrius.events.EventDetectorg in class fr.cnes.sirius.patrius.events.detectors.DateDetectorfr.cnes.sirius.patrius.utils.exception.PatriusExceptionpublic double getStep()
public boolean isRecurring()
public fr.cnes.sirius.patrius.events.postprocessing.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector in interface CustomEventDetectorincEventString - 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.events.EventDetector copy()
copy in interface fr.cnes.sirius.patrius.events.EventDetectorcopy in class fr.cnes.sirius.patrius.events.detectors.DateDetectorpublic String getCodeInc()
getCodeInc in interface CustomEventDetectorpublic String getCodeDec()
getCodeDec in interface CustomEventDetectorCopyright © 2025. All rights reserved.