-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- 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.
- Network Class with methods:
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request