|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.cleanerworld.multi.LocationObjectData
jadex.examples.cleanerworld.multi.LocationObject
jadex.examples.cleanerworld.multi.MapPoint
public class MapPoint
A map point reflects how often the agent was near to this point.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nuggets.INugget |
---|
nuggets.INugget.Helper |
Constructor Summary | |
---|---|
MapPoint(Location location,
int quantity,
double seen)
Create a new map point. |
Method Summary | |
---|---|
static MapPoint[] |
getMapPointRaster(int numx,
int numy,
double width,
double height)
Create a map point raster. |
int |
getQuantity()
Get the quantity. |
double |
getSeen()
Get the seen. |
void |
setQuantity(int quantity)
Set the quantity. |
void |
setSeen(double seen)
Set the seen. |
String |
toString()
Get the string representation. |
Methods inherited from class jadex.examples.cleanerworld.multi.LocationObject |
---|
clone, equals, hashCode |
Methods inherited from class jadex.examples.cleanerworld.multi.LocationObjectData |
---|
_persist, _set, getId, getLocation, setId, setLocation |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MapPoint(Location location, int quantity, double seen)
Method Detail |
---|
public int getQuantity()
public void setQuantity(int quantity)
quantity
- The quantity.public double getSeen()
public void setSeen(double seen)
seen
- The seen.public String toString()
toString
in class LocationObjectData
public static MapPoint[] getMapPointRaster(int numx, int numy, double width, double height)
numx
- The number of x points.numy
- The number of y points.
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.