Skip to content

Commit

Permalink
Turn random play odds completely off by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Jan 16, 2024
1 parent ee556c6 commit 8337aed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simulatingrisk/hawkdove/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class HawkDoveModel(mesa.Model):
agent_class = HawkDoveAgent
#: supported neighborhood sizes
neighborhood_sizes = {4, 8, 24}
#: minimu risk level
#: minimum risk level
min_risk_level = 0
#: maximum risk level allowed
max_risk_level = 9
Expand All @@ -212,7 +212,7 @@ def __init__(
play_neighborhood=8,
observed_neighborhood=8,
hawk_odds=0.5,
random_play_odds=0.01,
random_play_odds=0.00,
):
super().__init__()
# assume a fully-populated square grid
Expand Down

0 comments on commit 8337aed

Please sign in to comment.