NREL / routee-compass

An energy-aware routing engine
https://nrel.github.io/routee-compass/
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

working with transit modeling or different graph layers #184

Open robfitzgerald opened 5 months ago

robfitzgerald commented 5 months ago

in the case of transit modeling,

appending to the graph could take a few forms:

robfitzgerald commented 2 months ago

sketch of a solution...

  1. a TraversalModel can create links, is called during CompassApp::try_from when creating a Graph
  2. a Graph::extend or Graph::merge method which adds vertex + edge data to the graph
  3. ~finally, a TraversalModel::register_graph_update() which takes the tuples and stores whatever information is relevant, which is called for every traversal model~