Skip to content

Commit 800d5a3

Browse files
committed
Merges in latest changes in TemporaryVerticesContainer.
1 parent db2ff77 commit 800d5a3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

application/src/ext/java/org/opentripplanner/ext/carpooling/internal/DefaultCarpoolingService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ private ViaCarpoolCandidate evaluateViaRouteForTrip(RouteRequest request, Carpoo
164164
acTempVertices = new TemporaryVerticesContainer(
165165
graph,
166166
vertexLinker,
167+
null,
167168
GenericLocation.fromCoordinate(trip.boardingArea().getLat(), trip.boardingArea().getLon()),
168169
GenericLocation.fromCoordinate(request.from().lat, request.from().lng),
169170
StreetMode.CAR, // We'll route by car for all segments
@@ -178,6 +179,7 @@ private ViaCarpoolCandidate evaluateViaRouteForTrip(RouteRequest request, Carpoo
178179
cdTempVertices = new TemporaryVerticesContainer(
179180
graph,
180181
vertexLinker,
182+
null,
181183
GenericLocation.fromCoordinate(request.from().lat, request.from().lng),
182184
GenericLocation.fromCoordinate(request.to().lat, request.to().lng),
183185
StreetMode.CAR, // We'll route by car for all segments
@@ -192,6 +194,7 @@ private ViaCarpoolCandidate evaluateViaRouteForTrip(RouteRequest request, Carpoo
192194
dbTempVertices = new TemporaryVerticesContainer(
193195
graph,
194196
vertexLinker,
197+
null,
195198
GenericLocation.fromCoordinate(request.to().lat, request.to().lng),
196199
GenericLocation.fromCoordinate(
197200
trip.alightingArea().getLat(),

application/src/ext/java/org/opentripplanner/ext/carpooling/updater/CarpoolSiriMapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ private Duration calculateDriveTimeWithRouting(AreaStop boardingArea, AreaStop a
120120
var tempVertices = new TemporaryVerticesContainer(
121121
graph,
122122
vertexLinker,
123+
null,
123124
GenericLocation.fromCoordinate(boardingArea.getLat(), boardingArea.getLon()),
124125
GenericLocation.fromCoordinate(alightingArea.getLat(), alightingArea.getLon()),
125126
StreetMode.CAR,

0 commit comments

Comments
 (0)