Package qa.generator.location
Class SmartLocationGenerator
java.lang.Object
qa.generator.location.QALocationGenerator
qa.generator.location.RandomLocationGenerator
qa.generator.location.SmartLocationGenerator
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
-
Field Summary
Fields inherited from class qa.generator.location.RandomLocationGenerator
logMaxRange, logMinRange
-
Constructor Summary
ConstructorDescriptionSmartLocationGenerator
(QAControl qaControl, QACluster qaCluster, int nLocations, 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
-
Constructor Details
-
SmartLocationGenerator
-
-
Method Details
-
getNextLocation
Description copied from class:QALocationGenerator
Generate the next location for testing.- Overrides:
getNextLocation
in classRandomLocationGenerator
- 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 classRandomLocationGenerator
-