File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ int main() {
8282 std::cout << " Streets: " << graph.nEdges () << ' \n ' ;
8383
8484 // Create the dynamics
85- Dynamics dynamics{graph};
85+ Dynamics dynamics{graph, 69 };
8686 dynamics.setMinSpeedRateo (0.95 );
8787 dynamics.setSpeedFluctuationSTD (0.2 );
8888 Itinerary itinerary{0 , 4 };
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace dsm {
1111 public:
1212 // / @brief Construct a new First Order Dynamics object
1313 // / @param graph, The graph representing the network
14- FirstOrderDynamics (Graph& graph, std::optional<unsigned int > seed)
14+ FirstOrderDynamics (Graph& graph, std::optional<unsigned int > seed = std:: nullopt )
1515 : RoadDynamics<delay_t >(graph, seed), m_speedFluctuationSTD{0 .} {};
1616 // / @brief Set the speed of an agent
1717 // / @param agentId The id of the agent
You can’t perform that action at this time.
0 commit comments