Class Emitters.WindowCalculator
java.lang.Object
org.palladiosimulator.indirections.scheduler.operators.Emitters.WindowCalculator
- Enclosing class:
- Emitters
-
Field Summary
Modifier and TypeFieldDescriptionfinal double
final double
final double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadvanceUntil
(double currentSimulationTime) boolean
isInCurrentWindow
(double time) next()
void
skipUntil
(double currentSimulationTime)
-
Field Details
-
currentWindow
-
emittedWindow
-
gracePeriod
public final double gracePeriod -
shift
public final double shift -
size
public final double size
-
-
Constructor Details
-
WindowCalculator
public WindowCalculator(double size, double shift, double gracePeriod)
-
-
Method Details
-
advanceUntil
-
skipUntil
public void skipUntil(double currentSimulationTime) -
createNextWindow
-
isInCurrentWindow
public boolean isInCurrentWindow(double time) -
next
-