Package qa.generator.location
Class RandomLocationGenerator
java.lang.Object
qa.generator.location.QALocationGenerator
qa.generator.location.RandomLocationGenerator
- Direct Known Subclasses:
SmartLocationGenerator
,SmartLocationGenerator2
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRandomLocationGenerator
(QAControl qaControl, QACluster qaCluster, int totalSequences, double[] rangeLimits) -
Method Summary
Modifier and TypeMethodDescriptiongetNextLocation
(LatLong currentReference, SoundSequence previousSequence) Generate the next location for testing.boolean
Methods inherited from class qa.generator.location.QALocationGenerator
getMaxRange, getMinRange, getNominalRange, getQaCluster, getQaControl, getRangeLimits, setRangeLimits
-
Field Details
-
logMinRange
public double logMinRange -
logMaxRange
public double logMaxRange
-
-
Constructor Details
-
RandomLocationGenerator
-
-
Method Details
-
getNextLocation
Description copied from class:QALocationGenerator
Generate the next location for testing.- Specified by:
getNextLocation
in classQALocationGenerator
- 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 classQALocationGenerator
-