Skip to content

Commit

Permalink
DOC: 158 - Created issue #181 for this TODO, therefore remove it
Browse files Browse the repository at this point in the history
  • Loading branch information
munterfi committed Jan 23, 2025
1 parent cbfa7da commit 3bdc008
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ protected List<Connection> handleInvalidStopException(RaptorAlgorithm.InvalidSto
@Override
protected Connection postprocessConnection(GeoCoordinate source, ch.naviqore.raptor.Connection connection,
GeoCoordinate target) {

// TODO: Merge two walk legs --> walkCalculator?

return switch (timeType) {
case DEPARTURE -> {
// create first mile; this can either be a walk from the last stop in the RAPTOR connection to a coordinate or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ protected List<Connection> handleInvalidStopException(RaptorAlgorithm.InvalidSto
@Override
protected Connection postprocessConnection(GeoCoordinate source, ch.naviqore.raptor.Connection connection,
Stop target) {

// TODO: Merge two walk legs --> walkCalculator?

return switch (timeType) {
case DEPARTURE -> {
LocalDateTime departureTime = connection.getDepartureTime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ protected List<Connection> handleInvalidStopException(RaptorAlgorithm.InvalidSto
@Override
protected Connection postprocessConnection(Stop source, ch.naviqore.raptor.Connection connection,
GeoCoordinate target) {

// TODO: Merge two walk legs --> walkCalculator?

return switch (timeType) {
case DEPARTURE -> {
LocalDateTime arrivalTime = connection.getArrivalTime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ protected Map<Stop, Connection> handleInvalidStopException(RaptorAlgorithm.Inval

@Override
protected Connection postprocessConnection(GeoCoordinate source, ch.naviqore.raptor.Connection connection) {

// TODO: Handle case where firstMile is not null and first leg is a transfer --> use walkCalculator
// TODO: Handle case where lastMile is not null and last leg is a transfer --> use walkCalculator

return switch (timeType) {
case ARRIVAL -> {
Walk lastMile = utils.createLastWalk(source, connection.getToStopId(), connection.getArrivalTime());
Expand Down

0 comments on commit 3bdc008

Please sign in to comment.