Class CycleChecker
java.lang.Object
org.qubership.atp.dataset.service.jpa.model.dscontext.CycleChecker
Class used for graph cycling check. If we opened node twice, that means this graph is cycled.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CycleChecker
public CycleChecker()
-
-
Method Details
-
openNode
Opens new node. Throws exception if there is cycle. -
closeNode
Closes node. Throws exception if there is cycle.
-