Controller
public interface ScheduleListener
Modifier and Type | Method | Description |
---|---|---|
void |
update(ScheduleEvent event,
int iterations,
double memory) |
Update the listener for the GUI stats display
|
void |
updateGraph(ScheduleEvent event,
int iterations,
PartialScheduleGrph a) |
Update the listener for the current best schedule gantt chart display
|
void update(ScheduleEvent event, int iterations, double memory)
event
- The event that has occurrediterations
- The current number of iterations performed by the algorithmmemory
- The current used memory of the processvoid updateGraph(ScheduleEvent event, int iterations, PartialScheduleGrph a)
event
- The event that has occurrediterations
- The current number of iterations performed by the algorithma
- The schedule graph (current best) to display on the gantt chart