T
- the type of the measurementScheduler<T>
ContinuousScheduler
, EventBasedScheduler
public abstract class AbstractScheduler<T extends ObservedMeasurement<T>> extends Object implements Scheduler<T>
Scheduler
managing dates selection
.Modifier | Constructor | Description |
---|---|---|
protected |
AbstractScheduler(MeasurementBuilder<T> builder,
DatesSelector selector) |
Simple constructor.
|
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.
|
protected AbstractScheduler(MeasurementBuilder<T> builder, DatesSelector selector)
builder
- builder for individual measurementsselector
- selector for datespublic void init(AbsoluteDate start, AbsoluteDate end)
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.
init
in interface Scheduler<T extends ObservedMeasurement<T>>
start
- start of the measurements time spanend
- end of the measurements time spanpublic MeasurementBuilder<T> getBuilder()
public DatesSelector getSelector()
Copyright © 2002-2019 CS Systèmes d'information. All rights reserved.