Class SmartLocationGenerator


public class SmartLocationGenerator extends RandomLocationGenerator
Smart location tester which processes previous sequences to see how many hits they got and then dynamically tries to chose a sensible place for the next set.
Author:
dg50
  • Constructor Details

    • SmartLocationGenerator

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

    • getNextLocation

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