public class SearchPlan extends Plan implements Cloneable
| Modifier | Constructor and Description | 
|---|---|
|   | SearchPlan()Creates a new instance of SearchPlan | 
| protected  | SearchPlan(WorldState state)Creates a new instance of SearchPlan that includes the ending world state | 
| protected  | SearchPlan(WorldState state,
          WorldState goal)Creates a new instance of Plan that includes the ending world state | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | clone()Returns a deep copy of the route, implements Cloneable | 
| List<JAXBElement<?>> | generateAvclScript(int vehicleType,
                  double gpsInterval,
                  double minWptDist,
                  double vertical,
                  int verticalMode,
                  double speed,
                  int speedMode)Generates a set of AVCL Waypoints corresponding to a planned search | 
| double | getTravelDistance()Computes and returns the total distance traveled over the course of the plan | 
| double | getTravelDistance(double sweepWidth)Computes and returns the total distance traveled over the course of the plan
 Includes a penalty for turns | 
addStep, addStep, clearSteps, compareTo, cost, distanceEstimate, evaluate, getEvaluation, getStep, increment, match, numSteps, possibleSteps, removeStep, setEndState, toStringpublic SearchPlan()
protected SearchPlan(WorldState state)
state - world state upon the completion of all steps in the planprotected SearchPlan(WorldState state, WorldState goal)
state - world state upon the completion of all steps in the plangoal - desired world state upon completion of the planpublic List<JAXBElement<?>> generateAvclScript(int vehicleType, double gpsInterval, double minWptDist, double vertical, int verticalMode, double speed, int speedMode)
vehicleType - enumeration for the type of vehicle (AUV, UAV, etc.)gpsInterval - distance (meters) that the vehicle can travel submerged between GPS fixes (only relevant for UUVs)minWptDist - the minimum allowable distance between waypointsvertical - altitude or depth of command (only relevant for UUVs and UAVs)verticalMode - enumeration specifying depth, altitude, MSL altitude, or AGL altitudespeed - knots, meters per second, or percent of propeller rpm (AUV) settingspeedMode - enumeration for knots or meters per second (not relevant for AUVs)public double getTravelDistance()
public double getTravelDistance(double sweepWidth)
sweepWidth - sensor sweep width of the vehicle