Skip to content

Commit

Permalink
DOC: NAV-18 - Adjust javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
munterfi committed May 7, 2024
1 parent 608a788 commit 3dfcb05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
* Provides a builder pattern implementation for constructing a {@link GtfsSchedule} instance. This class encapsulates
* the complexity of assembling a GTFS schedule by incrementally adding components such as agencies, stops, routes,
* trips, and calendars. The builder ensures that all components are added in a controlled manner and that the resulting
* schedule is consistent and ready for use.
* schedule is consistent.
*
* <p>Instances of this class should be obtained through the static {@code builder()} method. This class uses
* a private constructor to enforce the use of the builder pattern.</p>
* <p>Instances of this class should be obtained through the static {@code GtfsSchedule.builder()} method. This class
* uses a private constructor to enforce the use of the builder pattern.</p>
*
* @author munterfi
*/
Expand Down Expand Up @@ -141,7 +141,6 @@ public GtfsScheduleBuilder addTransfer(String fromStopId, String toStopId, Trans
throw new IllegalArgumentException("Stop " + toStopId + " does not exist");
}
log.debug("Adding transfer {}-{} of type {} {}", fromStopId, toStopId, transferType, minTransferTime);
// TODO: Handle case when minTransferTime is missing, add transfers.txt to test data.
fromStop.addTransfer(new Transfer(fromStop, toStop, transferType, minTransferTime));
return this;
}
Expand Down
3 changes: 3 additions & 0 deletions src/test/java/ch/naviqore/Benchmark.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
* Benchmark for Raptor routing algorithm.
* <p>
* Measures the time it takes to route a number of requests using Raptor algorithm on large GTFS datasets.
* <p>
* Note: To run this benchmark, ensure that the log level is set to INFO in the
* {@code src/test/resources/log4j2.properties} file.
*
* @author munterfi
*/
Expand Down

0 comments on commit 3dfcb05

Please sign in to comment.