|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sir.sim.SimSelke.Individual
Class to handle each individual in the population.
Field Summary | |
double |
incubtime
Individuals length of incubation period |
double |
inflength
Individuals infection length, if infected |
double |
threshold
The individual's threshold beforing becoming exposed |
int |
x
Location of the individual |
int |
y
Location of the individual |
Constructor Summary | |
SimSelke.Individual(int x,
int y)
Constructor |
Method Summary | |
int |
compareTo(java.lang.Object other)
Comparing based on the individuals threshold |
java.lang.String |
toString()
Typical debug method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int x
public int y
public double inflength
public double incubtime
public double threshold
Constructor Detail |
public SimSelke.Individual(int x, int y)
Method Detail |
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
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 |