|
||||||||||
| 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.ResearchScience
org.mars_sim.msp.simulation.person.ai.task.ResearchAreology
public class ResearchAreology
The ResearchAreology class is a task for scientific research in the field of areology.
| Field Summary |
|---|
| 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 | |
|---|---|
ResearchAreology(Person person)
Constructor This is an effort driven task. |
|
| Method Summary | |
|---|---|
static double |
getProbability(Person person)
Returns the weighted probability that a person might perform this task. |
protected double |
researchingPhase(double time)
Performs the researching phase. |
| Methods inherited from class org.mars_sim.msp.simulation.person.ai.task.ResearchScience |
|---|
addExperience, endTask, getAssociatedSkills, getEffectiveSkillLevel, getLocalLab, performMappedPhase |
| Methods inherited from class org.mars_sim.msp.simulation.person.ai.task.Task |
|---|
addPhase, compareTo, getCreateEvents, getCrowdingProbabilityModifier, getDescription, getDuration, getName, getPhase, 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 |
| Constructor Detail |
|---|
public ResearchAreology(Person person)
throws java.lang.Exception
person - the person to perform the task
java.lang.Exception - if error constructing task.| Method Detail |
|---|
public static double getProbability(Person person)
person - the person to perform the task
protected double researchingPhase(double time)
throws java.lang.Exception
ResearchScience
researchingPhase in class ResearchSciencetime - the amount of time (millisols) to perform the phase.
java.lang.Exception - if error performing the phase.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||