|
||||||||||
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.ResearchBotany
public class ResearchBotany
The ResearchBotany class is a task for researching botany science.
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 | |
---|---|
ResearchBotany(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. |
Methods inherited from class org.mars_sim.msp.simulation.person.ai.task.ResearchScience |
---|
addExperience, endTask, getAssociatedSkills, getEffectiveSkillLevel, getLocalLab, performMappedPhase, researchingPhase |
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 ResearchBotany(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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |