Package megamek.common.pathfinder
Class AeroLowAltitudePathFinder
java.lang.Object
megamek.common.pathfinder.AeroGroundPathFinder
megamek.common.pathfinder.AeroLowAltitudePathFinder
This class is intended to be used by the bot for generating possible paths for aerospace units on a low-altitude
 atmospheric map.
- 
Nested Class SummaryNested classes/interfaces inherited from class megamek.common.pathfinder.AeroGroundPathFinderAeroGroundPathFinder.AeroGroundOffBoardFilter
- 
Field SummaryFields inherited from class megamek.common.pathfinder.AeroGroundPathFindergame, maxThrust, NAP_OF_THE_EARTH, OPTIMAL_STRAFE_ALTITUDE, OPTIMAL_STRIKE_ALTITUDE, STACK_DEPTH
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGenerate all possible paths given a starting movement path.getAltitudeAdjustedPaths(List<MovePath> startingPaths) Get a list of movement paths with end-of-path altitude adjustments.static AeroLowAltitudePathFindergetInstance(Game game) protected intgetMaximumVelocity(IAero mover) protected booleanDetermines whether the given move path is "redundant".Methods inherited from class megamek.common.pathfinder.AeroGroundPathFinderForwardToTheEnd, generateSidePaths, getAllComputedPathsUncategorized, getMinimumVelocity, pathIsNotRedundant, run
- 
Constructor Details- 
AeroLowAltitudePathFinder
 
- 
- 
Method Details- 
getInstance
- 
getMaximumVelocity- Overrides:
- getMaximumVelocityin class- AeroGroundPathFinder
 
- 
GenerateAllPathsGenerate all possible paths given a starting movement path. This includes increases and decreases in elevation.- Overrides:
- GenerateAllPathsin class- AeroGroundPathFinder
 
- 
getAltitudeAdjustedPathsGet a list of movement paths with end-of-path altitude adjustments. Irrelevant for low-atmosphere maps, so simply returns the passed-in list.- Overrides:
- getAltitudeAdjustedPathsin class- AeroGroundPathFinder
- Parameters:
- startingPaths- The collection of paths to process
- Returns:
- The new collection of resulting paths.
 
- 
pathIsRedundantDetermines whether the given move path is "redundant". In this situation, "redundant" means "there is already a shorter path that goes to the ending coordinates/facing/height" combo.- Overrides:
- pathIsRedundantin class- AeroGroundPathFinder
- Parameters:
- mp- The move path to examine.
- Returns:
- Whether the move path is redundant.
 
 
-