Class QALocationGenerator

java.lang.Object
qa.generator.location.QALocationGenerator
Direct Known Subclasses:
RandomLocationGenerator, SetDistanceGenerator

public abstract class QALocationGenerator extends Object
Class for generating locations at which sequences should be created.
Author:
dg50
  • Constructor Details Link icon

    • QALocationGenerator Link icon

      public QALocationGenerator(QAControl qaControl, QACluster qaCluster, double[] rangeLimits)
  • Method Details Link icon

    • getNextLocation Link icon

      public abstract LatLong getNextLocation(LatLong currentReference, SoundSequence previousSequence)
      Generate the next location for testing.
      Parameters:
      currentReference - current receiver reference position (vessel, Array or Mitigation zone)
      previousSequence - previous sequence (may want to check to see that how got on and move the source dynamically)
      Returns:
      new position for the source.
    • isFinished Link icon

      public abstract boolean isFinished()
    • getQaControl Link icon

      public QAControl getQaControl()
      Returns:
      the qaControl
    • getQaCluster Link icon

      public QACluster getQaCluster()
      Returns:
      the qaCluster
    • getNominalRange Link icon

      public double getNominalRange()
      Returns:
      The nominal range to centre the distribution of distances around.
    • getRangeLimits Link icon

      public double[] getRangeLimits()
      Returns:
      the rangeLimits. Two element array in metres.
    • setRangeLimits Link icon

      public void setRangeLimits(double[] rangeLimits)
      Parameters:
      rangeLimits - the rangeLimits to set. Two element array in metres.
    • getMinRange Link icon

      public double getMinRange()
      Returns:
      the minimum range
    • getMaxRange Link icon

      public double getMaxRange()
      Returns:
      the maximum range