CityofToronto / bdit_triplinker

Python package to link vehicle-for-hire trips together into driver work shifts
GNU General Public License v3.0
2 stars 0 forks source link

Possible Code Refactoring #2

Open cczhu opened 5 years ago

cczhu commented 5 years ago

Transplanting comments by @candu on the other repo to here.

remaining_nodes = set(G.nodes)
while remaining_nodes:
  current_path = []
  cnode = remaining_nodes.pop()
  # more magic...
cczhu commented 5 years ago

Now that we have OR-Tools and agent modelling in the other repo:

cczhu commented 5 years ago

Will be each of these off to individual small PRs. Updating as needed.

cczhu commented 5 years ago

"Refactor linker..." and "Refactor batched linker" comments partly addressed by #7.