public class ListSearchPlanner extends TrackedSearchPlanner implements Runnable
Modifier and Type | Field and Description |
---|---|
protected static double |
COS60 |
protected static double |
SIN60 |
static double |
SIXTY_DEGREES |
static double |
THIRTY_DEGREES |
pd, sweepWidth, trackSpacing
plan, searchArea, startPoint
Constructor and Description |
---|
ListSearchPlanner(GeoArea searchArea,
double S,
double PD,
double[] startPosit)
Creates a new instance of ListSearchPlanner
|
ListSearchPlanner(GeoArea searchArea,
double S,
double PD,
double[] startPosit,
boolean pointFocus)
Creates a new instance of ListSearchPlanner
|
Modifier and Type | Method and Description |
---|---|
protected List<double[]> |
computeVisitPoints()
Computes a set of points that blanket the search area.
|
void |
run()
Implements the Runnable interface
|
setRequiredPD, setSweepWidth, setTrackSpacing
getPlan, getRunTime, setRunTime
public static final double THIRTY_DEGREES
public static final double SIXTY_DEGREES
protected static final double SIN60
protected static final double COS60
public ListSearchPlanner(GeoArea searchArea, double S, double PD, double[] startPosit, boolean pointFocus)
searchArea
- geographic area that is to be searchedS
- PD
- startPosit
- double[2] defining the vehicle's position at the beginning of the searchpointFocus
- set to true if the vehicle is to start the search at the region's centerpublic ListSearchPlanner(GeoArea searchArea, double S, double PD, double[] startPosit)
searchArea
- geographic area that is to be searchedS
- PD
- startPosit
- double[2] defining the vehicle's position at the beginning of the searchprotected final List<double[]> computeVisitPoints()
public void run()
run
in interface Runnable
run
in class TrackedSearchPlanner