Class MaximumInducedPath

java.lang.Object
org.graph4j.GraphAlgorithm
org.graph4j.route.MaximumInducedPath

public class MaximumInducedPath extends GraphAlgorithm
Computes the maximum induced path.
Author:
Cristian Frăsinaru
  • Constructor Details

    • MaximumInducedPath

      public MaximumInducedPath(Graph graph)
  • Method Details

    • findPath

      public Path findPath()
      Returns:
      the maximum length induced path.