Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update color pathes #230

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SqueshSvyt
Copy link

This update introduces three new features—random_event, change_opinion, and stubbornness—that enhance the agent opinion dynamics model.

random_event: Adds a low-probability random event to each model step, which, when triggered, invokes change_opinion to influence opinions in a small neighborhood, adding an external influence factor.

**change_opinion:** Changes the opinions of agents within a specified radius around a random grid point, simulating local events affecting nearby agents.

stubbornness: Adds a stubbornness attribute to each agent, representing resistance to changing opinions. Higher values make agents less likely to adopt the majority opinion, adding individuality to agent behavior.

These updates introduce variability, local influence, and diversity in opinion changes, making the model more dynamic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant