Class MapPoint

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class MapPoint
    extends LocationObject
    A map point reflects how often the agent was near to this point.
    • Field Detail

      • quantity

        protected int quantity
        The visit quantity.
      • seen

        protected double seen
        The seen value (1=just seen -> 0=never seen).
    • Constructor Detail

      • MapPoint

        public MapPoint()
        Bean constructor required for remote cleaner GUI.
      • MapPoint

        public MapPoint​(Location location,
                        int quantity,
                        double seen)
        Create a new map point.
    • Method Detail

      • getQuantity

        public int getQuantity()
        Get the quantity.
        Returns:
        The quantity.
      • setQuantity

        public void setQuantity​(int quantity)
        Set the quantity.
        Parameters:
        quantity - The quantity.
      • getSeen

        public double getSeen()
        Get the seen.
        Returns:
        The seen.
      • setSeen

        public void setSeen​(double seen)
        Set the seen.
        Parameters:
        seen - The seen.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class LocationObject
        Returns:
        The string representation.
      • getMapPointRaster

        public static MapPoint[] getMapPointRaster​(int numx,
                                                   int numy,
                                                   double width,
                                                   double height)
        Create a map point raster.
        Parameters:
        numx - The number of x points.
        numy - The number of y points.