|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.framework.Environment
public class Environment
The colony environment (in practice, only the current colony iteration).
Constructor Summary | |
---|---|
Environment(Colony colony,
Scheduler scheduler)
Creates a new Environment instance. |
Method Summary | |
---|---|
Colony |
getColony()
Returns the colony. |
int |
getIteration()
Returns the current iteration of the colony. |
Scheduler |
getScheduler()
Returns the scheduler. |
void |
increment()
Increment the colony's iteration value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Environment(Colony colony, Scheduler scheduler)
Environment
instance.
colony
- Method Detail |
---|
public Colony getColony()
public Scheduler getScheduler()
public int getIteration()
public void increment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |