|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswarm.BaseImpl
swarm.space.Discrete2dImpl
UnitActivitySpace
Field Summary | |
int[][] |
aSpace
|
int[][] |
bSpace
|
int[] |
directionVector
|
int[] |
directionVector0
|
int[][] |
rotationMatrix
|
Constructor Summary | |
UnitActivitySpace(swarm.defobj.Zone aZone,
int xS,
int yS)
|
Method Summary | |
void |
fillWithZero()
|
int |
getXSize()
return xSize |
int |
getYSize()
return ySize |
int |
interVisibility(Unit a,
Unit b)
the measure of the common positions in the visibility areas of two units |
void |
rotate()
|
void |
showDownHistogram(int x,
int y,
int v)
|
void |
showLeftHistogram(int x,
int y,
int v)
|
void |
showRightHistogram(int x,
int y,
int v)
|
void |
showVisibility(int x,
int y,
int v)
|
Methods inherited from class swarm.space.Discrete2dImpl |
compare, copyDiscrete2d$toDiscrete2d, describe, describeID, drop, fastFillWithObject, fastFillWithValue, fillWithObject, fillWithValue, getCompleteProbeMap, getDisplayName, getName, getObjectAtX$Y, getProbeForMessage, getProbeForVariable, getProbeMap, getSizeX, getSizeY, getTypeName, getValueAtX$Y, getZone, perform, perform$with, perform$with$with, perform$with$with$with, putObject$atX$Y, putValue$atX$Y, respondsTo, setDiscrete2d$toFile, setDisplayName, xfprint, xfprintid, xprint, xprintid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int[][] rotationMatrix
public int[][] aSpace
public int[][] bSpace
public int[] directionVector
public int[] directionVector0
Constructor Detail |
public UnitActivitySpace(swarm.defobj.Zone aZone, int xS, int yS)
Method Detail |
public void fillWithZero()
public void showLeftHistogram(int x, int y, int v)
public void showRightHistogram(int x, int y, int v)
public void showDownHistogram(int x, int y, int v)
public void showVisibility(int x, int y, int v)
public void rotate()
public int interVisibility(Unit a, Unit b)
public int getXSize()
public int getYSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |