|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.person.ai.task.Task
org.mars_sim.msp.simulation.person.ai.task.EVAOperation
org.mars_sim.msp.simulation.person.ai.task.ExploreSite
public class ExploreSite
A task for the EVA operation of exploring a site.
| Field Summary | |
|---|---|
static double |
AVERAGE_ROCK_SAMPLE_MASS
|
| Fields inherited from class org.mars_sim.msp.simulation.person.ai.task.EVAOperation |
|---|
BASE_ACCIDENT_CHANCE, containerUnit, ENTER_AIRLOCK, enteredAirlock, EXIT_AIRLOCK, exitedAirlock |
| Fields inherited from class org.mars_sim.msp.simulation.person.ai.task.Task |
|---|
effortDriven, hasDuration, person, phaseTimeCompleted, phaseTimeRequired, stressModifier, subTask, TASK_DESC_EVENT, TASK_ENDED_EVENT, TASK_NAME_EVENT, TASK_PHASE_EVENT, TASK_SUBTASK_EVENT |
| Constructor Summary | |
|---|---|
ExploreSite(Person person,
ExploredLocation site,
Rover rover)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
addExperience(double time)
Adds experience to the person's skills used in this task. |
static boolean |
canExploreSite(Person person,
Rover rover)
Checks if a person can explore a site. |
java.util.List<java.lang.String> |
getAssociatedSkills()
Gets a list of the skills associated with this task. |
int |
getEffectiveSkillLevel()
Gets the effective skill level a person has at this task. |
protected double |
performMappedPhase(double time)
Performs the method mapped to the task's current phase. |
| Methods inherited from class org.mars_sim.msp.simulation.person.ai.task.EVAOperation |
|---|
checkForAccident, endEVA, enterAirlock, exitAirlock, getAvailableAirlock, shouldEndEVAOperation |
| Methods inherited from class org.mars_sim.msp.simulation.person.ai.task.Task |
|---|
addPhase, compareTo, endTask, getCreateEvents, getCrowdingProbabilityModifier, getDescription, getDuration, getName, getPhase, getProbability, getRelationshipModifier, getSubTask, getTeacher, getTeachingExperienceModifier, getTimeCompleted, getTopPhase, hasTeacher, isDone, isEffortDriven, setCreateEvents, setDescription, setDuration, setName, setPhase, setStressModifier, setTeacher, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final double AVERAGE_ROCK_SAMPLE_MASS
| Constructor Detail |
|---|
public ExploreSite(Person person,
ExploredLocation site,
Rover rover)
throws java.lang.Exception
person - the person performing the task.site - the site to explore.rover - the mission rover.
exception - if error creating task.
java.lang.Exception| Method Detail |
|---|
public static boolean canExploreSite(Person person,
Rover rover)
person - the personrover - the rover
protected void addExperience(double time)
Task
addExperience in class Tasktime - the amount of time (ms) the person performed this task.public java.util.List<java.lang.String> getAssociatedSkills()
Task
getAssociatedSkills in class Taskpublic int getEffectiveSkillLevel()
Task
getEffectiveSkillLevel in class Task
protected double performMappedPhase(double time)
throws java.lang.Exception
Task
performMappedPhase in class Tasktime - the amount of time (millisol) the phase is to be performed.
java.lang.Exception - if error in performing phase or if phase cannot be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||