Class RandomLocationGenerator

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

public class RandomLocationGenerator extends QALocationGenerator
  • Field Details

    • logMinRange

      public double logMinRange
    • logMaxRange

      public double logMaxRange
  • Constructor Details

    • RandomLocationGenerator

      public RandomLocationGenerator(QAControl qaControl, QACluster qaCluster, int totalSequences, double[] rangeLimits)
  • Method Details

    • getNextLocation

      public LatLong getNextLocation(LatLong currentReference, SoundSequence previousSequence)
      Description copied from class: QALocationGenerator
      Generate the next location for testing.
      Specified by:
      getNextLocation in class QALocationGenerator
      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

      public boolean isFinished()
      Specified by:
      isFinished in class QALocationGenerator