Class RectangleScanEnhanced


  • public class RectangleScanEnhanced
    extends java.lang.Object
    Implements some alternatives to the RectangleScan-Routine used by the paper "Deterministic Treasure Hunt in the Plane with Angular Hints" from Bouchard et al.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SearchPath rectangleScanEnhanced​(org.locationtech.jts.geom.Coordinate a, org.locationtech.jts.geom.Coordinate b, org.locationtech.jts.geom.Coordinate c, org.locationtech.jts.geom.Coordinate d, SearchPath move)
      Meanders through the rectangle to scan it like the RectangleScan Routine from the paper but uses fewer distance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • rectangleScanEnhanced

        public static SearchPath rectangleScanEnhanced​(org.locationtech.jts.geom.Coordinate a,
                                                       org.locationtech.jts.geom.Coordinate b,
                                                       org.locationtech.jts.geom.Coordinate c,
                                                       org.locationtech.jts.geom.Coordinate d,
                                                       SearchPath move)
        Meanders through the rectangle to scan it like the RectangleScan Routine from the paper but uses fewer distance
        Parameters:
        a - a corner of the rectangle which is to be scanned, neighboring d and b
        b - a corner of the rectangle which is to be scanned, neighboring a and c
        c - a corner of the rectangle which is to be scanned, neighboring b and d
        d - a corner of the rectangle which is to be scanned, neighboring c and a
        move - the search-path the scan should be added to
        Returns:
        the resulting search-path