Class Organism¶
Defined in File Organism.h
Inheritance Relationships¶
Derived Types¶
public Host
(Class Host)public Symbiont
(Class Symbiont)
Class Documentation¶
-
class
Organism
¶ -
Public Functions
-
Organism
() = default¶
-
~Organism
()¶
-
std::string const
GetName
()¶
-
double
GetIntVal
() const¶
-
double
GetPoints
()¶
-
void
SetIntVal
(double _in)¶
-
void
SetPoints
(double _in)¶
-
void
AddPoints
(double _in)¶
-
void
SetDead
()¶
-
bool
GetDead
()¶
-
void
Process
(emp::WorldPosition location)¶
-
double
GetIncVal
()¶
-
void
SetIncVal
(double _in)¶
-
int
GetAge
()¶
-
void
SetAge
(int _in)¶
-
void
Mutate
()¶
-
void
HorizontalTransmission
(emp::WorldPosition location)¶
-
double
ProcessResources
(double sym_piece)¶
-
bool
IsPhage
()¶
-
bool
WantsToInfect
()¶
-
double
GetInfectionChance
()¶
-
void
SetInfectionChance
(double _in)¶
-
bool
InfectionFails
()¶
-
emp::Ptr<emp::Taxon<int>>
GetTaxon
()¶
-
void
SetTaxon
(emp::Ptr<emp::Taxon<int>> _in)¶
-
double
GetEfficiency
()¶
-
void
SetEfficiency
(double _in)¶
-
void
Mutate
(std::string mode)¶
-
void
SetResInProcess
(double _in)¶
-
double
GetResInProcess
()¶
-
double
StealResources
(double _intval)¶
-
bool
HasSym
()¶
-
bool
IsHost
()¶
-
void
DistribResources
(double resources)¶
-
void
ClearSyms
()¶
-
void
ClearReproSyms
()¶
-
double
ProcessLysogenResources
(double phage_inc_val)¶
-
double
GetBurstTimer
()¶
-
void
IncBurstTimer
()¶
-
void
SetBurstTimer
(double _in)¶
-
double
GetLysisChance
()¶
-
double
GetInductionChance
()¶
-
void
SetLysisChance
(double _in)¶
-
void
SetInductionChance
(double _in)¶
-
void
UponInjection
()¶
-
void
LysisBurst
(emp::WorldPosition location)¶
-
void
LysisStep
()¶
-
bool
GetLysogeny
()¶
-
void
SetPool
(double _in)¶
-
void
AddPool
(double _in)¶
-
void
DistribPool
()¶
-
double
GetDonation
()¶
-
void
SetDonation
(double _in)¶
-
double
ProcessPool
()¶
-