Class PGGSymbiont

Inheritance Relationships

Base Type

Class Documentation

class PGGSymbiont : public Symbiont

Public Functions

PGGSymbiont(emp::Ptr<emp::Random> _random, emp::Ptr<PggWorld> _world, emp::Ptr<SymConfigBase> _config, double _intval = 0.0, double _donation = 0.0, double _points = 0.0)
PGGSymbiont(const PGGSymbiont&) = default

Input: #

Output:

Purpose:

PGGSymbiont(PGGSymbiont&&) = default

Input: #

Output:

Purpose:

PGGSymbiont() = default

Input: #

Output:

Purpose:

PGGSymbiont &operator=(const PGGSymbiont&) = default

Input: #

Output:

Purpose:

PGGSymbiont &operator=(PGGSymbiont&&) = default

Input: #

Output:

Purpose:

double GetDonation()

Input: #

Output:

Purpose:

void Setdonation(double _in)

Input: #

Output:

Purpose:

void mutate()

Input: #

Output:

Purpose:

double ProcessPool()

Input: #

Output:

Purpose:

emp::Ptr<Organism> makeNew()

Input: None

Output: The pointer to the newly created organism

Purpose: To produce a new phage, identical to the original

std::string PrintSym(emp::Ptr<PGGSymbiont> org)

Input: #

Output:

Purpose:

Protected Attributes

double Pgg_donate = 0

Purpose: #

emp::Ptr<PggWorld> my_world = NULL

Purpose: Represents the world that the pgg symbionts are living in.