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