Uses of Class
org.mars_sim.msp.simulation.structure.goods.Good

Packages that use Good
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.structure.goods Contains classes for all used goods in the simulation 
org.mars_sim.msp.ui.standard.tool.monitor Contains classes for creating a monitor tool window. 
 

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

Methods in org.mars_sim.msp.simulation.person.ai.mission that return types with arguments of type Good
static java.util.Map<Good,java.lang.Integer> TradeUtil.determineLoad(Settlement buyingSettlement, Settlement sellingSettlement, Rover rover, double valueLimit)
          Determines the load between a buying settlement and a selling settlement.
 java.util.Map<Good,java.lang.Integer> Trade.getBuyLoad()
          Gets the load that is being bought in the trade.
 java.util.Map<Good,java.lang.Integer> Trade.getDesiredBuyLoad()
          Gets the load that the starting settlement initially desires to buy.
 java.util.Map<Good,java.lang.Integer> Trade.getSellLoad()
          Gets the load that is being sold in the trade.
 

Methods in org.mars_sim.msp.simulation.person.ai.mission with parameters of type Good
static double TradeUtil.getNumInInventory(Good good, Inventory inventory)
          Gets the number of a good currently in the inventory.
 

Method parameters in org.mars_sim.msp.simulation.person.ai.mission with type arguments of type Good
static double TradeUtil.determineLoadValue(java.util.Map<Good,java.lang.Integer> load, Settlement settlement, boolean buy)
          Determines the value of a load to a settlement.
 

Constructor parameters in org.mars_sim.msp.simulation.person.ai.mission with type arguments of type Good
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(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.
 

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

Methods in org.mars_sim.msp.simulation.person.ai.task that return types with arguments of type Good
 java.util.Map<Good,java.lang.Integer> NegotiateTrade.getBuyLoad()
          Gets the buy load for the trade.
 

Constructor parameters in org.mars_sim.msp.simulation.person.ai.task with type arguments of type Good
NegotiateTrade(Settlement sellingSettlement, Settlement buyingSettlement, Rover rover, java.util.Map<Good,java.lang.Integer> soldLoad, Person buyingTrader, Person sellingTrader)
          Constructor
 

Uses of Good in org.mars_sim.msp.simulation.structure.goods
 

Methods in org.mars_sim.msp.simulation.structure.goods that return Good
static Good GoodsUtil.getEquipmentGood(java.lang.Class equipmentClass)
          Gets a good object for a given equipment class.
static Good GoodsUtil.getResourceGood(Resource resource)
          Gets a good object for a given resource.
static Good GoodsUtil.getVehicleGood(java.lang.String vehicleType)
          Gets a good object for the given vehicle type.
 

Methods in org.mars_sim.msp.simulation.structure.goods that return types with arguments of type Good
static java.util.List<Good> GoodsUtil.getGoodsList()
          Gets a list of all goods in the simulation.
 

Methods in org.mars_sim.msp.simulation.structure.goods with parameters of type Good
 int Good.compareTo(Good o)
          Compares this object with the specified object for order.
static boolean GoodsUtil.containsGood(Good good)
          Checks if a good is valid in the simulation.
 double GoodsManager.getAmountOfGoodForSettlement(Good good)
          Gets the amount of a good at the settlement.
static double GoodsUtil.getGoodMassPerItem(Good good)
          Gets the mass per item for a good.
 double GoodsManager.getGoodValuePerItem(Good good)
          Gets the value per item of a good.
 double GoodsManager.getGoodValuePerItem(Good good, double supply)
           
 double GoodsManager.getGoodValuePerMass(Good good)
          Gets the value per mass of a good.
 double GoodsManager.getGoodValuePerMass(Good good, double supply)
           
 double GoodsManager.getNumberOfGoodForSettlement(Good good)
          Gets the number of a good at the settlement.
 

Uses of Good in org.mars_sim.msp.ui.standard.tool.monitor
 

Methods in org.mars_sim.msp.ui.standard.tool.monitor with parameters of type Good
 java.lang.String TradeTableModel.getGoodCategory(Good good)