public interface ITimeSlice extends Cloneable
Modifier and Type | Method and Description |
---|---|
ITimeSlice |
clone() |
void |
fullReset()
Resets the remaining time to a full timeslice.
|
double |
getRemainingTime()
Returns Time until the timeslice is interrupted.
|
void |
halfReset() |
boolean |
isFinished()
Returns true if the timeslice is finished, false otherwise.
|
void |
punish(int penalty) |
void |
setExpired() |
void |
substractTime(double time)
Subtracts the specified amount of time from the timeslice.
|
void |
updateTimeForBoosting() |
void |
updateTimeForScheduling() |
double getRemainingTime()
void fullReset()
void substractTime(double time)
boolean isFinished()
void punish(int penalty)
void setExpired()
ITimeSlice clone()
void halfReset()
void updateTimeForBoosting()
void updateTimeForScheduling()