|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for all Discrete two dimensional spaces.
| Field Summary | |
static int |
MOORE
|
static int |
VON_NEUMANN
|
| Method Summary | |
BaseMatrix |
getMatrix()
Gets the matrix collection class that contains all the values |
Object |
getObjectAt(int x,
int y)
Gets the Object at the specified coordinate. |
Dimension |
getSize()
Gets the dimension of the space |
int |
getSizeX()
Gets the size of the x dimension |
int |
getSizeY()
Gets the size of the y dimension |
double |
getValueAt(int x,
int y)
Gets the value at the specified coordinate if appropriate. |
void |
putObjectAt(int x,
int y,
Object object)
Puts the specified Object at the specified coordinate. |
void |
putValueAt(int x,
int y,
double value)
Puts the specified value at the specified coordinate. |
| Field Detail |
public static final int VON_NEUMANN
public static final int MOORE
| Method Detail |
public int getSizeX()
public int getSizeY()
public Dimension getSize()
public Object getObjectAt(int x,
int y)
x - the x coordinatey - the y coordinate
public double getValueAt(int x,
int y)
x - the x coordinatey - the y coordinate
public void putObjectAt(int x,
int y,
Object object)
x - the x coordinatey - the y coordinateobject - the object to put
public void putValueAt(int x,
int y,
double value)
x - the x coordinatey - the y coordinatevalue - the value to put at x,ypublic BaseMatrix getMatrix()
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||