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

Packages that use Good
org.mars_sim.msp.core.manufacture Contains classes for manufacturing processes. 
org.mars_sim.msp.core.person.ai.mission Contains classes involving missions a person can perform. 
org.mars_sim.msp.core.person.ai.task Contains classes involving tasks a person can perform. 
org.mars_sim.msp.core.structure.goods Contains classes for all used goods in the simulation. 
 

Uses of Good in org.mars_sim.msp.core.manufacture
 

Methods in org.mars_sim.msp.core.manufacture that return Good
static Good ManufactureUtil.getGood(ManufactureProcessItem item)
          Gets a good for a manufacture process item.
 

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

Methods in org.mars_sim.msp.core.person.ai.mission that return types with arguments of type Good
static java.util.Map<Good,java.lang.Integer> TradeUtil.addNonProfitsToLoad(Settlement buyingSettlement, Settlement sellingSettlement, Rover rover, java.util.Map<Good,java.lang.Integer> currentLoad, java.util.Set<Good> nonAddGoods, double currentValue, double targetValue)
          Adds to a goods load between a buying settlement and a selling settlement.
static java.util.Map<Good,java.lang.Integer> TradeUtil.determineLoad(Settlement buyingSettlement, Settlement sellingSettlement, Rover rover)
          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.
static java.util.Map<Good,java.lang.Integer> TradeUtil.getDesiredBuyLoad(Settlement startingSettlement, Rover rover, Settlement tradingSettlement)
          Gets the desired buy load from a trading settlement.
 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.core.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.core.person.ai.mission with type arguments of type Good
static java.util.Map<Good,java.lang.Integer> TradeUtil.addNonProfitsToLoad(Settlement buyingSettlement, Settlement sellingSettlement, Rover rover, java.util.Map<Good,java.lang.Integer> currentLoad, java.util.Set<Good> nonAddGoods, double currentValue, double targetValue)
          Adds to a goods load between a buying settlement and a selling settlement.
static java.util.Map<Good,java.lang.Integer> TradeUtil.addNonProfitsToLoad(Settlement buyingSettlement, Settlement sellingSettlement, Rover rover, java.util.Map<Good,java.lang.Integer> currentLoad, java.util.Set<Good> nonAddGoods, double currentValue, double targetValue)
          Adds to a goods load between a buying settlement and a selling settlement.
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.core.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.core.person.ai.task
 

Methods in org.mars_sim.msp.core.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.core.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.core.structure.goods
 

Methods in org.mars_sim.msp.core.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.core.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.core.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.
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.getNumberOfGoodForSettlement(Good good)
          Gets the number of a good at the settlement.
 void GoodsManager.updateGoodValue(Good good, boolean collectiveUpdate)
          Updates the value of a good at the settlement.