Uses of Class
org.mars_sim.msp.simulation.person.ai.mission.MissionException

Packages that use MissionException
org.mars_sim.msp.simulation.person.ai.mission Contains classes involving missions a person can perform. 
 

Uses of MissionException in org.mars_sim.msp.simulation.person.ai.mission
 

Methods in org.mars_sim.msp.simulation.person.ai.mission that throw MissionException
protected  int TravelToSettlement.compareVehicles(Vehicle firstVehicle, Vehicle secondVehicle)
          Compares the quality of two vehicles for use in this mission.
protected  int VehicleMission.compareVehicles(Vehicle firstVehicle, Vehicle secondVehicle)
          Compares the quality of two vehicles for use in this mission.
protected  int Trade.compareVehicles(Vehicle firstVehicle, Vehicle secondVehicle)
          Compares the quality of two vehicles for use in this mission.
protected  int Exploration.compareVehicles(Vehicle firstVehicle, Vehicle secondVehicle)
           
protected  void VehicleMission.determineEmergencyDestination(Person person)
          Determines the emergency destination settlement for the mission if one is reachable, otherwise sets the emergency beacon and ends the mission.
protected  void TravelToSettlement.determineNewPhase()
          Determines a new phase for the mission when the current phase has ended.
protected  void VehicleMission.determineNewPhase()
          Determines a new phase for the mission when the current phase has ended.
protected  void CollectResourcesMission.determineNewPhase()
          Determines a new phase for the mission when the current phase has ended.
protected  void RescueSalvageVehicle.determineNewPhase()
          Determines a new phase for the mission when the current phase has ended.
protected  void Trade.determineNewPhase()
          Determines a new phase for the mission when the current phase has ended.
protected abstract  void Mission.determineNewPhase()
          Determines a new phase for the mission when the current phase has ended.
protected  void Mining.determineNewPhase()
           
protected  void Exploration.determineNewPhase()
           
 Settlement VehicleMission.findClosestSettlement()
          Finds the closest settlement to the mission.
 double TravelMission.getCurrentLegRemainingDistance()
          Gets the remaining distance for the current leg of the mission.
 Coordinates Mission.getCurrentMissionLocation()
          Gets the current location of the mission.
 java.util.Map<java.lang.Class,java.lang.Integer> TravelToSettlement.getEquipmentNeededForRemainingMission(boolean useBuffer)
          Gets the number and types of equipment needed for the mission.
 java.util.Map<java.lang.Class,java.lang.Integer> CollectResourcesMission.getEquipmentNeededForRemainingMission(boolean useBuffer)
          Gets the number and types of equipment needed for the mission.
 java.util.Map<java.lang.Class,java.lang.Integer> RescueSalvageVehicle.getEquipmentNeededForRemainingMission(boolean useBuffer)
          Gets the number and types of equipment needed for the mission.
 java.util.Map<java.lang.Class,java.lang.Integer> Trade.getEquipmentNeededForRemainingMission(boolean useBuffer)
          Gets the number and types of equipment needed for the mission.
abstract  java.util.Map<java.lang.Class,java.lang.Integer> RoverMission.getEquipmentNeededForRemainingMission(boolean useBuffer)
          Gets the number and types of equipment needed for the mission.
abstract  java.util.Map<java.lang.Class,java.lang.Integer> Mission.getEquipmentNeededForRemainingMission(boolean useBuffer)
          Gets the number and types of equipment needed for the mission.
 java.util.Map<java.lang.Class,java.lang.Integer> Mining.getEquipmentNeededForRemainingMission(boolean useBuffer)
           
 java.util.Map<java.lang.Class,java.lang.Integer> Exploration.getEquipmentNeededForRemainingMission(boolean useBuffer)
           
 java.util.Map<java.lang.Class,java.lang.Integer> VehicleMission.getEquipmentToLoad()
          Gets the equipment needed for loading the vehicle.
 double VehicleMission.getEstimatedRemainingMissionTime(boolean useBuffer)
          Gets the estimated time remaining for the mission.
 double CollectResourcesMission.getEstimatedRemainingMissionTime(boolean useBuffer)
          Gets the estimated time remaining for the mission.
abstract  double TravelMission.getEstimatedRemainingMissionTime(boolean useBuffer)
          Gets the estimated time remaining for the mission.
 double Mining.getEstimatedRemainingMissionTime(boolean useBuffer)
           
 double Exploration.getEstimatedRemainingMissionTime(boolean useBuffer)
           
 double VehicleMission.getEstimatedTripTime(boolean useBuffer, double distance)
          Gets the estimated time for a trip.
abstract  double TravelMission.getEstimatedTripTime(boolean useBuffer, double distance)
          Gets the estimated time for a trip.
protected  double TravelToSettlement.getMissionQualification(Person person)
          Gets the mission qualification value for the person.
protected  double RescueSalvageVehicle.getMissionQualification(Person person)
          Gets the mission qualification value for the person.
protected  double Mission.getMissionQualification(Person person)
          Gets the mission qualification value for the person.
protected abstract  OperateVehicle VehicleMission.getOperateVehicleTask(Person person, java.lang.String lastOperateVehicleTaskPhase)
          Gets a new instance of an OperateVehicle task for the person.
protected  OperateVehicle RoverMission.getOperateVehicleTask(Person person, java.lang.String lastOperateVehicleTaskPhase)
          Gets a new instance of an OperateVehicle task for the person.
protected  java.util.Map<Resource,java.lang.Number> VehicleMission.getPartsNeededForTrip(double distance)
          Gets the parts needed for the trip.
protected  java.util.Map<Resource,java.lang.Number> CollectResourcesMission.getPartsNeededForTrip(double distance)
          Gets the parts needed for the trip.
 java.util.Map<Resource,java.lang.Number> VehicleMission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
 java.util.Map<Resource,java.lang.Number> CollectResourcesMission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
 java.util.Map<Resource,java.lang.Number> RescueSalvageVehicle.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
abstract  java.util.Map<Resource,java.lang.Number> Mission.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
          Gets the number and amounts of resources needed for the mission.
 java.util.Map<Resource,java.lang.Number> Mining.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
           
 java.util.Map<Resource,java.lang.Number> Exploration.getResourcesNeededForRemainingMission(boolean useBuffer, boolean parts)
           
 java.util.Map<Resource,java.lang.Number> VehicleMission.getResourcesNeededForTrip(boolean useBuffer, boolean parts, double distance)
          Gets the number and amounts of resources needed for a trip.
 java.util.Map<Resource,java.lang.Number> Trade.getResourcesNeededForTrip(boolean useBuffer, boolean parts, double distance)
          Gets a map of all resources needed for the trip.
 java.util.Map<Resource,java.lang.Number> RoverMission.getResourcesNeededForTrip(boolean useBuffer, boolean parts, double distance)
          Gets a map of all resources needed for the trip.
 java.util.Map<Resource,java.lang.Number> VehicleMission.getResourcesToLoad()
          Gets the resources needed for loading the vehicle.
 java.util.Map<Resource,java.lang.Number> RescueSalvageVehicle.getResourcesToLoad()
          Gets the resources needed for loading the vehicle.
 double TravelMission.getTotalRemainingDistance()
          Gets the total remaining distance to travel in the mission.
static double CollectResourcesMission.getTotalTripTimeLimit(Rover rover, int memberNum, boolean useBuffer)
          Gets the time limit of the trip based on life support capacity.
static double Exploration.getTotalTripTimeLimit(Rover rover, int memberNum, boolean useBuffer)
          Gets the time limit of the trip based on life support capacity.
protected  boolean VehicleMission.hasEnoughResourcesForRemainingMission(boolean useBuffers)
          Checks if there are enough resources available in the vehicle for the remaining mission.
protected  boolean VehicleMission.isUsableVehicle(Vehicle newVehicle)
          Checks if vehicle is usable for this mission.
protected  boolean RoverMission.isUsableVehicle(Vehicle newVehicle)
          Checks if vehicle is usable for this mission.
 boolean VehicleMission.isVehicleLoadable()
          Checks if a vehicle can load the supplies needed by the mission.
 boolean VehicleMission.isVehicleLoaded()
          Determine if a vehicle is sufficiently loaded with fuel and supplies.
protected static int CollectResourcesMission.numCollectingContainersAvailable(Settlement settlement, java.lang.Class containerType)
          Gets the number of empty containers of given type at the settlement.
protected abstract  void VehicleMission.performDisembarkToSettlementPhase(Person person, Settlement disembarkSettlement)
          Performs the disembark to settlement phase of the mission.
protected  void RescueSalvageVehicle.performDisembarkToSettlementPhase(Person person, Settlement disembarkSettlement)
          Performs the disembark to settlement phase of the mission.
protected  void Trade.performDisembarkToSettlementPhase(Person person, Settlement disembarkSettlement)
          Performs the disembark to settlement phase of the mission.
protected  void RoverMission.performDisembarkToSettlementPhase(Person person, Settlement disembarkSettlement)
          Performs the disembark to settlement phase of the mission.
protected  void Mining.performDisembarkToSettlementPhase(Person person, Settlement disembarkSettlement)
           
protected abstract  void VehicleMission.performEmbarkFromSettlementPhase(Person person)
          Performs the embark from settlement phase of the mission.
protected  void Trade.performEmbarkFromSettlementPhase(Person person)
          Performs the embark from settlement phase of the mission.
protected  void RoverMission.performEmbarkFromSettlementPhase(Person person)
          Performs the embark from settlement phase of the mission.
protected  void Mining.performEmbarkFromSettlementPhase(Person person)
           
 void Mission.performMission(Person person)
          Performs the mission.
protected  void VehicleMission.performPhase(Person person)
          The person performs the current phase of the mission.
protected  void CollectResourcesMission.performPhase(Person person)
          The person performs the current phase of the mission.
protected  void RescueSalvageVehicle.performPhase(Person person)
          The person performs the current phase of the mission.
protected  void Trade.performPhase(Person person)
          The person performs the current phase of the mission.
protected  void RoverMission.performPhase(Person person)
          The person performs the current phase of the mission.
protected abstract  void Mission.performPhase(Person person)
          The person performs the current phase of the mission.
protected  void Mining.performPhase(Person person)
           
protected  void Exploration.performPhase(Person person)
           
protected  void VehicleMission.performTravelPhase(Person person)
          Performs the travel phase of the mission.
protected abstract  void TravelMission.performTravelPhase(Person person)
          Performs the travel phase of the mission.
protected  void TravelMission.reachedNextNode()
          The mission has reached the next navpoint.
protected  boolean VehicleMission.reserveVehicle(Person person)
          Reserves a vehicle for the mission if possible.
 void TravelMission.setNextNavpointIndex(int newNavIndex)
          Set the next navpoint index.
protected  void Mission.setPhase(java.lang.String newPhase)
          Sets the mission phase.
protected  void VehicleMission.setVehicle(Vehicle newVehicle)
          Sets the vehicle for this mission.
protected  void TravelMission.startTravelToNextNode()
          Starts travel to the next navpoint in the mission.
 

Constructors in org.mars_sim.msp.simulation.person.ai.mission that throw MissionException
CollectIce(java.util.Collection<Person> members, Settlement startingSettlement, java.util.List iceCollectionSites, Rover rover, java.lang.String description)
          Constructor with explicit data.
CollectIce(Person startingPerson)
          Constructor
CollectRegolith(java.util.Collection<Person> members, Settlement startingSettlement, java.util.List regolithCollectionSites, Rover rover, java.lang.String description)
          Constructor with explicit data.
CollectRegolith(Person startingPerson)
          Constructor
Exploration(java.util.Collection<Person> members, Settlement startingSettlement, java.util.List<Coordinates> explorationSites, Rover rover, java.lang.String description)
          Constructor with explicit data.
Exploration(Person startingPerson)
          Constructor
Mining(java.util.Collection<Person> members, Settlement startingSettlement, ExploredLocation miningSite, Rover rover, LightUtilityVehicle luv, java.lang.String description)
          Constructor with explicit data.
Mining(Person startingPerson)
          Constructor
Mission(java.lang.String name, Person startingPerson, int minPeople)
          Constructs a Mission object
RescueSalvageVehicle(java.util.Collection<Person> members, Settlement startingSettlement, Vehicle vehicleTarget, Rover rover, java.lang.String description)
          Constructor with explicit data.
RescueSalvageVehicle(Person startingPerson)
          Constructor
RoverMission(java.lang.String name, Person startingPerson)
          Constructor
RoverMission(java.lang.String name, Person startingPerson, int minPeople)
          Constructor with min people
RoverMission(java.lang.String name, Person startingPerson, int minPeople, Rover rover)
          Constructor with min people and rover.
Trade(java.util.Collection<Person> members, Settlement startingSettlement, Settlement tradingSettlement, Rover rover, java.lang.String description, java.util.Map<Good,java.lang.Integer> sellGoods, java.util.Map<Good,java.lang.Integer> buyGoods)
          Constructor with explicit data.
Trade(Person startingPerson)
          Constructor.
TravelMission(java.lang.String name, Person startingPerson, int minPeople)
          Constructor (note: The constructor handles setting the initial nav point.)
TravelToSettlement(java.util.Collection<Person> members, Settlement startingSettlement, Settlement destinationSettlement, Rover rover, java.lang.String description)
          Constructor with explicit data.
TravelToSettlement(Person startingPerson)
          Constructs a TravelToSettlement object with destination settlement randomly determined.
VehicleMission(java.lang.String name, Person startingPerson, int minPeople)
          Constructor
VehicleMission(java.lang.String name, Person startingPerson, int minPeople, Vehicle vehicle)
          Constructor with vehicle.