public class BreadthFirstSearchPlanner extends AStarSearchPlanner
Contact: Don Brutzman (web.nps.navy.mil/~brutzman) brutzman@nps.navy.mil
COS60, searchArea, SIN60, SIXTY_DEGREES, startPoint, THIRTY_DEGREES, trackSpacing
Modifier | Constructor and Description |
---|---|
protected |
BreadthFirstSearchPlanner()
Creates a new instance of BreadthFirstSearchPlanner
|
|
BreadthFirstSearchPlanner(GeoArea searchArea,
double S,
double PD,
double[] startPosit,
boolean pointFocus)
Creates a new instance of BreadthFirstSearchPlanner
|
Modifier and Type | Method and Description |
---|---|
void |
reset(SearchWorldState start)
Resets the planner to start over with a new start state
|
void |
reset(SearchWorldState start,
SearchWorldState goal)
Resets the planner to start over with a new start state and a new goal
|
computeVisitPoints, getStartPoint, setRequiredPD, setSweepWidth, setTrackSpacing
addToAgenda, clearAgenda, getGoal, getPlan, getRunTime, goalAchievable, goalAchieved, isPlanReady, reset, reset, reset, run, setDie, setRunTime
protected BreadthFirstSearchPlanner()
public BreadthFirstSearchPlanner(GeoArea searchArea, double S, double PD, double[] startPosit, boolean pointFocus)
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 searchpointFocus
- set to true if the search is to focus on the centroid of the areapublic void reset(SearchWorldState start)
reset
in class AStarSearchPlanner
start
- world state when planning commences (must completely define world)public void reset(SearchWorldState start, SearchWorldState goal)
reset
in class AStarSearchPlanner
start
- world state when planning commences (must completely define world)goal
- desired world state following plan execution (not necessarily complete world description)