
org.opentripplanner.graph_builder.issues.GraphConnectivity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
import org.opentripplanner.street.search.TraverseMode;
public record GraphConnectivity(
TraverseMode traverseMode,
long size,
long stopIslands,
long stopIslandsChanged,
long removed,
long restricted,
long nothru
)
implements DataImportIssue {
private static final String FMT =
"%s graph connectivity: found %d islands, %d islands with stops, modified %d islands with stops, removed %d isolated edges, removed traverse mode from %d edges, converted %d edges to no through traffic";
@Override
public String getMessage() {
return String.format(
FMT,
this.traverseMode.toString(),
this.size,
this.stopIslands,
this.stopIslandsChanged,
this.removed,
this.restricted,
this.nothru
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy