|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.projects.genesis.core.GENESIS_Agent uk.ac.leeds.ccg.andyt.projects.genesis.core.GENESIS_Person uk.ac.leeds.ccg.andyt.projects.genesis.core.GENESIS_Female
public class GENESIS_Female
Nested Class Summary | |
---|---|
class |
GENESIS_Female.Miscarriage
|
Field Summary | |
---|---|
int[] |
_GenderOfUnborns
The length of this indicates if a single baby birth is expected or if there are twins or other multiple births. |
protected GENESIS_FemaleCollection |
_GENESIS_FemaleCollection
A reference to the main GENESIS_FemaleCollection to which this belongs |
int |
_LengthOfFertilityPeriod
|
java.util.TreeSet<GENESIS_Female.Miscarriage> |
_Miscarriages
For storing information about miscarriages. |
int |
_StartOfFertiliyPeriod
|
GENESIS_Time |
_Time_DueToGiveBirth
Expected due date. |
static java.math.BigDecimal |
NormalGestationPeriod_BigDecimal
|
static int |
NormalGestationPeriod_int
Gestation period in humans taken as 266 days http://en.wikipedia.org/wiki/Gestation_period If _Time_DueToGiveBirth != null then female is pregnant |
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.genesis.core.GENESIS_Person |
---|
_Age, _Birth_Calendar, _Birth_Point2D, _Collection_ID, _Death_Point2D, _Death_Time, _Directory, _Family, _Heading_Point2D, _Household, _HouseholdHistory, _ID, _Movement, _Network2D, _personalFertility_BigDecimal, _personalMortality_BigDecimal, _Point2D, _Previous_Point2D, _reporting_CellID, _reporting_VectorNetwork2D, _ResidentialSubregionIDs, _resource_double, _resourceMax_double, _SetOffToWork_0_Time, _SetOffToWork_Time, _Speed_BigDecimal, _Speed_double, _SpeedDefault_BigDecimal, _SpeedDefault_double, _Work_Point2D, _Work_Time |
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.genesis.core.GENESIS_Agent |
---|
_GENESIS_AgentCollectionManager, _GENESIS_Environment, _Type |
Constructor Summary | |
---|---|
protected |
GENESIS_Female(GENESIS_Environment a_GENESIS_Environment,
GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager,
java.io.File _Directory,
GENESIS_Age age,
Household _Household,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D)
|
protected |
GENESIS_Female(GENESIS_Environment a_GENESIS_Environment,
GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager,
GENESIS_Age age)
|
protected |
GENESIS_Female(GENESIS_Environment a_GENESIS_Environment,
GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager,
GENESIS_Age age,
Household _Household)
|
protected |
GENESIS_Female(GENESIS_Environment a_GENESIS_Environment,
GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager,
GENESIS_Age age,
Household _Household,
uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D)
|
Method Summary | |
---|---|
java.lang.Long |
get_Agent_ID(boolean handleOutOfMemoryError)
|
protected GENESIS_AgentCollection |
get_AgentCollection()
|
protected java.io.File |
get_Directory()
Deprecated. |
protected java.lang.Long |
get_Female_ID()
|
protected java.lang.Long |
get_FemaleCollection_ID()
|
java.lang.Long |
get_FemaleCollection_ID(boolean handleOutOfMemoryError)
|
protected GENESIS_FemaleCollection |
get_FemaleCollection()
|
GENESIS_FemaleCollection |
get_FemaleCollection(boolean handleOutOfMemoryError)
|
protected int |
get_Gender()
|
int |
get_Gender(boolean handleOutOfMemoryError)
|
java.lang.Integer |
getDaysToDueDate()
|
protected java.lang.Object[] |
giveBirthSimple()
Sets _Time_DueToGiveBirth and _GenderOfUnborns to null. |
java.lang.Object[] |
giveBirthSimple(boolean handleOutOfMemoryError)
Sets _Time_DueToGiveBirth and _GenderOfUnborns to null. |
protected GENESIS_Person[] |
giveBirthSimpleOld()
Deprecated. |
GENESIS_Person[] |
giveBirthSimpleOld(boolean handleOutOfMemoryError)
Deprecated. |
void |
init_Miscarriages()
|
protected void |
init(GENESIS_Environment a_GENESIS_Environment,
java.lang.Long _Female_ID,
java.lang.Long _FemaleCollection_ID)
|
protected boolean |
isPregnant()
|
boolean |
isPregnant(boolean handleOutOfMemoryError)
|
void |
miscarriage()
|
static GENESIS_Female |
read(long a_Agent_ID,
GENESIS_FemaleCollection a_GENESIS_FemaleCollection)
Deprecated. |
protected void |
set_Pregnant(GENESIS_Fertility a_Fertility)
This sets the due date assuming 266 day gestation. |
void |
set_Pregnant(GENESIS_Fertility a_Fertility,
boolean handleOutOfMemoryError)
This sets the due date assuming 266 day gestation. |
protected boolean |
set_Pregnant(GENESIS_Fertility a_Fertility,
int numberOfDaysUntilDue)
This sets the due date assuming 266 day gestation, but that pregnancy is already at day days. |
boolean |
set_Pregnant(GENESIS_Fertility a_Fertility,
int numberOfDaysUntilDue,
boolean handleOutOfMemoryError)
This sets the due date assuming 266 day gestation, but that pregnancy is already at day days. |
java.lang.String |
toString()
|
protected void |
write()
Deprecated. |
void |
write(boolean handleOutOfMemoryError)
Deprecated. |
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.genesis.core.GENESIS_Person |
---|
get_Age, get_Previous_Point2D, get_Work_Time, getAge, getIsBirthday, getIsTimeToSetOfToWork, getIsWorkTime, getNextConnectionOnRoute, getPreviousRegionID, getPreviousSubregionID, getRegionID, getSubregionID, getTypeDeadFemale_String, getTypeDeadMale_String, getTypeLivingFemale_String, getTypeLivingMale_String, init, isAlive, log, log, move, move, move, set_Death_Time, set_Heading_Point2D, set_Previous_Point2D, setMovement |
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.genesis.core.GENESIS_Agent |
---|
get_AgentCollectionManager, getType, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NormalGestationPeriod_int
public static final java.math.BigDecimal NormalGestationPeriod_BigDecimal
protected transient GENESIS_FemaleCollection _GENESIS_FemaleCollection
public int[] _GenderOfUnborns
public GENESIS_Time _Time_DueToGiveBirth
public java.util.TreeSet<GENESIS_Female.Miscarriage> _Miscarriages
public int _LengthOfFertilityPeriod
public int _StartOfFertiliyPeriod
Constructor Detail |
---|
protected GENESIS_Female(GENESIS_Environment a_GENESIS_Environment, GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager, GENESIS_Age age)
protected GENESIS_Female(GENESIS_Environment a_GENESIS_Environment, GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager, GENESIS_Age age, Household _Household)
protected GENESIS_Female(GENESIS_Environment a_GENESIS_Environment, GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager, GENESIS_Age age, Household _Household, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D)
protected GENESIS_Female(GENESIS_Environment a_GENESIS_Environment, GENESIS_AgentCollectionManager a_GENESIS_AgentCollectionManager, java.io.File _Directory, GENESIS_Age age, Household _Household, uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Point2D _Point2D)
Method Detail |
---|
protected final void init(GENESIS_Environment a_GENESIS_Environment, java.lang.Long _Female_ID, java.lang.Long _FemaleCollection_ID)
public java.lang.String toString()
toString
in class GENESIS_Person
protected java.lang.Long get_Female_ID()
public java.lang.Long get_Agent_ID(boolean handleOutOfMemoryError)
get_Agent_ID
in class GENESIS_Agent
protected GENESIS_AgentCollection get_AgentCollection()
get_AgentCollection
in class GENESIS_Agent
public GENESIS_FemaleCollection get_FemaleCollection(boolean handleOutOfMemoryError)
protected GENESIS_FemaleCollection get_FemaleCollection()
public java.lang.Long get_FemaleCollection_ID(boolean handleOutOfMemoryError)
protected java.lang.Long get_FemaleCollection_ID()
public int get_Gender(boolean handleOutOfMemoryError)
get_Gender
in class GENESIS_Person
protected int get_Gender()
get_Gender
in class GENESIS_Person
public java.lang.Integer getDaysToDueDate()
public boolean set_Pregnant(GENESIS_Fertility a_Fertility, int numberOfDaysUntilDue, boolean handleOutOfMemoryError)
protected boolean set_Pregnant(GENESIS_Fertility a_Fertility, int numberOfDaysUntilDue)
public void set_Pregnant(GENESIS_Fertility a_Fertility, boolean handleOutOfMemoryError)
protected void set_Pregnant(GENESIS_Fertility a_Fertility)
public boolean isPregnant(boolean handleOutOfMemoryError)
protected boolean isPregnant()
public void init_Miscarriages()
public void miscarriage()
public java.lang.Object[] giveBirthSimple(boolean handleOutOfMemoryError)
@Deprecated public GENESIS_Person[] giveBirthSimpleOld(boolean handleOutOfMemoryError)
protected java.lang.Object[] giveBirthSimple()
@Deprecated protected GENESIS_Person[] giveBirthSimpleOld()
@Deprecated public static GENESIS_Female read(long a_Agent_ID, GENESIS_FemaleCollection a_GENESIS_FemaleCollection)
@Deprecated public void write(boolean handleOutOfMemoryError)
write
in class GENESIS_Agent
@Deprecated protected void write()
write
in class GENESIS_Agent
@Deprecated protected java.io.File get_Directory()
get_Directory
in class GENESIS_Agent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |