public class BreadthFirstSearchWorldState extends SearchWorldState
Contact: Don Brutzman (web.nps.navy.mil/~brutzman) brutzman@nps.navy.mil
buffer, FORTY_FIVE_DEGREES, HEADINGS, NINETY_DEGREES, ONE_FIFTY_DEGREES, ONE_THIRTY_FIVE_DEGREES, ONE_TWENTY_DEGREES, pointFocus, searchArea, searchPoints, SIXTY_DEGREES, THIRTY_DEGREES, THREE_FIFTEEN_DEGREES, THREE_HUNDRED_DEGREES, THREE_THIRTY_DEGREES, trackLengthMultiple, trackSpacing, TWO_FORTY_DEGREES, TWO_SEVENTY_DEGREES, TWO_TEN_DEGREES, TWO_TWENTY_FIVE_DEGREES, vehiclePosition, vehiclePsi| Modifier | Constructor and Description | 
|---|---|
| protected  | BreadthFirstSearchWorldState()Creates a new instance of BreadthFirstSearchWorldState | 
| protected  | BreadthFirstSearchWorldState(List<double[]> searchPoints,
                            GeoArea searchArea,
                            double spacing,
                            double[] position)Creates a new instance of BreadthFirstSearchWorldState | 
| protected  | BreadthFirstSearchWorldState(List<double[]> searchPoints,
                            GeoArea searchArea,
                            double spacing,
                            double[] position,
                            boolean pointFocus)Creates a new instance of BreadthFirstSearchWorldState | 
| protected  | BreadthFirstSearchWorldState(List<double[]> searchPoints,
                            GeoArea searchArea,
                            List<double[]> complete,
                            double spacing,
                            double[] position)Creates a new instance of BreadthFirstSearchWorldState | 
| protected  | BreadthFirstSearchWorldState(List<double[]> searchPoints,
                            GeoArea searchArea,
                            List<double[]> complete,
                            double spacing,
                            double[] position,
                            boolean pointFocus)Creates a new instance of BreadthFirstSearchWorldState | 
| Modifier and Type | Method and Description | 
|---|---|
| WorldState | computeStepEffect(PlanStep step)Computes the effect of a plan step on the world state conditions | 
| List<SearchPlanStep> | possibleSteps()Returns an ArrayList containing all steps that are possible from the current state | 
| double | worldStateDistance(WorldState candidate)Compares this state with another to measure how different they are
 in order to provide an estimate of how much effort will be required to go
 from this state to the candidate state. | 
addVisited, computePsi, generateConditions, visitedaddCondition, addCondition, getCondition, hasCondition, match, numberOfConditions, toStringprotected BreadthFirstSearchWorldState()
protected BreadthFirstSearchWorldState(List<double[]> searchPoints, GeoArea searchArea, List<double[]> complete, double spacing, double[] position)
searchPoints - List of points that are to be visited during the searchsearchArea - Geographic area that the planner is to devise a search pattern forcomplete - List of points that have been visited to datespacing - track spacing to be used during the searchposition - double[2] containing the current (x, y) position of the vehicleprotected BreadthFirstSearchWorldState(List<double[]> searchPoints, GeoArea searchArea, double spacing, double[] position)
searchPoints - List of points that are to be visited during the searchsearchArea - Geographic area that the planner is to devise a search pattern forspacing - track spacing to be used during the searchposition - double[2] containing the current (x, y) position of the vehicleprotected BreadthFirstSearchWorldState(List<double[]> searchPoints, GeoArea searchArea, List<double[]> complete, double spacing, double[] position, boolean pointFocus)
searchPoints - List of points that are to be visited during the searchsearchArea - Geographic area that the planner is to devise a search pattern forcomplete - List of points that have been visited to datespacing - track spacing to be used during the searchposition - double[2] containing the current (x, y) position of the vehiclepointFocus - protected BreadthFirstSearchWorldState(List<double[]> searchPoints, GeoArea searchArea, double spacing, double[] position, boolean pointFocus)
searchPoints - List of points that are to be visited during the searchsearchArea - Geographic area that the planner is to devise a search pattern forspacing - track spacing to be used during the searchposition - double[2] containing the current (x, y) position of the vehiclepointFocus - public WorldState computeStepEffect(PlanStep step)
computeStepEffect in class SearchWorldStatestep - PlanStep object.public double worldStateDistance(WorldState candidate)
worldStateDistance in class SearchWorldStatecandidate - WorldState object.public List<SearchPlanStep> possibleSteps()
possibleSteps in class SearchWorldState