public class GraphPlanSearchPlanner extends Planner
Modifier and Type | Field and Description |
---|---|
protected static double |
COS120 |
protected static double |
COS240 |
protected static double |
COS300 |
protected static double |
COS60 |
static double |
ONE_TWENTY_DEGREES |
protected static double |
SIN120 |
protected static double |
SIN240 |
protected static double |
SIN300 |
protected static double |
SIN60 |
static double |
SIXTY_DEGREES |
static double |
THREE_HUNDRED_DEGREES |
static double |
TWO_FORTY_DEGREES |
Constructor and Description |
---|
GraphPlanSearchPlanner(GeoArea searchArea,
double S,
double PD,
double[] startPosit)
Creates a new instance of AStarSearchPlanner
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method for troubleshooting only
|
void |
setRequiredPD(double value)
Sets the required single-search probability of detection of the search
|
void |
setSweepWidth(double value)
Sets the sweep width (defined in NWP 3-22.5 SAR TACAID) of the search
|
double |
setTrackSpacing()
Computes and sets the track spacing to achieve the desired 1-search probability of detection
The method uses the formula PD = 1 / (1 + 0.25 * (1 / C)) where C is the coverage factor
|
generatePlans, initialize
public static final double SIXTY_DEGREES
public static final double ONE_TWENTY_DEGREES
public static final double TWO_FORTY_DEGREES
public static final double THREE_HUNDRED_DEGREES
protected static final double SIN60
protected static final double COS60
protected static final double SIN120
protected static final double COS120
protected static final double SIN240
protected static final double COS240
protected static final double SIN300
protected static final double COS300
public GraphPlanSearchPlanner(GeoArea searchArea, double S, double PD, double[] startPosit)
searchArea
- geographic area that is to be searchedS
- sensor sweep width as defined in NWP 3-22.5 (SAR TACAID)PD
- required single-search probability of detection of the searchstartPosit
- double[2] defining the vehicle's position at the beginning of the searchpublic double setTrackSpacing()
public final void setSweepWidth(double value)
value
- new sweep width value (meters)public final void setRequiredPD(double value)
value
- new required probability of detectionpublic static void main(String[] args)
args
-