Class ShortestPathExample

java.lang.Object
com.jgalgo.example.ShortestPathExample

public class ShortestPathExample extends Object
This example demonstrates how to use the single-source shortest path algorithm.
Author:
Barak Ugav
  • Method Details

    • shortestPathExample

      public static void shortestPathExample()
      This example demonstrates how to use the single-source shortest path algorithm.
    • main

      public static void main(String[] args)
      Main function that runs the examples.
      Parameters:
      args - main args