Package edu.cmu.tetrad.search.utils
Class PossibleMConnectingPath
java.lang.Object
edu.cmu.tetrad.search.utils.PossibleMConnectingPath
Finds possible d-connecting undirectedPaths for the IonSearch.
Not thread safe.
- Version:
- $Id: $Id
- Author:
- Tyler Gibson
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static List<PossibleMConnectingPath>
findMConnectingPaths
(Graph pag, Node x, Node y, Collection<Node> z) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z.static List<PossibleMConnectingPath>
findMConnectingPathsOfLength
(Graph pag, Node x, Node y, Collection<Node> z, Integer length) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z for a particular path length.Getter for the fieldconditions
.getPag()
Getter for the fieldpag
.getPath()
Getter for the fieldpath
.toString()
toString.
-
Method Details
-
findMConnectingPaths
public static List<PossibleMConnectingPath> findMConnectingPaths(Graph pag, Node x, Node y, Collection<Node> z) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z.- Parameters:
pag
- aGraph
objectx
- aNode
objecty
- aNode
objectz
- aCollection
object- Returns:
- a
List
object
-
findMConnectingPathsOfLength
public static List<PossibleMConnectingPath> findMConnectingPathsOfLength(Graph pag, Node x, Node y, Collection<Node> z, Integer length) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z for a particular path length. -
getPag
Getter for the field
pag
.- Returns:
- a
Graph
object
-
getConditions
Getter for the field
conditions
.- Returns:
- a
Set
object
-
getPath
Getter for the field
path
.- Returns:
- a
List
object
-
toString
toString.
-
equals
-