This commit is contained in:
Andras Schmelczer 2026-05-11 21:38:26 +01:00
parent 9248e26af2
commit f2a2651b8a
95 changed files with 3993 additions and 1471 deletions

View file

@ -17,8 +17,7 @@ set -euo pipefail
# - places_ref.parquet: place order reference
#
# Usage:
# ./r5-java/run.sh [--paths] [--demo]
# --paths records journey instructions (transit only, ~20x slower)
# ./r5-java/run.sh [--demo]
# --demo only compute Bank + TCR, transit only (quick test)
# --- Defaults ---
@ -27,7 +26,6 @@ HEAP=40g
NETWORK_DIR=property-data/r5-network
OUTPUT_BASE=property-data/travel-times
R5_DIR=r5-java
PATHS_FLAG=""
DEMO_FLAG=""
# --- Parse args ---
@ -37,7 +35,6 @@ while [[ $# -gt 0 ]]; do
--heap) HEAP="$2"; shift 2 ;;
--network-dir) NETWORK_DIR="$2"; shift 2 ;;
--output-dir) OUTPUT_BASE="$2"; shift 2 ;;
--paths) PATHS_FLAG="--paths"; shift ;;
--demo) DEMO_FLAG="--demo"; shift ;;
*) echo "Unknown: $1"; exit 1 ;;
esac
@ -140,7 +137,7 @@ java -Xms"$HEAP" -Xmx"$HEAP" -cp "$OUT_DIR:$LIB_DIR/*" propertymap.App \
--places property-data/places.parquet \
--output-dir "$OUTPUT_BASE" \
--threads "$THREADS" \
$PATHS_FLAG $DEMO_FLAG
$DEMO_FLAG
echo ""
echo "=== Complete ==="