Class Graph

java.lang.Object
fr.gouv.vitam.common.graph.Graph

public class Graph extends Object
Graph contains Directed Acyclic Graph
  • Constructor Details

    • Graph

      public Graph(com.fasterxml.jackson.databind.JsonNode jsonGraph)
      Graph constructor
      Parameters:
      jsonGraph - { "ID027" : { }, "ID028" : { "_up" : [ "ID027" ] }, "ID029" : { "_up" : [ "ID028" ] }}
  • Method Details

    • getGraphWithLongestPaths

      public Map<Integer,Set<String>> getGraphWithLongestPaths()
      create level stack: the longest path for different roots
      Returns:
      Map