Class Emitters.WindowCalculator
- java.lang.Object
-
- org.palladiosimulator.indirections.scheduler.operators.Emitters.WindowCalculator
-
-
Field Summary
Fields Modifier and Type Field Description Emitters.Window
currentWindow
Emitters.Window
emittedWindow
double
gracePeriod
double
shift
double
size
-
Constructor Summary
Constructors Constructor Description WindowCalculator(double size, double shift, double gracePeriod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Emitters.Window>
advanceUntil(double currentSimulationTime)
Emitters.Window
createNextWindow()
boolean
isInCurrentWindow(double time)
Emitters.Window
next()
void
skipUntil(double currentSimulationTime)
-
-
-
Field Detail
-
currentWindow
public Emitters.Window currentWindow
-
emittedWindow
public Emitters.Window emittedWindow
-
gracePeriod
public final double gracePeriod
-
shift
public final double shift
-
size
public final double size
-
-
Method Detail
-
advanceUntil
public List<Emitters.Window> advanceUntil(double currentSimulationTime)
-
skipUntil
public void skipUntil(double currentSimulationTime)
-
createNextWindow
public Emitters.Window createNextWindow()
-
isInCurrentWindow
public boolean isInCurrentWindow(double time)
-
next
public Emitters.Window next()
-
-