You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would suggest a python wrapper, all calculations happen in C, python only knows the pointer to the network struct and calls the C functions on the struct pointer.
Functionality:
Network Class with methods:
net.add_node(name, coords)
net.add_route(node_list, trip_list, vehicle_list)
connection or None = net.find_route(nodeA, nodeB, departure, seats) --> check several places at once, e.g. families etc.
net.reserve_connection(connection)
container/vehicle = net.optimize_utilization(trip): Optimizes seat reservations (THE MAGIC IS HERE)
net.export(): Suggestion --> We export the network as MATSim XML public transport network, then it can be used for simulations.
net.import(): Imports MATSim XML public transport network, advantage: already existing networks can be imported.
Visualizations: Plot network, plot utilization per route, plot utilization per vehicle/trip.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: