Package edu.cmu.tetrad.search.utils
Class GraphInPag
java.lang.Object
edu.cmu.tetrad.search.utils.GraphInPag
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 booleangraphInPagStep0(Graph pag, Graph dag) This method implements step (1) of the definition.static booleangraphInPagStep1(Graph pag, Graph dag) static booleangraphInPagStep2(Graph pag, Graph dag) static booleangraphInPagStep3(Graph pag, Graph dag) static booleangraphInPagStep4(Graph pag, Graph dag) static booleangraphInPagStep5(Graph pag, Graph dag)
-
Constructor Details
-
GraphInPag
public GraphInPag()
-
-
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
-