Skip to content

path generator #2

@RafalKucharskiPK

Description

@RafalKucharskiPK

Create a function/module that generates paths from a networkX graph for a given set of ODs and Ds origins and destinations using some method and params .

def generate_paths(G,Os, Ds, attr,params):
      returns paths

input:

  • G - networkX graph
  • Os,Ds - subset of nodes for origins and destinations
  • attr - attribute for which the cost is used (length, travel time, degree or some other function of available attribues on edges

output:

  • paths - we need to think of how to export it, store it and the use it in SUMO.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions