-
Notifications
You must be signed in to change notification settings - Fork 6
Alessandro casanova network #4
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
Open
CasanovaAlessandro
wants to merge
28
commits into
luis-r-izquierdo:main
Choose a base branch
from
mariopaolucci:Alessandro_casanova_network
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Alessandro casanova network #4
CasanovaAlessandro
wants to merge
28
commits into
luis-r-izquierdo:main
from
mariopaolucci:Alessandro_casanova_network
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…velope in class. Updated README.
Co-authored-by: Benedetto Pitò - benedetto.pito@studio.unibo.it <benedetto.pito@studio.unibo.it> Co-authored-by: simonecocca <simonecocca@users.noreply.github.com> Co-authored-by: Nikocioni <Nikocioni@users.noreply.github.com> Co-authored-by: Sonia Compri - sonia.compri@studio.unibo.it <sonia.compri@studio.unibo.it>
This model written in Python using Mesa3 aims to reproduce the model xnx_imitate_if_better.nlogo. The model should work quite well; you can modify the payoff matrix, the revision probability, and the number of agents and steps to obtain different results. In the end, the model should produce a stacked histogram where the model's evolution is visualized.
Od tutorial
This model is a slightly more complex version of the previous one. The main difference is that the payoff matrix is a 5x5, meaning we now have five elements: rock, paper, scissors, lizard, and Spock. The idea is that each element can defeat two of the others and lose to the remaining two, keeping the game interesting and balanced. Scissors cut paper Paper covers rock Rock crushes lizard Lizard poisons Spock Spock smashes scissors Scissors decapitate lizard Lizard eats paper Paper disproves Spock Spock vaporizes rock And as always: Rock crushes scissors
Add files via upload
5x5 imitate if better This model is a slightly more complex version of the previous one. The main difference is that the payoff matrix is a 5x5, meaning we now have five elements: rock, paper, scissors, lizard, and Spock. The idea is that each element can defeat two of the others and lose to the remaining two, keeping the game interesting and balanced. Scissors cut paper Paper covers rock Rock crushes lizard Lizard poisons Spock Spock smashes scissors Scissors decapitate lizard Lizard eats paper Paper disproves Spock Spock vaporizes rock And as always: Rock crushes scissors cretits to the CBS show "The big bang theory" - https://www.youtube.com/watch?v=Z2Dwxv-EMTM
Fatte alcune modifiche estetiche nella presentazione del grafico e aggiustato le labels
5x5 imitate if better
Update nxn_imitate_if_better_Cocca.py
renamed file, got past the network init error.
Ho riscritto tutto il codice rimane qualche modifica da fare per inserire il modello watts e per i grafici, per il resto mi sembra completo
Versione finale del codice per eventuali modifiche
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ecco professore dovrei essere riuscito a caricare il file si chiama NxN Code. Spero riesca a vederlo e a commentare. Grazie