Uses of Class
org.mars_sim.msp.simulation.resource.AmountResource

Packages that use AmountResource
org.mars_sim.msp.simulation Contains classes for creating a virtual Mars. 
org.mars_sim.msp.simulation.malfunction Contains classes involving malfunctions. 
org.mars_sim.msp.simulation.person.ai.mission Contains classes involving missions a person can perform. 
org.mars_sim.msp.simulation.person.ai.task Contains classes involving tasks a person can perform. 
org.mars_sim.msp.simulation.resource Contains classes for resource specific items. 
org.mars_sim.msp.simulation.structure Contains classes involving structure units. 
org.mars_sim.msp.simulation.structure.building.function Contains classes for settlement building functions. 
org.mars_sim.msp.simulation.vehicle Contains classes involving vehicle units. 
 

Uses of AmountResource in org.mars_sim.msp.simulation
 

Methods in org.mars_sim.msp.simulation that return types with arguments of type AmountResource
 java.util.Set<AmountResource> Inventory.getAllAmountResourcesStored()
          Gets all of the amount resources stored.
 

Methods in org.mars_sim.msp.simulation with parameters of type AmountResource
 void Inventory.addAmountResourceTypeCapacity(AmountResource resource, double capacity)
          Adds capacity for a resource type.
 double Inventory.getAmountResourceCapacity(AmountResource resource)
          Gets the storage capacity for a resource.
 double Inventory.getAmountResourceRemainingCapacity(AmountResource resource, boolean useContainedUnits)
          Gets the remaining capacity available for a resource.
 double Inventory.getAmountResourceStored(AmountResource resource)
          Gets the amount of a resource stored.
 boolean Inventory.hasAmountResourceCapacity(AmountResource resource)
          Checks if storage has capacity for a resource.
 boolean Inventory.hasAmountResourceCapacity(AmountResource resource, double amount)
          Checks if storage has capacity for an amount of a resource.
 void Inventory.retrieveAmountResource(AmountResource resource, double amount)
          Retrieves an amount of a resource from storage.
 void Inventory.storeAmountResource(AmountResource resource, double amount, boolean useContainedUnits)
          Store an amount of a resource.
 

Uses of AmountResource in org.mars_sim.msp.simulation.malfunction
 

Methods in org.mars_sim.msp.simulation.malfunction that return types with arguments of type AmountResource
 java.util.Map<AmountResource,java.lang.Double> Malfunction.getResourceEffects()
          Gets the resource effects of the malfunction.
 

Constructor parameters in org.mars_sim.msp.simulation.malfunction with type arguments of type AmountResource
Malfunction(java.lang.String name, int severity, double probability, double emergencyWorkTime, double workTime, double EVAWorkTime, java.util.Collection<java.lang.String> scope, java.util.Map<AmountResource,java.lang.Double> resourceEffects, java.util.Map<java.lang.String,java.lang.Double> lifeSupportEffects, java.util.Map<java.lang.String,java.lang.Double> medicalComplaints)
          Constructs a Malfunction object
 

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

Methods in org.mars_sim.msp.simulation.person.ai.mission with parameters of type AmountResource
 void Mining.collectMineral(AmountResource mineral, double amount)
          Collects an amount of a mineral.
 void Mining.excavateMineral(AmountResource mineral, double amount)
          Excavates an amount of a mineral.
 double Mining.getMineralExcavationAmount(AmountResource mineral)
          Gets the amount of a mineral currently excavated.
 double Mining.getTotalMineralExcavatedAmount(AmountResource mineral)
          Gets the total amount of a mineral that has been excavated so far.
 

Uses of AmountResource in org.mars_sim.msp.simulation.person.ai.task
 

Fields in org.mars_sim.msp.simulation.person.ai.task declared as AmountResource
protected  AmountResource CollectMinedMinerals.mineralType
           
protected  AmountResource CollectResources.resourceType
           
 

Methods in org.mars_sim.msp.simulation.person.ai.task with parameters of type AmountResource
static boolean CollectMinedMinerals.canCollectMinerals(Person person, Rover rover, AmountResource mineralType)
          Checks if a person can perform a CollectMinedMinerals task.
static boolean CollectResources.canCollectResources(Person person, Rover rover, java.lang.Class containerType, AmountResource resourceType)
          Checks if a person can perform an CollectResources task.
 

Constructors in org.mars_sim.msp.simulation.person.ai.task with parameters of type AmountResource
CollectMinedMinerals(Person person, Rover rover, AmountResource mineralType)
          Constructor
CollectResources(java.lang.String taskName, Person person, Rover rover, AmountResource resourceType, double collectionRate, double targettedAmount, double startingCargo, java.lang.Class containerType)
          Constructor
 

Uses of AmountResource in org.mars_sim.msp.simulation.resource
 

Methods in org.mars_sim.msp.simulation.resource that return AmountResource
static AmountResource AmountResource.findAmountResource(java.lang.String name)
          Finds an amount resource by name.
 

Methods in org.mars_sim.msp.simulation.resource that return types with arguments of type AmountResource
 java.util.Set<AmountResource> AmountResourceStorage.getAllAmountResourcesStored()
          Gets all of the amount resources stored.
static java.util.Set<AmountResource> AmountResource.getAmountResources()
          Gets a ummutable set of all the amount resources.
 java.util.Map<AmountResource,java.lang.Double> AmountResourceStorage.getAmountResourceTypeCapacities()
          Gets the amount resources and the type capacity for them.
 

Methods in org.mars_sim.msp.simulation.resource with parameters of type AmountResource
 void AmountResourceStorage.addAmountResourceTypeCapacity(AmountResource resource, double capacity)
          Adds capacity for a resource type.
 double AmountResourceStorage.getAmountResourceCapacity(AmountResource resource)
          Gets the storage capacity for a resource.
 double AmountResourceStorage.getAmountResourceRemainingCapacity(AmountResource resource)
          Gets the remaining capacity available for a resource.
 double AmountResourceStorage.getAmountResourceStored(AmountResource resource)
          Gets the amount of a resource stored.
 boolean AmountResourceStorage.hasAmountResourceCapacity(AmountResource resource)
          Checks if storage has capacity for a resource.
 void AmountResourceStorage.retrieveAmountResource(AmountResource resource, double amount)
          Retrieves an amount of a resource from storage.
 void AmountResourceStorage.storeAmountResource(AmountResource resource, double amount)
          Store an amount of a resource.
 

Uses of AmountResource in org.mars_sim.msp.simulation.structure
 

Methods in org.mars_sim.msp.simulation.structure that return types with arguments of type AmountResource
 java.util.Map<AmountResource,java.lang.Double> ResupplyConfig.getResupplyResources(java.lang.String resupplyName)
          Gets a map of resources and their amounts in a resupply mission.
 java.util.Map<AmountResource,java.lang.Double> SettlementConfig.getTemplateResources(java.lang.String templateName)
          Gets the resource types in a settlement template.
 

Uses of AmountResource in org.mars_sim.msp.simulation.structure.building.function
 

Methods in org.mars_sim.msp.simulation.structure.building.function that return types with arguments of type AmountResource
 java.util.Set<AmountResource> ResourceProcess.getInputResources()
          Gets the set of input resources.
 java.util.Set<AmountResource> ResourceProcess.getOutputResources()
          Gets the set of output resources.
 

Methods in org.mars_sim.msp.simulation.structure.building.function with parameters of type AmountResource
 void ResourceProcess.addMaxInputResourceRate(AmountResource resource, double rate, boolean ambient)
          Adds a maximum input resource rate if it doesn't already exist.
 void ResourceProcess.addMaxOutputResourceRate(AmountResource resource, double rate, boolean waste)
          Adds a maximum output resource rate if it doesn't already exist.
 double ResourceProcess.getMaxInputResourceRate(AmountResource resource)
          Gets the max input resource rate for a given resource.
 double ResourceProcess.getMaxOutputResourceRate(AmountResource resource)
          Gets the max output resource rate for a given resource.
 boolean ResourceProcess.isAmbientInputResource(AmountResource resource)
          Checks if resource is an ambient input.
 boolean ResourceProcess.isWasteOutputResource(AmountResource resource)
          Checks if resource is a waste output.
 

Uses of AmountResource in org.mars_sim.msp.simulation.vehicle
 

Methods in org.mars_sim.msp.simulation.vehicle that return AmountResource
abstract  AmountResource Vehicle.getFuelType()
          Gets the resource type that this vehicle uses for fuel.
 AmountResource MockVehicle.getFuelType()
           
 AmountResource LightUtilityVehicle.getFuelType()
           
 AmountResource Rover.getFuelType()
          Gets the resource type that this vehicle uses for fuel.