From d3cee18635f682b08821b98e0304ea51f506e1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Thu, 20 Oct 2022 14:47:28 +0200 Subject: [PATCH] Add seed to cars example --- examples/events_and_messages/cars.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/events_and_messages/cars.py b/examples/events_and_messages/cars.py index 00e2632..0f819c4 100644 --- a/examples/events_and_messages/cars.py +++ b/examples/events_and_messages/cars.py @@ -232,7 +232,10 @@ class Passenger(Evented, FSM): simulation = Simulation( - name="RideHailing", model_class=City, model_params={"n_passengers": 2} + name="RideHailing", + model_class=City, + model_params={"n_passengers": 2}, + seed="carsSeed", ) if __name__ == "__main__":