|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--physis.core.scheduler.ConstantScheduler
This is the simplest scheduling algorithm. All organisms get the same number of cpu cycles. (This encourages code-shrinking.) (this scheduling was used only in early development phase)
| Field Summary | |
(package private) DigitalOrganismIterator |
orgs
|
| Constructor Summary | |
ConstantScheduler()
|
|
| Method Summary | |
void |
fillWithOrganisms(DigitalOrganismIterator orgs_)
Before starting the scheduling process the scheduler has to build up its internal data structure. |
void |
scheduleUpdate(int average)
It schedules the executing of each digital organisms. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
DigitalOrganismIterator orgs
| Constructor Detail |
public ConstantScheduler()
| Method Detail |
public void scheduleUpdate(int average)
SchedulerscheduleUpdate in interface Schedulerphysis.core.scheduler.Scheduleraverage_time_slice - the average number of executed instructions/per unit.public void fillWithOrganisms(DigitalOrganismIterator orgs_)
SchedulerfillWithOrganisms in interface Scheduler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||