Class MispAstarMain

java.lang.Object
org.ddolib.examples.misp.MispAstarMain

public final class MispAstarMain extends Object
The Maximum Independent Set Problem (MISP) with AsTar. Entry point for solving the Maximum Independent Set Problem (MISP) using an A* solver.

This class demonstrates how to configure and run an A* search algorithm for a MISP instance. The model used for the search includes:

The best solutions and search statistics are printed to the standard output.

  • Constructor Details

    • MispAstarMain

      public MispAstarMain()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Main method to execute the A* solver on a MISP instance.

      If no command-line argument is provided, the default instance data/MISP/tadpole_4_2.dot is used.

      Parameters:
      args - optional command-line arguments; args[0] can specify the path to the MISP instance file
      Throws:
      IOException - if there is an error reading the problem instance from the file