public interface GrainScheduler
Modifier and Type | Method and Description |
---|---|
double |
nextDuration(double suggestedDuration)
Calculate duration in seconds for the next grains.
|
double |
nextGap(double duration,
double density)
Calculate time in seconds for the next gap between grains.
|
double nextGap(double duration, double density)
duration
- density
- double nextDuration(double suggestedDuration)
suggestedDuration
-