|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.simulation.person.medical.Complaint
public class Complaint
This class represents the definition of a specific Medical Complaint that can effect a Person. The Complaint once effecting a Person can either result in the Person entering a recovery period or developing a more serious complaint or possibly death. I
Field Summary | |
---|---|
static double |
MAXPROBABILITY
The maximum probability rating. |
Method Summary | |
---|---|
double |
getDegradePeriod()
Get the degrade period. |
java.lang.String |
getName()
Get the name of complaint. |
Complaint |
getNextPhase()
Get the next complaint that this complaint developers into. |
double |
getPerformanceFactor()
Get the performance factor that effect Person with the complaint. |
double |
getProbability()
Get the probabity of this complaint. |
double |
getRecoveryPeriod()
Get the recover period. |
Treatment |
getRecoveryTreatment()
Get the treatment required for recovery to start. |
int |
getSeriousness()
Get the seriousness of this complaint. |
java.lang.String |
toString()
Get a string respresentation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final double MAXPROBABILITY
Method Detail |
---|
public double getDegradePeriod()
public java.lang.String getName()
public Complaint getNextPhase()
public double getPerformanceFactor()
public double getProbability()
public Treatment getRecoveryTreatment()
public double getRecoveryPeriod()
public int getSeriousness()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |