Package edu.cmu.tetrad.search
Class PagUtils
java.lang.Object
edu.cmu.tetrad.search.PagUtils
This class contains methods which can be used to determine whether a directed graph is in the equivalence class
determined by the given PAG. See p. 300 Def. 12.1.1 of CPS for a specification.
- Author:
- Frank Wimberly
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
graphInPagStep0
(Graph pag, Graph dag) This method implements step (1) of the definition.static boolean
graphInPagStep1
(Graph pag, Graph dag) static boolean
graphInPagStep2
(Graph pag, Graph dag) static boolean
graphInPagStep3
(Graph pag, Graph dag) static boolean
graphInPagStep4
(Graph pag, Graph dag) static boolean
graphInPagStep5
(Graph pag, Graph dag)
-
Constructor Details
-
PagUtils
public PagUtils()
-
-
Method Details
-
graphInPagStep0
This method implements step (1) of the definition.- Returns:
- true if every vertex in gamma is in O.
-
graphInPagStep1
-
graphInPagStep2
-
graphInPagStep3
-
graphInPagStep4
-
graphInPagStep5
-