Skip to content

Commit

Permalink
Refactor GtfsReader so that (a-)symmetries are clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
michaz committed Oct 22, 2018
1 parent 38cde05 commit f1077d0
Show file tree
Hide file tree
Showing 5 changed files with 308 additions and 274 deletions.
Expand Up @@ -366,7 +366,7 @@ public static GraphHopperStorage createOrLoad(GHDirectory directory, EncodingMan
t.transfer.min_transfer_time = (int) (t.time / 1000L); t.transfer.min_transfer_time = (int) (t.time / 1000L);
gtfsFeed.transfers.put(t.id, t.transfer); gtfsFeed.transfers.put(t.id, t.transfer);
}); });
gtfsReader.readGraph(); gtfsReader.buildPtNetwork();
} }
graphHopperStorage.flush(); graphHopperStorage.flush();
return graphHopperStorage; return graphHopperStorage;
Expand Down

0 comments on commit f1077d0

Please sign in to comment.