|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Settlement | |
---|---|
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.manufacture | Contains classes for manufacturing processes |
org.mars_sim.msp.simulation.mars | Contains classes for Mars planete information, minerals... |
org.mars_sim.msp.simulation.person | Contains classes involving person units. |
org.mars_sim.msp.simulation.person.ai.job | Contains classes for all possible jobs supported by the simulation. |
org.mars_sim.msp.simulation.person.ai.mission | Contains classes involving missions a person can perform. |
org.mars_sim.msp.simulation.person.ai.social | Contains classes related to social activities: relationships.. |
org.mars_sim.msp.simulation.person.ai.task | Contains classes involving tasks a person can perform. |
org.mars_sim.msp.simulation.structure | Contains classes involving structure units. |
org.mars_sim.msp.simulation.structure.building | Contains classes for settlement buildings. |
org.mars_sim.msp.simulation.structure.building.function | Contains classes for settlement building functions. |
org.mars_sim.msp.simulation.structure.goods | Contains classes for all used goods in the simulation |
org.mars_sim.msp.simulation.vehicle | Contains classes involving vehicle units. |
org.mars_sim.msp.ui.standard.tool.monitor | Contains classes for creating a monitor tool window. |
org.mars_sim.msp.ui.standard.unit_window.structure | Contains classes for structure windows. |
Uses of Settlement in org.mars_sim.msp.simulation |
---|
Methods in org.mars_sim.msp.simulation that return Settlement | |
---|---|
static Settlement |
CollectionUtils.getRandomRegressionSettlement(java.util.Collection collection)
|
static Settlement |
CollectionUtils.getRandomSettlement(java.util.Collection collection)
|
static Settlement |
CollectionUtils.getSettlement(java.util.Collection collection,
java.lang.String name)
|
Methods in org.mars_sim.msp.simulation that return types with arguments of type Settlement | |
---|---|
static java.util.Collection<Settlement> |
CollectionUtils.getSettlement(java.util.Collection<Unit> units)
|
java.util.Collection<Settlement> |
UnitManager.getSettlements()
Get settlements in vitual Mars |
Method parameters in org.mars_sim.msp.simulation with type arguments of type Settlement | |
---|---|
static void |
CollectionUtils.mergeSettlements(java.util.Collection<Unit> units,
java.util.Collection<Settlement> settlements)
|
Uses of Settlement in org.mars_sim.msp.simulation.malfunction |
---|
Methods in org.mars_sim.msp.simulation.malfunction with parameters of type Settlement | |
---|---|
static java.util.Collection<Malfunctionable> |
MalfunctionFactory.getAssociatedMalfunctionables(Settlement settlement)
Gets all malfunctionables associated with a settlement. |
Uses of Settlement in org.mars_sim.msp.simulation.manufacture |
---|
Methods in org.mars_sim.msp.simulation.manufacture with parameters of type Settlement | |
---|---|
static boolean |
ManufactureUtil.doesSettlementHaveManufacturing(Settlement settlement)
Checks if settlement has buildings with manufacture function. |
static int |
ManufactureUtil.getHighestManufacturingTechLevel(Settlement settlement)
Gets the highest manufacturing tech level in a settlement. |
static double |
ManufactureUtil.getManufactureProcessItemValue(ManufactureProcessItem item,
Settlement settlement)
Gets the good value of a manufacturing process item for a settlement. |
static double |
ManufactureUtil.getManufactureProcessValue(ManufactureProcessInfo process,
Settlement settlement)
Gets the goods value of a manufacturing process at a settlement. |
Uses of Settlement in org.mars_sim.msp.simulation.mars |
---|
Methods in org.mars_sim.msp.simulation.mars that return Settlement | |
---|---|
Settlement |
ExploredLocation.getSettlement()
The settlement that explored this site. |
Methods in org.mars_sim.msp.simulation.mars with parameters of type Settlement | |
---|---|
ExploredLocation |
SurfaceFeatures.addExploredLocation(Coordinates location,
java.util.Map<java.lang.String,java.lang.Double> estimatedMineralConcentrations,
Settlement settlement)
Adds an explored location. |
Uses of Settlement in org.mars_sim.msp.simulation.person |
---|
Methods in org.mars_sim.msp.simulation.person that return Settlement | |
---|---|
Settlement |
Person.getAssociatedSettlement()
Gets the settlement the person is currently associated with. |
Settlement |
Person.getSettlement()
Get settlement person is at, null if person is not at a settlement |
Methods in org.mars_sim.msp.simulation.person with parameters of type Settlement | |
---|---|
void |
Person.setAssociatedSettlement(Settlement newSettlement)
Sets the associated settlement for a person. |
Constructors in org.mars_sim.msp.simulation.person with parameters of type Settlement | |
---|---|
Person(java.lang.String name,
java.lang.String gender,
Settlement settlement)
Constructs a Person object at a given settlement |
Uses of Settlement in org.mars_sim.msp.simulation.person.ai.job |
---|
Methods in org.mars_sim.msp.simulation.person.ai.job with parameters of type Settlement | |
---|---|
static double |
JobManager.getBestJobProspect(Person person,
Settlement settlement,
boolean isHomeSettlement)
Gets the best job prospect value for a person at a settlement. |
static double |
JobManager.getJobProspect(Person person,
Job job,
Settlement settlement,
boolean isHomeSettlement)
Get the job prospect value for a person and a particular job at a settlement. |
static double |
JobManager.getRemainingSettlementNeed(Settlement settlement,
Job job)
Gets the need for a job at a settlement minus the capability of the inhabitants performing that job there. |
double |
Trader.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
abstract double |
Job.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
double |
Botanist.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
double |
Areologist.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
double |
Technician.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
double |
Doctor.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
double |
Driver.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
double |
Chef.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
double |
Engineer.getSettlementNeed(Settlement settlement)
Gets the base settlement need for this job. |
Uses of Settlement in org.mars_sim.msp.simulation.person.ai.mission |
---|
Methods in org.mars_sim.msp.simulation.person.ai.mission that return Settlement | |
---|---|
Settlement |
VehicleMission.findClosestSettlement()
Finds the closest settlement to the mission. |
Settlement |
TravelToSettlement.getAssociatedSettlement()
Gets the settlement associated with the mission. |
Settlement |
CollectResourcesMission.getAssociatedSettlement()
Gets the settlement associated with the mission. |
Settlement |
RescueSalvageVehicle.getAssociatedSettlement()
Gets the settlement associated with the mission. |
Settlement |
Trade.getAssociatedSettlement()
Gets the settlement associated with the mission. |
abstract Settlement |
Mission.getAssociatedSettlement()
Gets the settlement associated with the mission. |
Settlement |
Mining.getAssociatedSettlement()
|
Settlement |
Exploration.getAssociatedSettlement()
|
Settlement |
TravelToSettlement.getDestinationSettlement()
Gets the destination settlement. |
Settlement |
NavPoint.getSettlement()
Gets the settlement at the navpoint. |
Settlement |
RoverMission.getStartingSettlement()
Gets the starting settlement. |
Settlement |
Trade.getTradingSettlement()
Gets the settlement that the starting settlement is trading with. |
Methods in org.mars_sim.msp.simulation.person.ai.mission with parameters of type Settlement | |
---|---|
protected static boolean |
RoverMission.areVehiclesAvailable(Settlement settlement)
Checks to see if any vehicles are available at a settlement. |
void |
Mission.associateAllMembersWithSettlement(Settlement settlement)
Associate all mission members with a settlement. |
protected static boolean |
RoverMission.atLeastOnePersonRemainingAtSettlement(Settlement settlement,
Person person)
Checks to see if at least one inhabitant a settlement is remaining there. |
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. |
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. |
static double |
TradeUtil.getEstimatedMissionCost(Settlement startingSettlement,
Rover rover,
double distance)
Gets the estimated trade mission cost. |
java.util.List<Mission> |
MissionManager.getMissionsForSettlement(Settlement settlement)
Gets all the active missions associated with a given settlement. |
protected static Vehicle |
RoverMission.getVehicleWithGreatestRange(Settlement settlement)
Gets the available vehicle at the settlement with the greatest range. |
protected static boolean |
VehicleMission.hasEmbarkingMissions(Settlement settlement)
Checks to see if there are any currently embarking missions at the settlement. |
protected static boolean |
RoverMission.minAvailablePeopleAtSettlement(Settlement settlement,
int minNum)
Checks to see if at least a minimum number of people are available for a mission at a settlement. |
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 void |
RoverMission.setStartingSettlement(Settlement startingSettlement)
Sets the starting settlement. |
Constructors in org.mars_sim.msp.simulation.person.ai.mission with parameters of type Settlement | |
---|---|
CollectIce(java.util.Collection<Person> members,
Settlement startingSettlement,
java.util.List iceCollectionSites,
Rover rover,
java.lang.String description)
Constructor with explicit data. |
|
CollectRegolith(java.util.Collection<Person> members,
Settlement startingSettlement,
java.util.List regolithCollectionSites,
Rover rover,
java.lang.String description)
Constructor with explicit data. |
|
Exploration(java.util.Collection<Person> members,
Settlement startingSettlement,
java.util.List<Coordinates> explorationSites,
Rover rover,
java.lang.String description)
Constructor with explicit data. |
|
Mining(java.util.Collection<Person> members,
Settlement startingSettlement,
ExploredLocation miningSite,
Rover rover,
LightUtilityVehicle luv,
java.lang.String description)
Constructor with explicit data. |
|
NavPoint(Coordinates location,
Settlement settlement,
java.lang.String description)
Constructor with location and settlement. |
|
RescueSalvageVehicle(java.util.Collection<Person> members,
Settlement startingSettlement,
Vehicle vehicleTarget,
Rover rover,
java.lang.String description)
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. |
|
TravelToSettlement(java.util.Collection<Person> members,
Settlement startingSettlement,
Settlement destinationSettlement,
Rover rover,
java.lang.String description)
Constructor with explicit data. |
Uses of Settlement in org.mars_sim.msp.simulation.person.ai.social |
---|
Methods in org.mars_sim.msp.simulation.person.ai.social with parameters of type Settlement | |
---|---|
void |
RelationshipManager.addInitialSettler(Person person,
Settlement settlement)
Adds an innitial settler who will have an existing relationship with all the other inhabitants if his/her settlement. |
Uses of Settlement in org.mars_sim.msp.simulation.person.ai.task |
---|
Methods in org.mars_sim.msp.simulation.person.ai.task with parameters of type Settlement | |
---|---|
static boolean |
LoadVehicle.enoughCapacityForSupplies(java.util.Map<Resource,java.lang.Number> resources,
java.util.Map<java.lang.Class,java.lang.Integer> equipment,
Vehicle vehicle,
Settlement settlement)
Checks if a vehicle has enough storage capacity for the supplies needed on the trip. |
static boolean |
LoadVehicle.hasEnoughSupplies(Settlement settlement,
Vehicle vehicle,
java.util.Map<Resource,java.lang.Number> resources,
java.util.Map<java.lang.Class,java.lang.Integer> equipment,
int vehicleCrewNum,
double tripTime)
Checks if there are enough supplies in the settlement's stores to supply trip. |
Constructors in org.mars_sim.msp.simulation.person.ai.task with parameters of type Settlement | |
---|---|
NegotiateTrade(Settlement sellingSettlement,
Settlement buyingSettlement,
Rover rover,
java.util.Map<Good,java.lang.Integer> soldLoad,
Person buyingTrader,
Person sellingTrader)
Constructor |
Uses of Settlement in org.mars_sim.msp.simulation.structure |
---|
Subclasses of Settlement in org.mars_sim.msp.simulation.structure | |
---|---|
class |
MockSettlement
|
Constructors in org.mars_sim.msp.simulation.structure with parameters of type Settlement | |
---|---|
PowerGrid(Settlement settlement)
Constructor |
|
ResupplyEvent(Settlement settlement,
java.lang.String resupplyName)
Constructor |
Uses of Settlement in org.mars_sim.msp.simulation.structure.building |
---|
Methods in org.mars_sim.msp.simulation.structure.building that return Settlement | |
---|---|
Settlement |
BuildingManager.getSettlement()
Gets the building manager's settlement. |
Methods in org.mars_sim.msp.simulation.structure.building with parameters of type Settlement | |
---|---|
static void |
BuildingManager.addToRandomBuilding(GroundVehicle vehicle,
Settlement settlement)
Adds a ground vehicle to a random ground vehicle maintenance building within a settlement. |
static void |
BuildingManager.addToRandomBuilding(Person person,
Settlement settlement)
Adds a person to a random inhabitable building within a settlement. |
Constructors in org.mars_sim.msp.simulation.structure.building with parameters of type Settlement | |
---|---|
BuildingManager(Settlement settlement)
Constructor to construct buildings from settlement config template. |
|
BuildingManager(Settlement settlement,
java.util.List<java.lang.String> buildingNames)
Constructor to construct buildings from name list. |
Uses of Settlement in org.mars_sim.msp.simulation.structure.building.function |
---|
Constructors in org.mars_sim.msp.simulation.structure.building.function with parameters of type Settlement | |
---|---|
Crop(CropType cropType,
double maxHarvest,
Farming farm,
Settlement settlement,
boolean newCrop)
Constructor |
Uses of Settlement in org.mars_sim.msp.simulation.structure.goods |
---|
Methods in org.mars_sim.msp.simulation.structure.goods that return Settlement | |
---|---|
Settlement |
CreditEvent.getSettlement1()
Gets the first settlement. |
Settlement |
CreditEvent.getSettlement2()
Gets the second settlement. |
Methods in org.mars_sim.msp.simulation.structure.goods with parameters of type Settlement | |
---|---|
double |
CreditManager.getCredit(Settlement settlement1,
Settlement settlement2)
Gets the credit between two settlements. |
void |
CreditManager.setCredit(Settlement settlement1,
Settlement settlement2,
double amount)
Sets the credit between two settlements. |
Constructors in org.mars_sim.msp.simulation.structure.goods with parameters of type Settlement | |
---|---|
CreditEvent(Settlement settlement1,
Settlement settlement2,
double credit)
Constructor |
|
GoodsManager(Settlement settlement)
Constructor |
Uses of Settlement in org.mars_sim.msp.simulation.vehicle |
---|
Methods in org.mars_sim.msp.simulation.vehicle that return Settlement | |
---|---|
Settlement |
Vehicle.getSettlement()
Returns the current settlement vehicle is parked at. |
Constructors in org.mars_sim.msp.simulation.vehicle with parameters of type Settlement | |
---|---|
LightUtilityVehicle(java.lang.String name,
java.lang.String description,
Settlement settlement)
|
|
MockVehicle(Settlement settlement)
|
|
Rover(java.lang.String name,
java.lang.String description,
Settlement settlement)
Constructs a Rover object at a given settlement |
|
Vehicle(java.lang.String name,
java.lang.String description,
Settlement settlement,
double baseSpeed,
double baseMass,
double fuelEfficiency)
Constructor to be used for testing. |
Uses of Settlement in org.mars_sim.msp.ui.standard.tool.monitor |
---|
Constructors in org.mars_sim.msp.ui.standard.tool.monitor with parameters of type Settlement | |
---|---|
PersonTableModel(Settlement settlement,
boolean allAssociated)
Constructs a PersonTableModel that displays residents are all associated people with a specified settlement. |
Uses of Settlement in org.mars_sim.msp.ui.standard.unit_window.structure |
---|
Constructors in org.mars_sim.msp.ui.standard.unit_window.structure with parameters of type Settlement | |
---|---|
MissionTabPanel(Settlement settlement,
MainDesktopPane desktop)
Constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |