public class CustomDateDetector extends fr.cnes.sirius.patrius.events.detectors.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.
|
CustomDateDetector(fr.cnes.sirius.patrius.time.AbsoluteDate date,
double maxCheck,
double threshold,
fr.cnes.sirius.patrius.events.EventDetector.Action action)
Constructor with complete data.
|
| Modifier and Type | Method and Description |
|---|---|
fr.cnes.sirius.patrius.events.EventDetector |
copy() |
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.
|
String |
toString() |
addEventDate, eventOccurred, g, getAction, getDatefilterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActionpublic 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.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.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.