Skip to content

Commit

Permalink
STYLE: 158 - Format javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
munterfi committed Jan 4, 2025
1 parent 027e908 commit e293533
Showing 1 changed file with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,21 @@ private void addRoute(GtfsRoutePartitioner.SubRoute subRoute) {

/**
* Processes all types of transfers, ensuring the correct order of precedence:
* <p>
* 1. Additional transfers: These transfers have the lowest priority and are processed first. 2. Parent-child
* derived transfers: If a transfer is defined between two parent stops (e.g., A to B), this method derives
* corresponding transfers for their child stops (e.g., A1, A2, ... to B1, B2, ...). 3. GTFS schedule-defined
* transfers: Transfers explicitly defined in the GTFS schedule (e.g., A1 to B2) take the highest priority and are
* applied last, thereby overwriting transfers previously derived from parent stops.
* <ol>
* <li>
* <b>Additional transfers:</b> These transfers have the lowest priority and are processed first.
* </li>
* <li>
* <b>Parent-child derived transfers:</b> If a transfer is defined between two parent stops
* (e.g., A to B), this method derives corresponding transfers for their child stops
* (e.g., A1, A2, ... to B1, B2, ...).
* </li>
* <li>
* <b>GTFS schedule-defined transfers:</b> Transfers explicitly defined in the GTFS schedule
* (e.g., A1 to B2) take the highest priority. These transfers are applied last,
* overwriting any transfers previously derived from parent stops.
* </li>
* </ol>
* <p>
* The method ensures that all transfers, whether additional, derived, or explicitly defined, are handled in the
* correct priority order.
Expand Down

0 comments on commit e293533

Please sign in to comment.