Skip to content

Commit 0349a59

Browse files
authored
Clarify documentation for via-locations in access/egress
Added clarification to the numberOfViaLocationsVisited method documentation regarding via-locations.
1 parent 20ee5c9 commit 0349a59

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

raptor/src/main/java/org/opentripplanner/raptor/api/model/RaptorAccessEgress.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ default boolean hasTimePenalty() {
128128
* ore more via-locations. If so Raptor needs to know how many via-locations are included
129129
* so it can skip these.
130130
* <p>
131+
* If the access/egress {@code stop} is a via-location then this method should include
132+
* it in the count.
133+
* <p>
131134
* The default is zero via-lcations visited.
132135
*/
133136
default int numberOfViaLocationsVisited() {

0 commit comments

Comments
 (0)