43 std::cout <<
"- Person: Age=" <<
age << std::endl;
virtual int getAge() const
Provides the age of the person.
virtual bool decide(double probability) const
Lets the person make a decision.
virtual ~AGPerson()
Cleans up everything.
AGPerson(int age)
Initialises the class attributes.
virtual void print() const
Puts out a summary of the class properties.
static double rand(SumoRNG *rng=nullptr)
Returns a random real number in [0, 1)