public class RemainingTimeComponent extends TimeComponent
StatusBarComponent
that shows the estimated remaining time for algorithm completion. Also shows average step
time and elapsed time.Constructor and Description |
---|
RemainingTimeComponent(long totalSteps) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
render()
Renders the content of a component to a String.
|
void |
step()
Advances the step counter which is used to calculate the average step time.
|
formatDuration
public java.lang.String render()
StatusBarComponent
public void step()