Package fr.gouv.vitam.common.graph
Class Graph
java.lang.Object
fr.gouv.vitam.common.graph.Graph
Graph contains Directed Acyclic Graph
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Neighbour classstatic enum
state enumclass
Vertex class -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate level stack: the longest path for different roots
-
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
create level stack: the longest path for different roots- Returns:
Map
-