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 TypeMethodDescriptionbooleanstatic 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- aGraphobjectx- aNodeobjecty- aNodeobjectz- aCollectionobject- Returns:
- a
Listobject
-
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
Graphobject
-
getConditions
Getter for the field
conditions.- Returns:
- a
Setobject
-
getPath
Getter for the field
path.- Returns:
- a
Listobject
-
toString
toString.
-
equals
-