public final class MergePhenomenaCriterion extends Object implements PostProcessing
This class is a post processing criterion that merges two successive phenomena if the time lapse is below a given value.
Constructor and Description |
---|
MergePhenomenaCriterion(List<String> phenomenonCode,
double maximalGap)
Constructor
|
MergePhenomenaCriterion(Map<String,String> phenCodes,
double maximalGap)
Constructor
|
MergePhenomenaCriterion(String phenomenonCode,
double maximalGap)
Constructor
|
MergePhenomenaCriterion(String phenomenonCode,
double maximalGap,
String mergedPhenomenonCode)
Constructor
|
public MergePhenomenaCriterion(String phenomenonCode, double maximalGap)
phenomenonCode
- : code of the phenomena that have to be merged when they are too closemaximalGap
- : maximal lapse time between two successive phenomena (in sec)public MergePhenomenaCriterion(String phenomenonCode, double maximalGap, String mergedPhenomenonCode)
phenomenonCode
- : code of the phenomena that have to be merged when they are too closemaximalGap
- : maximal lapse time between two successive phenomena (in sec)mergedPhenomenonCode
- : merged phenomenon codepublic MergePhenomenaCriterion(Map<String,String> phenCodes, double maximalGap)
phenCodes
- : codes of the phenomena that have to be merged when they are too close and codes of the created
phenomenamaximalGap
- : maximal lapse time between two successive phenomena (in sec)public MergePhenomenaCriterion(List<String> phenomenonCode, double maximalGap)
phenomenonCode
- : codes of the phenomena that have to be merged when they are too closemaximalGap
- : maximal lapse time between two successive phenomena (in sec)public void applyTo(Timeline list)
applyTo
in interface PostProcessing
list
- : the timeline that has to be processedCopyright © 2021 CNES. All rights reserved.