|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectsim.BasicMatrixModel
BugWorldModel
This class creates and manages a simple 2D population model.
| Constructor Summary | |
BugWorldModel(int r,
int c)
Using the cell counts given, create a new model. |
|
| Methods inherited from class sim.BasicMatrixModel |
addView, createCritterInfoInstance, getCritter, getDimensions, step |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BugWorldModel(int r,
int c)
r - number of rows of cellsc - number of columns of cells
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||