|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Continuous
A market interface for a space representing continuous space. Note that continuous is also an instance of COllectionSpace so it will not work to check for continuous scapes by doing something like !instanceof Discrete; instead, check explicitly for instanceof Continuous.
Method Summary | |
---|---|
double |
distancePerIteration(double velocity)
Distance per iteration. |
Coordinate |
findRandomCoordinate()
Find random coordinate. |
void |
moveToward(Location origin,
Coordinate target,
double distance)
Moves an agent toward the specified agent. |
void |
normalize(Coordinate coor)
Converts the coordiante into the boundaries of the space. |
Methods inherited from interface org.ascape.model.space.Mutable |
---|
clear, deleteSweep, isDeleteSweepNeeded, newLocation, newLocation, remove |
Method Detail |
---|
double distancePerIteration(double velocity)
velocity
- the velocity
Coordinate findRandomCoordinate()
void moveToward(Location origin, Coordinate target, double distance)
origin
- the agent movingtarget
- the agent's targetdistance
- the distance to movevoid normalize(Coordinate coor)
coor
- the Coordinate to normalize
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |