Skip to content

Commit 17aed42

Browse files
t2grantkalvas
andauthored
Update raptor/src/main/java/org/opentripplanner/raptor/rangeraptor/multicriteria/arrivals/StopsWithArriveByTransitCriteriaResolver.java
Co-authored-by: Teemu Kalvas <teemu.kalvas@s2.org>
1 parent b7a75ae commit 17aed42

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

raptor/src/main/java/org/opentripplanner/raptor/rangeraptor/multicriteria/arrivals/StopsWithArriveByTransitCriteriaResolver.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
/**
1212
* Resolves the set of stops that require the "arrive-by-transit" Pareto criterion in
1313
* multi-criteria Raptor. At these stops, an arrival by transit (on-board) must be tracked
14-
* so that thise are not dominated by on-street arrivals(transfers & access). This is because
15-
* at these stops arriving on-board will give you an advantige - e.g. you must arrive by transit
14+
* so that these are not dominated by on-street arrivals(transfers & access). This is because
15+
* at these stops arriving on-board will give you an advantage - e.g. you must arrive by transit
1616
* to continue using a via-connection, transfer or egress.
1717
*
1818
* <p>A stop is included in the result when at least one of the following holds:
@@ -22,14 +22,14 @@
2222
* The access should not be dominated by a transfer arrival - since using the
2323
* access+transfer might be optimal.
2424
* </li>
25-
* <li><b>Egress witch start on-street(on foot):</b> an egress path leaving the stop on foot
25+
* <li><b>Egress which starts on-street(on foot):</b> an egress path leaving the stop on foot
2626
* can only be used if the stop is reached by transit.</li>
2727
* <li><b>Via transfer:</b> a via-connection departs from the stop as a transfer. Arriving
2828
* at the stop by transit is the only way to use the via-connection; Hence it has an
29-
* advantige over arriving by transfer.</li>
29+
* advantage over arriving by transfer.</li>
3030
* </ol>
3131
*
32-
* For all other stops the Raptor algoritmn with rounds and iteratins take care of this.
32+
* For all other stops the Raptor algorithm with rounds and iterations take care of this.
3333
*
3434
*/
3535
public class StopsWithArriveByTransitCriteriaResolver {

0 commit comments

Comments
 (0)