Class TSPTWAStarMain

java.lang.Object
org.ddolib.examples.nolayer.tsptw.TSPTWAStarMain

public final class TSPTWAStarMain extends Object
Main class to solve a Traveling Salesman Problem with Time Windows (TSPTW) instance using the no-layer A* algorithm.
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Entry point of the program. Builds a TSPTW instance and solves it using the A* algorithm.
      Parameters:
      args - optional command-line argument: path to the TSPTW instance file (default: data/TSPTW/AFG/rbg010a.tw)
      Throws:
      IOException - if there is an error reading the instance file