We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aca104e commit 65fc178Copy full SHA for 65fc178
examples/hotelling_law/hotelling_law/model.py
@@ -76,11 +76,12 @@ def __init__(
76
consumer_preferences="default",
77
environment_type="grid",
78
mobility_rate=80,
79
+ seed = None
80
):
81
# Initialize the model with parameters for number of agents,
82
# grid size, mode of operation,environment type,
83
# and mobility rate.
- super().__init__()
84
+ super().__init__(seed=seed)
85
# Total number of store agents in the model.
86
self.num_agents = N_stores
87
# Total number of consumers
0 commit comments