Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

aledorig/BETransitPathfinder

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • Java 23 or higher

Compilation

To compile the project, run the following command in the root directory:

mvn clean compile

Execution

Running the Application

To run the application with Maven:

mvn exec:java -Dexec.mainClass="algo.transit.BETransitPathfinder" -Dexec.args="[arguments]"

Replace [arguments] with the appropriate command-line arguments (see below).

Alternatively, after compiling, you can run the application directly with Java:

java -cp target/classes algo.transit.BETransitPathfindernsitPathfinder [arguments]

Command-Line Arguments

The application requires at least three arguments:

START_STOP END_STOP START_TIME [OPTIONS]
  • START_STOP: The ID of the starting stop (e.g., "SNCB-S8891660")
  • END_STOP: The ID of the destination stop (e.g., "TEC-X615aya")
  • START_TIME: The departure time in HH:MM format (e.g., "10:30")

Optional Arguments

  • --walking-speed <speed>: Set walking speed in meters per minute (default: 80.0)
  • --max-walk-time <time>: Set maximum walking time in minutes (default: 10.0)
  • --forbidden-modes <modes>: Set forbidden transport modes (e.g., BUS, TRAIN)
  • --mode-weights <mode:weight>: Set custom weights for transport modes (e.g., BUS:1.5 TRAIN:0.8)
  • --arrive-by: Find path arriving at specified time, not departing
  • --optimization-goal <goal>: Set optimization goal: time|transfers|walking (default: time)
  • --output-format <format>: Set output format: detailed|summary (default: detailed)
  • --show-stats: Show detailed statistics about the found path
  • --help: Display help message

About

Our year 2 Algorithmics project which consists of pathfinding across the entire Belgian transit network.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.