Class Cpc
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag.Cpc
- All Implemented Interfaces:
Algorithm,LatentStructureAlgorithm,ReturnsBootstrapGraphs,TakesCovarianceMatrix,HasKnowledge,HasParameters,TakesIndependenceWrapper,TetradSerializable,Serializable
@Algorithm(name="CPC",
command="cpc",
algoType=forbid_latent_common_causes)
@Deprecated(since="7.9",
forRemoval=false)
@Bootstrapping
public class Cpc
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, TakesIndependenceWrapper, ReturnsBootstrapGraphs, TakesCovarianceMatrix, LatentStructureAlgorithm
Deprecated.
Conservative PC (CPC). This version of PC will orient unshielded colliders by listing all subsets S for unshielded
X--Y--Z, for S subset of adj(X) \ {Z} or adj(Z) \ {X}. It then looks to see whether the facts X _||_ Z | S that test
as true all contain or do not contain Y.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCpc()Deprecated.This class represents the constructor for the Cpc class.Cpc(IndependenceWrapper test) Deprecated.This class represents the constructor for the Cpc class. -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Deprecated.Retrieves the comparison graph for the given true directed graph.Deprecated.Returns the data type that the search requires, whether continuous, discrete, or mixed.Deprecated.Returns a short, one-line description of this algorithm.Deprecated.Retrieves the IndependenceWrapper associated with this object.Deprecated.Retrieves the knowledge associated with this object.Deprecated.Retrieves the list of parameters used in this method.voidDeprecated.Sets the independence wrapper for the algorithm.voidsetKnowledge(Knowledge knowledge) Deprecated.Sets the knowledge associated with this object.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
getBootstrapGraphs, searchMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphs
getBootstrapGraphs
-
Constructor Details
-
Cpc
public Cpc()Deprecated.This class represents the constructor for the Cpc class. It is used to create an instance of the Cpc class. -
Cpc
Deprecated.This class represents the constructor for the Cpc class. It is used to create an instance of the Cpc class.- Parameters:
test- The IndependenceWrapper object.
-
-
Method Details
-
getComparisonGraph
Deprecated.Retrieves the comparison graph for the given true directed graph.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Deprecated.Returns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- This description.
-
getDataType
Deprecated.Returns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- The data type required for the search.
-
getParameters
Deprecated.Retrieves the list of parameters used in this method.- Specified by:
getParametersin interfaceHasParameters- Returns:
- The list of parameters, represented as strings.
-
getKnowledge
Deprecated.Retrieves the knowledge associated with this object.- Specified by:
getKnowledgein interfaceHasKnowledge- Returns:
- The knowledge associated with this object.
-
setKnowledge
Deprecated.Sets the knowledge associated with this object.- Specified by:
setKnowledgein interfaceHasKnowledge- Parameters:
knowledge- the knowledge object to be set
-
getIndependenceWrapper
Deprecated.Retrieves the IndependenceWrapper associated with this object.- Specified by:
getIndependenceWrapperin interfaceTakesIndependenceWrapper- Returns:
- The IndependenceWrapper object.
-
setIndependenceWrapper
Deprecated.Sets the independence wrapper for the algorithm.- Specified by:
setIndependenceWrapperin interfaceTakesIndependenceWrapper- Parameters:
test- the independence wrapper.
-