Class GraphCycleDetector
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.graphql.utils.GraphCycleDetector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<TriplePattern>
determineCyclicConnectors
(Iterable<SGPNode> sgpNodes) Helper function used to call the DFS function for each SgpNodeprotected static boolean
DFS
(SGPNode node, Set<TriplePattern> removeConnectors) DFS algorithm function to determine which connectors are to be removed later
-
Constructor Details
-
GraphCycleDetector
public GraphCycleDetector()
-
-
Method Details
-
determineCyclicConnectors
Helper function used to call the DFS function for each SgpNode -
DFS
DFS algorithm function to determine which connectors are to be removed later
-