Skip to content

Commit

Permalink
Added defaultBuildConfig() function to r5r core jar. Issue #187
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpsaraiva committed Aug 23, 2021
1 parent 3f93f2f commit 4f8c478
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions java-r5rcore/src/org/ipea/r5r/R5RCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.conveyal.gtfs.model.Service;
import com.conveyal.r5.analyst.Grid;
import com.conveyal.r5.analyst.decay.*;
import com.conveyal.r5.point_to_point.builder.TNBuilderConfig;
import com.conveyal.r5.streets.EdgeStore;
import com.conveyal.r5.streets.EdgeTraversalTimes;
import com.conveyal.r5.transit.TransferFinder;
Expand Down Expand Up @@ -628,8 +629,12 @@ public double[] testDecay(String decayFunctionName, double decayValue) {
return null;
}

}

public String defaultBuildConfig() {
TNBuilderConfig builderConfig = TNBuilderConfig.defaultConfig();

return builderConfig.toString();
}

}
Binary file modified r-package/inst/jar/r5r_0_6_0.jar
Binary file not shown.

0 comments on commit 4f8c478

Please sign in to comment.