public interface MultiCodingEventDetector extends MultiEventDetector
This class is copied from CodingEventDetector and adapted to multi propagation.
This interface represents a multi event detector that is able to build a CodedEvent object.
A MultiCodingEventDetector can be used during propagation when we want to log the occurred events.
These events are detected by the MultiEventDetector that has been specified when creating the
MultiCodingEventDetector.
MultiEventDetectorDECREASING, INCREASING, INCREASING_DECREASING| Modifier and Type | Method and Description |
|---|---|
CodedEvent |
buildCodedEvent(Map<String,SpacecraftState> s,
boolean increasing)
Build a
CodedEvent instance appropriate for the provided map of SpacecraftState. |
CodedEvent |
buildDelayedCodedEvent(Map<String,SpacecraftState> s,
boolean increasing)
Build a delayed
CodedEvent instance appropriate for the provided map of SpacecraftState. |
CodedEvent |
buildOccurrenceCodedEvent(Map<String,SpacecraftState> s,
boolean increasing)
Build a
CodedEvent instance appropriate for the provided map of SpacecraftState. |
String |
getEventType()
Gets a code indicating the type of event we want to log: DELAY when a delay
is associated to the logged events with respect to the detected events, N_OCCURRENCE
when we want to log the nth occurrence of the detected events, STANDARD when no delays
and no occurrence numbers are taken into consideration.
|
String |
getPhenomenonCode()
If the implementation supports a
Phenomenon, provides a code for
the phenomenon associated to the event. |
boolean |
positiveSignMeansActive()
Get the sign of the g method that means "the phenomenon associated to
the event is active".
|
eventOccurred, g, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, resetStates, shouldBeRemovedCodedEvent buildCodedEvent(Map<String,SpacecraftState> s, boolean increasing)
CodedEvent instance appropriate for the provided map of SpacecraftState.s - the current states informationincreasing - if true, g function increases around event date.CodedEventCodedEvent buildDelayedCodedEvent(Map<String,SpacecraftState> s, boolean increasing)
CodedEvent instance appropriate for the provided map of SpacecraftState.
This instance will have a delay with respect to the associated detected event.s - the current states informationincreasing - if true, g function increases around event date.CodedEventCodedEvent buildOccurrenceCodedEvent(Map<String,SpacecraftState> s, boolean increasing)
CodedEvent instance appropriate for the provided map of SpacecraftState.
This method will return an instance only if it is be the nth occurrence of the corresponding event,
otherwise it will return null. A delay can be applied to the event.s - the current states informationincreasing - if true, g function increases around event date.CodedEventString getEventType()
boolean positiveSignMeansActive()
MultiEventDetector classes in Patrius:
for some events, g is positive when its associated phenomenon is active,
and for others, g is positive when its phenomenon is not active.String getPhenomenonCode()
Phenomenon, provides a code for
the phenomenon associated to the event. If not, returns null.Copyright © 2020 CNES. All rights reserved.