1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
//there will be many "people" simulated
//actors will interact, interactions will adjust each variable through an equation
/*
the greater the difference between each actors personality variables there is
the greater the mutual adjustment to bring said variable closer to matching
*/
//see http://en.wikipedia.org/wiki/Big_Five_personality_traits
#ifndef ACTOR_H
#define ACTOR_H
#include <stdio.h>
#include <stdlib.h>
#include<time.h>
#include<string>
using namespace std;
class Actor
{
public:
Actor(void);
virtual ~Actor(void);
//(inventive / curious vs. consistent / cautious). Appreciation for art, emotion, adventure,
//unusual ideas, curiosity, and variety of experience.
int GetOpenness(void) { return m_Openness; }
void SetOpenness(int val) { m_Openness = val; }
//(efficient / organized vs. easy-going / careless). A tendency to show self-discipline,
//act dutifully, and aim for achievement; planned rather than spontaneous behavior.
int GetConscientiousness(void) { return m_Conscientiousness; }
void SetConscientiousness(int val) { m_Conscientiousness = val; }
//(outgoing / energetic vs. shy / reserved). Energy, positive emotions, surgency,
//and the tendency to seek stimulation in the company of others.
int GetExtraversion(void) { return m_Extraversion; }
void SetExtraversion(int val) { m_Extraversion = val; }
//(friendly / compassionate vs. cold / unkind). A tendency to be compassionate and
//cooperative rather than suspicious and antagonistic towards others.
int GetAgreeableness() { return m_Agreeableness; }
void SetAgreeableness(int val) { m_Agreeableness = val; }
//(sensitive / nervous vs. secure / confident). A tendency to experience unpleasant emotions
//easily, such as anger, anxiety, depression, or vulnerability.
int GetNeuroticism(void) { return m_Neuroticism; }
void SetNeuroticism(int val) { m_Neuroticism = val; }
//actors will eventually die of old age
int GetAge(void) { return m_Age; }
void SetAge(void);
//male or female
string GetGender(void);
void SetGender(void);
//prefer male companionship or female, relations with like orientation and gender possible
//strait actors may be hostile to gay actors, dependant on other member variables
int GetSex_Orient_(void) { return m_Sex_Orient_; }
void SetSex_Orient_(int val) { m_Sex_Orient_ = val; }
//females in relationships with males may become pregnant, add actor(s) to simulation
bool GetPregnant(void) { return m_Pregnant; }
void SetPregnant(bool val) { m_Pregnant = val; }
//each actor needs an id number to track it
int GetActor_Number(void) { return m_Actor_Number; }
void SetActor_Number(int val) { m_Actor_Number = val; }
protected:
private:
int m_Openness;
int m_Conscientiousness;
int m_Extraversion;
int m_Agreeableness;
int m_Neuroticism;
int m_Age;
int m_Gender;
int m_Sex_Orient_;
bool m_Pregnant;
int m_Actor_Number;
};
#endif // ACTOR_H
|