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 Link icon

    • logMinRange Link icon

      public double logMinRange
    • logMaxRange Link icon

      public double logMaxRange
  • Constructor Details Link icon

    • RandomLocationGenerator Link icon

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

    • getNextLocation Link icon

      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 Link icon

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