Class YenEdgePartitionPathGenerator


public class YenEdgePartitionPathGenerator
extends EdgePartitionGenerator
YenEdgePartitionPathGenerator generates the Shortest Path for a Directed Graph using the Bellman-Ford Algorithm with the Yen (1970) Edge Partitioning Scheme applied to improve the Worst-Case Behavior. The References are:

  • Bang-Jensen, J., and G. Gutin (2008): Digraphs: Theory, Algorithms, and Applications 2nd Edition Springer
  • Cormen, T., C. E. Leiserson, R. Rivest, and C. Stein (2009): Introduction to Algorithms 3rd Edition MIT Press
  • Kleinberg, J., and E. Tardos (2022): Algorithm Design 2nd Edition Pearson
  • Sedgewick, R. and K. Wayne (2011): Algorithms 4th Edition Addison Wesley
  • Wikipedia (2020): Bellman-Ford Algorithm https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm




Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • YenEdgePartitionPathGenerator

      public YenEdgePartitionPathGenerator​(DirectedGraph graph, boolean shortestPath, FHeuristic fHeuristic) throws java.lang.Exception
      YenEdgePartitionPathGenerator Constructor
      Parameters:
      graph - Graph underlying the Path Generator
      shortestPath - TRUE - Shortest Path Sought
      fHeuristic - F Heuristic
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details