public class CBRScriptClassifier extends ScriptClassifier
| Modifier and Type | Field and Description | 
|---|---|
| static int | AREA_COVERAGE | 
| static int | CENTER_START | 
| static int | FIXED_VERTICAL | 
| static int | INTERSECTING_TRACKS | 
| static int | LOCAL_FINISH | 
| static int | MULTIPLE_POINT_REVISITS | 
| static int | NUMBER_OF_LEGS | 
| static int | ON_SURFACE | 
| static int | ORTHOGONAL_TRACKS | 
| static int | PARALLEL_TRACKS | 
| static int | POINT_FOCUS | 
| static int | STATIONARY | 
| static int | SWEEPWIDTH_RATIO | 
| static int | USES_PATROL_SPEED | 
| static int | USES_SEARCH_SPEED | 
| static int | USES_TRANSIT_SPEED | 
FIVEDEGREES, geoOriginLat, geoOriginLon, hasSetPosition, MONITOR_TRANSMISSIONS, multiVisitedPoints, NUMGOALTYPES, ONEDEGREE, opArea, PATROL, planner, positionSequence, REPOSITION, SEARCH_AREA, SEARCH_POINT, verticalSequence| Constructor and Description | 
|---|
| CBRScriptClassifier(ReversePlanner planner)Creates a new instance of CBRScriptClassifier | 
| Modifier and Type | Method and Description | 
|---|---|
| protected double[] | characterizeScript(AvclMission mission,
                  VehicleCharacteristics chars)Determines characteristic values for a script mission | 
| protected int | classifyScript(AvclMission mission,
              VehicleCharacteristics chars)Runs the script analyzer to determine the type of goal that corresponds to the script | 
| protected int | closestFit(AvclMission mission,
          VehicleCharacteristics chars)Returns an integer enumeration for the best matching goal type for the script | 
| protected void | initialize()Loads the recall cases into the RecallSet and does other startup initialization | 
| static void | printCharacteristics(double[] charArray)Prints a summary of the mission's characteristic values | 
| protected void | reinitialize(int exclude)Loads the recall cases into the RecallSet and does other startup initialization | 
isColocated, isParallel, numUniquePointspublic static final int STATIONARY
public static final int AREA_COVERAGE
public static final int POINT_FOCUS
public static final int PARALLEL_TRACKS
public static final int ORTHOGONAL_TRACKS
public static final int INTERSECTING_TRACKS
public static final int MULTIPLE_POINT_REVISITS
public static final int LOCAL_FINISH
public static final int SWEEPWIDTH_RATIO
public static final int NUMBER_OF_LEGS
public static final int CENTER_START
public static final int FIXED_VERTICAL
public static final int ON_SURFACE
public static final int USES_SEARCH_SPEED
public static final int USES_TRANSIT_SPEED
public static final int USES_PATROL_SPEED
public CBRScriptClassifier(ReversePlanner planner)
planner - the reverse planner that the classifier is a part ofprotected void initialize()
ScriptClassifierinitialize in class ScriptClassifierprotected void reinitialize(int exclude)
exclude - recall case set to excludeprotected int classifyScript(AvclMission mission, VehicleCharacteristics chars)
classifyScript in class ScriptClassifiermission - mission for which a characteristics array is to be generatedchars - characteristics of the vehicle for which the script is intendedprotected double[] characterizeScript(AvclMission mission, VehicleCharacteristics chars)
mission - mission for which a characteristics array is to be generatedchars - characteristics of the vehicle for which the script is intendedprotected int closestFit(AvclMission mission, VehicleCharacteristics chars)
closestFit in class ScriptClassifiermission - mission for which a characteristics is to be determinedchars - characteristics of the vehiclepublic static void printCharacteristics(double[] charArray)
charArray - array of characteristic values