LGTM
This commit is contained in:
parent
a8165249a4
commit
a4103b0896
64 changed files with 5376 additions and 3832 deletions
|
|
@ -21,8 +21,8 @@ set -euo pipefail
|
|||
# --demo only compute Bank + TCR, transit only (quick test)
|
||||
|
||||
# --- Defaults ---
|
||||
THREADS=8
|
||||
HEAP=40g
|
||||
THREADS=12
|
||||
HEAP=48g
|
||||
NETWORK_DIR=property-data/r5-network
|
||||
OUTPUT_BASE=property-data/travel-times
|
||||
R5_DIR=r5-java
|
||||
|
|
|
|||
|
|
@ -35,11 +35,7 @@ public class Router {
|
|||
private static final int DEPARTURE_TO_TIME = 8 * 3600 + 30 * 60; // 08:30
|
||||
private static final int MAX_TRIP_DURATION_MINUTES = 90;
|
||||
|
||||
/**
|
||||
* R5 PathResult throws if destinations > 5000. Chunks must be smaller when recording paths.
|
||||
* Kept well below R5's limit to reduce per-chunk memory (fewer destinations = smaller PathResult).
|
||||
*/
|
||||
private static final int PATH_MAX_DESTINATIONS = 2000;
|
||||
private static final int PATH_MAX_DESTINATIONS = 10000;
|
||||
|
||||
// Percentile indices in R5 result arrays (order must match task.percentiles in buildTask)
|
||||
private static final int PERCENTILE_BEST = 0; // 5th percentile (transit only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue