Class AbstractScheduler<T extends ObservedMeasurement<T>>
- java.lang.Object
-
- org.orekit.estimation.measurements.generation.AbstractScheduler<T>
-
- Type Parameters:
T
- the type of the measurement
- All Implemented Interfaces:
Scheduler<T>
- Direct Known Subclasses:
ContinuousScheduler
,EventBasedScheduler
public abstract class AbstractScheduler<T extends ObservedMeasurement<T>> extends Object implements Scheduler<T>
Base implementation ofScheduler
managingdates selection
.- Since:
- 9.3
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractScheduler(MeasurementBuilder<T> builder, DatesSelector selector)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MeasurementBuilder<T>
getBuilder()
Get the measurements builder.DatesSelector
getSelector()
Get the dates selector.void
init(AbsoluteDate start, AbsoluteDate end)
Initialize scheduler at the start of a measurements generation.
-
-
-
Constructor Detail
-
AbstractScheduler
protected AbstractScheduler(MeasurementBuilder<T> builder, DatesSelector selector)
Simple constructor.- Parameters:
builder
- builder for individual measurementsselector
- selector for dates
-
-
Method Detail
-
init
public void init(AbsoluteDate start, AbsoluteDate end)
Initialize scheduler at the start of a measurements generation.This method is called once at the start of the measurements generation. It may be used by the scheduler to initialize some internal data if needed, typically
initializing builders
.This implementation initialize the measurement builder.
- Specified by:
init
in interfaceScheduler<T extends ObservedMeasurement<T>>
- Parameters:
start
- start of the measurements time spanend
- end of the measurements time span
-
getBuilder
public MeasurementBuilder<T> getBuilder()
Get the measurements builder.- Returns:
- measurements builder
-
getSelector
public DatesSelector getSelector()
Get the dates selector.- Returns:
- dates selector
-
-