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 c404c4e commit ebeffbaCopy full SHA for ebeffba
src/dsf/mobility/RoadDynamics.hpp
@@ -191,6 +191,9 @@ namespace dsf::mobility {
191
void resetTurnCounts();
192
193
/// @brief Update the paths of the itineraries based on the given weight function
194
+ /// @param throw_on_empty If true, throws an exception if an itinerary has an empty path (default is true)
195
+ /// If false, removes the itinerary with empty paths and the associated node from the origin/destination nodes
196
+ /// @throws std::runtime_error if throw_on_empty is true and an itinerary has an empty path
197
void updatePaths(bool const throw_on_empty = true);
198
/// @brief Add agents uniformly on the road network
199
/// @param nAgents The number of agents to add
0 commit comments