Class ShortestPathExample


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

      • 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