Skip to content

Commit

Permalink
javadoc + make field final
Browse files Browse the repository at this point in the history
  • Loading branch information
tschlenther committed Feb 20, 2024
1 parent aca1145 commit 114cc72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/org/matsim/drt/StartLinkAsDepot.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@
import java.util.Map;
import java.util.stream.Collectors;

/**
* Returns the individual start link of each {@code DvrpVehicle}.
*/
public class StartLinkAsDepot implements DepotFinder {

private Map<DvrpVehicle, Link> vehicleToStartLink;
private final Map<DvrpVehicle, Link> vehicleToStartLink;

public StartLinkAsDepot(Fleet fleet) {
this.vehicleToStartLink = fleet.getVehicles()
Expand Down

0 comments on commit 114cc72

Please sign in to comment.