Class RandomSequenceGenerator

java.lang.Object
qa.generator.sequence.QASequenceGenerator
qa.generator.sequence.RandomSequenceGenerator
Direct Known Subclasses:
DolphinSequenceGenerator

public class RandomSequenceGenerator extends QASequenceGenerator
  • Constructor Details

    • RandomSequenceGenerator

      public RandomSequenceGenerator(QADistribution timeDistribution, QADistribution amplitudeDistribution, int nSounds)
      Parameters:
      timeDistribution -
      amplitudeDistribution -
      nSounds -
  • Method Details

    • createSequence

      public SoundSequence createSequence(QATestSet qaTestSet, LatLong location, LatLong rxLocation, double sampleRate, long startSample)
      Specified by:
      createSequence in class QASequenceGenerator
    • getTimeDistribution

      public QADistribution getTimeDistribution()
      Returns:
      the timeDistribution
    • setTimeDistribution

      public void setTimeDistribution(QADistribution timeDistribution)
      Parameters:
      timeDistribution - the timeDistribution to set
    • getAmplitudeDistribution

      public QADistribution getAmplitudeDistribution()
      Returns:
      the amplitudeDistribution
    • setAmplitudeDistribution

      public void setAmplitudeDistribution(QADistribution amplitudeDistribution)
      Parameters:
      amplitudeDistribution - the amplitudeDistribution to set
    • getnSounds

      public int getnSounds()
      Specified by:
      getnSounds in class QASequenceGenerator
      Returns:
      the nSounds
    • setnSounds

      public void setnSounds(int nSounds)
      Specified by:
      setnSounds in class QASequenceGenerator
      Parameters:
      nSounds - the nSounds to set