Construct version 5.4.4
An agent based modeling framework
|
Class that adds functions based around the follower network to Social_Media_no_followers::media_user. More...
Public Member Functions | |
virtual bool | follow_user (unsigned int alter_agent_index)=0 |
Returns true if this user decides to follow an agent More... | |
virtual bool | unfollow_user (unsigned int alter_agent_index)=0 |
Returns true if this user decides to unfollow an agent More... | |
virtual bool | respond_to_follow (unsigned int alter_agent_index)=0 |
An alter has decided to follow this user and can decide to reciprocate that following. More... | |
virtual unsigned int | consider_recommendations (void)=0 |
Returns how many agents should be considered to be followed in Social_Media_with_followers::add_followees More... | |
virtual float | get_charisma ()=0 |
Returns the user's charisma or how likable the user is independent of other user attributes. More... | |
Class that adds functions based around the follower network to Social_Media_no_followers::media_user.
This class adds the decision making functions that deal with the follower network. Agents can be asked whether they wish to follow or unfollow an agent. They also state how many recommendations they are willing to view to view as well as their response to another agent following them.
|
pure virtual |
Returns how many agents should be considered to be followed in Social_Media_with_followers::add_followees
Implemented in SM_wf_emotions::default_media_user, and Social_Media_with_followers::default_media_user.
|
pure virtual |
Returns true if this user decides to follow an agent
Implemented in SM_wf_emotions::default_media_user, and Social_Media_with_followers::default_media_user.
|
pure virtual |
Returns the user's charisma or how likable the user is independent of other user attributes.
Implemented in SM_wf_emotions::default_media_user, and Social_Media_with_followers::default_media_user.
|
pure virtual |
An alter has decided to follow this user and can decide to reciprocate that following.
Implemented in SM_wf_emotions::default_media_user, and Social_Media_with_followers::default_media_user.
|
pure virtual |
Returns true if this user decides to unfollow an agent
Implemented in SM_wf_emotions::default_media_user, and Social_Media_with_followers::default_media_user.