Uses of Interface
edu.cmu.tetrad.graph.Graph
Packages that use Graph
Package
Description
-
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm
Methods in edu.cmu.tetrad.algcomparison.algorithm that return GraphModifier and TypeMethodDescriptionAlgorithm.getComparisonGraph
(Graph graph) Returns that graph that the result should be compared to.FirstInflection.getComparisonGraph
(Graph graph) StabilitySelection.getComparisonGraph
(Graph graph) StARS.getComparisonGraph
(Graph graph) Algorithm.search
(DataModel dataSet, Parameters parameters) Runs the search.FirstInflection.search
(DataModel dataSet, Parameters parameters) MultiDataSetAlgorithm.search
(List<DataModel> dataSets, Parameters parameters) Runs the search.StabilitySelection.search
(DataModel dataSet, Parameters parameters) StARS.search
(DataModel dataSet, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm with parameters of type GraphModifier and TypeMethodDescriptionstatic Algorithm
AlgorithmFactory.create
(Class<? extends Algorithm> algoClass, IndependenceWrapper test, ScoreWrapper score, Graph externalGraph) static Algorithm
AlgorithmFactory.create
(Class<? extends Algorithm> algoClass, Class<? extends IndependenceWrapper> indTestClass, Class<? extends ScoreWrapper> scoreClass, Graph externalGraph) Algorithm.getComparisonGraph
(Graph graph) Returns that graph that the result should be compared to.FirstInflection.getComparisonGraph
(Graph graph) StabilitySelection.getComparisonGraph
(Graph graph) StARS.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.cluster
Methods in edu.cmu.tetrad.algcomparison.algorithm.cluster that return GraphModifier and TypeMethodDescriptionBPC.getComparisonGraph
(Graph graph) FOFC.getComparisonGraph
(Graph graph) FTFC.getComparisonGraph
(Graph graph) BPC.search
(DataModel dataSet, Parameters parameters) FOFC.search
(DataModel dataSet, Parameters parameters) FTFC.search
(DataModel dataSet, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.cluster with parameters of type GraphModifier and TypeMethodDescriptionBPC.getComparisonGraph
(Graph graph) FOFC.getComparisonGraph
(Graph graph) FTFC.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.continuous.dag
Methods in edu.cmu.tetrad.algcomparison.algorithm.continuous.dag that return GraphModifier and TypeMethodDescriptionLing.getComparisonGraph
(Graph graph) Lingam.getComparisonGraph
(Graph graph) Ling.search
(DataModel dataSet, Parameters parameters) Lingam.search
(DataModel dataSet, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.continuous.dag with parameters of type GraphModifier and TypeMethodDescriptionLing.getComparisonGraph
(Graph graph) Lingam.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.external
Methods in edu.cmu.tetrad.algcomparison.algorithm.external that return GraphModifier and TypeMethodDescriptionExternalAlgorithmBnlearnMmhc.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmBNTPc.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmIntersection.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmPcalgGes.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmPcalgPc.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmTetrad.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.static Graph
ExternalAlgorithmPcalgPc.loadGraphPcAlgMatrix
(DataSet dataSet) ExternalAlgorithmBnlearnMmhc.search
(DataModel dataSet, Parameters parameters) Reads in the relevant graph from the file (see above) and returns it.ExternalAlgorithmBNTPc.search
(DataModel dataSet, Parameters parameters) Reads in the relevant graph from the file (see above) and returns it.ExternalAlgorithmIntersection.search
(DataModel dataSet, Parameters parameters) Reads in the relevant graph from the file (see above) and returns it.ExternalAlgorithmPcalgGes.search
(DataModel dataSet, Parameters parameters) Reads in the relevant graph from the file (see above) and returns it.ExternalAlgorithmPcalgPc.search
(DataModel dataSet, Parameters parameters) Reads in the relevant graph from the file (see above) and returns it.ExternalAlgorithmTetrad.search
(DataModel dataSet, Parameters parameters) Reads in the relevant graph from the file and returns it.Methods in edu.cmu.tetrad.algcomparison.algorithm.external with parameters of type GraphModifier and TypeMethodDescriptionExternalAlgorithmBnlearnMmhc.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmBNTPc.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmIntersection.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmPcalgGes.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmPcalgPc.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG.ExternalAlgorithmTetrad.getComparisonGraph
(Graph graph) Returns the CPDAG of the supplied DAG. -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.mixed
Methods in edu.cmu.tetrad.algcomparison.algorithm.mixed that return GraphModifier and TypeMethodDescriptionMgm.getComparisonGraph
(Graph graph) Mgm.search
(DataModel ds, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.mixed with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.mixed.cpdag
Methods in edu.cmu.tetrad.algcomparison.algorithm.mixed.cpdag that return GraphModifier and TypeMethodDescriptionMixedFgesDiscretingContinuousVariables.getComparisonGraph
(Graph graph) MixedFgesTreatingDiscreteAsContinuous.getComparisonGraph
(Graph graph) MixedFgesDiscretingContinuousVariables.search
(DataModel dataSet, Parameters parameters) MixedFgesTreatingDiscreteAsContinuous.search
(DataModel Dk, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.mixed.cpdag with parameters of type GraphModifier and TypeMethodDescriptionMixedFgesDiscretingContinuousVariables.getComparisonGraph
(Graph graph) MixedFgesTreatingDiscreteAsContinuous.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.multi
Methods in edu.cmu.tetrad.algcomparison.algorithm.multi that return GraphModifier and TypeMethodDescriptionCcdMaxConcatenated.getComparisonGraph
(Graph graph) FASK.getComparisonGraph
(Graph graph) FaskConcatenated.getComparisonGraph
(Graph graph) FaskVote.getComparisonGraph
(Graph graph) FasLofs.getComparisonGraph
(Graph graph) FasLofsConcatenated.getComparisonGraph
(Graph graph) FgesConcatenated.getComparisonGraph
(Graph graph) Images.getComparisonGraph
(Graph graph) ImagesBDeu.getComparisonGraph
(Graph graph) ImagesPcStableMax.getComparisonGraph
(Graph graph) ImagesSemBic.getComparisonGraph
(Graph graph) MultiFaskV1.getComparisonGraph
(Graph graph) PcStableMaxConcatenated.getComparisonGraph
(Graph graph) CcdMaxConcatenated.search
(DataModel dataSet, Parameters parameters) CcdMaxConcatenated.search
(List<DataModel> dataModels, Parameters parameters) FASK.search
(DataModel dataSet, Parameters parameters) FaskConcatenated.search
(DataModel dataSet, Parameters parameters) FaskConcatenated.search
(List<DataModel> dataSets, Parameters parameters) FaskVote.search
(DataModel dataSet, Parameters parameters) FaskVote.search
(List<DataModel> dataSets, Parameters parameters) FasLofs.search
(DataModel dataSet, Parameters parameters) FasLofsConcatenated.search
(DataModel dataSet, Parameters parameters) FasLofsConcatenated.search
(List<DataModel> dataModels, Parameters parameters) FgesConcatenated.search
(DataModel dataSet, Parameters parameters) FgesConcatenated.search
(List<DataModel> dataModels, Parameters parameters) Images.search
(DataModel dataSet, Parameters parameters) Images.search
(List<DataModel> dataSets, Parameters parameters) ImagesBDeu.search
(DataModel dataSet, Parameters parameters) ImagesBDeu.search
(List<DataModel> dataSets, Parameters parameters) ImagesPcStableMax.search
(DataModel dataSet, Parameters parameters) ImagesPcStableMax.search
(List<DataModel> dataModels, Parameters parameters) ImagesSemBic.search
(DataModel dataSet, Parameters parameters) ImagesSemBic.search
(List<DataModel> dataSets, Parameters parameters) MultiFaskV1.search
(DataModel dataSet, Parameters parameters) MultiFaskV1.search
(List<DataModel> dataSets, Parameters parameters) PcStableMaxConcatenated.search
(DataModel dataSet, Parameters parameters) PcStableMaxConcatenated.search
(List<DataModel> dataModels, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.multi with parameters of type GraphModifier and TypeMethodDescriptionCcdMaxConcatenated.getComparisonGraph
(Graph graph) FASK.getComparisonGraph
(Graph graph) FaskConcatenated.getComparisonGraph
(Graph graph) FaskVote.getComparisonGraph
(Graph graph) FasLofs.getComparisonGraph
(Graph graph) FasLofsConcatenated.getComparisonGraph
(Graph graph) FgesConcatenated.getComparisonGraph
(Graph graph) Images.getComparisonGraph
(Graph graph) ImagesBDeu.getComparisonGraph
(Graph graph) ImagesPcStableMax.getComparisonGraph
(Graph graph) ImagesSemBic.getComparisonGraph
(Graph graph) MultiFaskV1.getComparisonGraph
(Graph graph) PcStableMaxConcatenated.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag
Methods in edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag that return GraphModifier and TypeMethodDescriptionBDCE.getComparisonGraph
(Graph graph) BOSS_MB.getComparisonGraph
(Graph graph) BOSS_MB2.getComparisonGraph
(Graph graph) BOSS.getComparisonGraph
(Graph graph) BRIDGES.getComparisonGraph
(Graph graph) BRIDGES2.getComparisonGraph
(Graph graph) CPC.getComparisonGraph
(Graph graph) CpcStable.getComparisonGraph
(Graph graph) FAS.getComparisonGraph
(Graph graph) Fges.getComparisonGraph
(Graph graph) FgesMb.getComparisonGraph
(Graph graph) FgesMeasurement.getComparisonGraph
(Graph graph) GesMe.getComparisonGraph
(Graph graph) GRaSP.getComparisonGraph
(Graph graph) GRaSPTol.getComparisonGraph
(Graph graph) PC_MB.getComparisonGraph
(Graph graph) PC.getComparisonGraph
(Graph graph) PcAll.getComparisonGraph
(Graph graph) Pcd.getComparisonGraph
(Graph graph) PCMAX.getComparisonGraph
(Graph graph) PcStable.getComparisonGraph
(Graph graph) SingleGraphAlg.getComparisonGraph
(Graph graph) SP.getComparisonGraph
(Graph graph) BDCE.search
(DataModel dataModel, Parameters parameters) BOSS_MB.search
(DataModel dataSet, Parameters parameters) BOSS_MB2.search
(DataModel dataSet, Parameters parameters) BOSS.search
(DataModel dataModel, Parameters parameters) BRIDGES.search
(DataModel dataModel, Parameters parameters) BRIDGES2.search
(DataModel dataModel, Parameters parameters) CPC.search
(DataModel dataModel, Parameters parameters) CpcStable.search
(DataModel dataSet, Parameters parameters) FAS.search
(DataModel dataSet, Parameters parameters) Fges.search
(DataModel dataModel, Parameters parameters) FgesMb.search
(DataModel dataSet, Parameters parameters) FgesMeasurement.search
(DataModel dataModel, Parameters parameters) GesMe.search
(DataModel dataSet, Parameters parameters) GRaSP.search
(DataModel dataModel, Parameters parameters) GRaSPTol.search
(DataModel dataModel, Parameters parameters) PC_MB.search
(DataModel dataSet, Parameters parameters) PC.search
(DataModel dataModel, Parameters parameters) PcAll.search
(DataModel dataSet, Parameters parameters) Pcd.search
(DataModel dataSet, Parameters parameters) PCMAX.search
(DataModel dataModel, Parameters parameters) PcStable.search
(DataModel dataSet, Parameters parameters) SingleGraphAlg.search
(DataModel dataSet, Parameters parameters) SP.search
(DataModel dataModel, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag with parameters of type GraphModifier and TypeMethodDescriptionBDCE.getComparisonGraph
(Graph graph) BOSS_MB.getComparisonGraph
(Graph graph) BOSS_MB2.getComparisonGraph
(Graph graph) BOSS.getComparisonGraph
(Graph graph) BRIDGES.getComparisonGraph
(Graph graph) BRIDGES2.getComparisonGraph
(Graph graph) CPC.getComparisonGraph
(Graph graph) CpcStable.getComparisonGraph
(Graph graph) FAS.getComparisonGraph
(Graph graph) Fges.getComparisonGraph
(Graph graph) FgesMb.getComparisonGraph
(Graph graph) FgesMeasurement.getComparisonGraph
(Graph graph) GesMe.getComparisonGraph
(Graph graph) GRaSP.getComparisonGraph
(Graph graph) GRaSPTol.getComparisonGraph
(Graph graph) PC_MB.getComparisonGraph
(Graph graph) PC.getComparisonGraph
(Graph graph) PcAll.getComparisonGraph
(Graph graph) Pcd.getComparisonGraph
(Graph graph) PCMAX.getComparisonGraph
(Graph graph) PcStable.getComparisonGraph
(Graph graph) SingleGraphAlg.getComparisonGraph
(Graph graph) SP.getComparisonGraph
(Graph graph) void
PC.setExternalGraph
(Graph externalGraph) void
PCMAX.setExternalGraph
(Graph externalGraph) Constructors in edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.oracle.pag
Methods in edu.cmu.tetrad.algcomparison.algorithm.oracle.pag that return GraphModifier and TypeMethodDescriptionBFCI.getComparisonGraph
(Graph graph) BFCITR.getComparisonGraph
(Graph graph) CCD.getComparisonGraph
(Graph graph) CcdMax.getComparisonGraph
(Graph graph) Cfci.getComparisonGraph
(Graph graph) Fci.getComparisonGraph
(Graph graph) FciMax.getComparisonGraph
(Graph graph) GFCI.getComparisonGraph
(Graph graph) GRASP_FCI.getComparisonGraph
(Graph graph) PagSamplingRfci.getComparisonGraph
(Graph graph) Rfci.getComparisonGraph
(Graph graph) RfciBsc.getComparisonGraph
(Graph graph) SPFCI.getComparisonGraph
(Graph graph) SvarFci.getComparisonGraph
(Graph graph) SvarGfci.getComparisonGraph
(Graph graph) BFCI.search
(DataModel dataModel, Parameters parameters) BFCITR.search
(DataModel dataModel, Parameters parameters) CCD.search
(DataModel dataSet, Parameters parameters) CcdMax.search
(DataModel dataSet, Parameters parameters) Cfci.search
(DataModel dataSet, Parameters parameters) Fci.search
(DataModel dataModel, Parameters parameters) FciMax.search
(DataModel dataModel, Parameters parameters) GFCI.search
(DataModel dataModel, Parameters parameters) GRASP_FCI.search
(DataModel dataModel, Parameters parameters) PagSamplingRfci.search
(DataModel dataSet, Parameters parameters) Rfci.search
(DataModel dataModel, Parameters parameters) RfciBsc.search
(DataModel dataSet, Parameters parameters) SPFCI.search
(DataModel dataModel, Parameters parameters) SvarFci.search
(DataModel dataModel, Parameters parameters) SvarGfci.search
(DataModel dataModel, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.oracle.pag with parameters of type GraphModifier and TypeMethodDescriptionBFCI.getComparisonGraph
(Graph graph) BFCITR.getComparisonGraph
(Graph graph) CCD.getComparisonGraph
(Graph graph) CcdMax.getComparisonGraph
(Graph graph) Cfci.getComparisonGraph
(Graph graph) Fci.getComparisonGraph
(Graph graph) FciMax.getComparisonGraph
(Graph graph) GFCI.getComparisonGraph
(Graph graph) GRASP_FCI.getComparisonGraph
(Graph graph) PagSamplingRfci.getComparisonGraph
(Graph graph) Rfci.getComparisonGraph
(Graph graph) RfciBsc.getComparisonGraph
(Graph graph) SPFCI.getComparisonGraph
(Graph graph) SvarFci.getComparisonGraph
(Graph graph) SvarGfci.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.oracle.pattern
Methods in edu.cmu.tetrad.algcomparison.algorithm.oracle.pattern that return GraphModifier and TypeMethodDescriptionCStaR.getComparisonGraph
(Graph graph) CStaR.search
(DataModel dataSet, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.oracle.pattern with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.other
Methods in edu.cmu.tetrad.algcomparison.algorithm.other that return GraphModifier and TypeMethodDescriptionFactorAnalysis.getComparisonGraph
(Graph graph) Glasso.getComparisonGraph
(Graph graph) FactorAnalysis.search
(DataModel ds, Parameters parameters) Glasso.search
(DataModel ds, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.other with parameters of type GraphModifier and TypeMethodDescriptionFactorAnalysis.getComparisonGraph
(Graph graph) Glasso.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.algorithm.pairwise
Methods in edu.cmu.tetrad.algcomparison.algorithm.pairwise that return GraphModifier and TypeMethodDescriptionEB.getComparisonGraph
(Graph graph) FaskPW.getComparisonGraph
(Graph graph) R1.getComparisonGraph
(Graph graph) R2.getComparisonGraph
(Graph graph) R3.getComparisonGraph
(Graph graph) RSkew.getComparisonGraph
(Graph graph) RSkewE.getComparisonGraph
(Graph graph) Skew.getComparisonGraph
(Graph graph) SkewE.getComparisonGraph
(Graph graph) Tanh.getComparisonGraph
(Graph graph) EB.search
(DataModel dataSet, Parameters parameters) FaskPW.search
(DataModel dataModel, Parameters parameters) R1.search
(DataModel dataSet, Parameters parameters) R2.search
(DataModel dataSet, Parameters parameters) R3.search
(DataModel dataSet, Parameters parameters) RSkew.search
(DataModel dataSet, Parameters parameters) RSkewE.search
(DataModel dataSet, Parameters parameters) Skew.search
(DataModel dataSet, Parameters parameters) SkewE.search
(DataModel dataSet, Parameters parameters) Tanh.search
(DataModel dataSet, Parameters parameters) Methods in edu.cmu.tetrad.algcomparison.algorithm.pairwise with parameters of type GraphModifier and TypeMethodDescriptionEB.getComparisonGraph
(Graph graph) FaskPW.getComparisonGraph
(Graph graph) R1.getComparisonGraph
(Graph graph) R2.getComparisonGraph
(Graph graph) R3.getComparisonGraph
(Graph graph) RSkew.getComparisonGraph
(Graph graph) RSkewE.getComparisonGraph
(Graph graph) Skew.getComparisonGraph
(Graph graph) SkewE.getComparisonGraph
(Graph graph) Tanh.getComparisonGraph
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.algcomparison.graph
Methods in edu.cmu.tetrad.algcomparison.graph that return GraphModifier and TypeMethodDescriptionCyclic.createGraph
(Parameters parameters) ErdosRenyi.createGraph
(Parameters parameters) RandomForward.createGraph
(Parameters parameters) RandomGraph.createGraph
(Parameters parameters) RandomSingleFactorMim.createGraph
(Parameters parameters) RandomTwoFactorMim.createGraph
(Parameters parameters) ScaleFree.createGraph
(Parameters parameters) SingleGraph.createGraph
(Parameters parameters) Constructors in edu.cmu.tetrad.algcomparison.graph with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.algcomparison.independence
Methods in edu.cmu.tetrad.algcomparison.independence with parameters of type GraphModifier and TypeMethodDescriptionvoid
void
Constructors in edu.cmu.tetrad.algcomparison.independence with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.algcomparison.score
Methods in edu.cmu.tetrad.algcomparison.score with parameters of type GraphConstructors in edu.cmu.tetrad.algcomparison.score with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.algcomparison.simulation
Methods in edu.cmu.tetrad.algcomparison.simulation that return GraphModifier and TypeMethodDescriptionBayesNetSimulation.getTrueGraph
(int index) BooleanGlassSimulation.getTrueGraph
(int index) ConditionalGaussianSimulation.getTrueGraph
(int index) GeneralSemSimulation.getTrueGraph
(int index) GeneralSemSimulationSpecial1.getTrueGraph
(int index) LeeHastieSimulation.getTrueGraph
(int index) LinearFisherModel.getTrueGraph
(int index) LinearSineSimulation.getTrueGraph
(int index) SemSimulation.getTrueGraph
(int index) SemThenDiscretize.getTrueGraph
(int index) Simulation.getTrueGraph
(int index) StandardizedSemSimulation.getTrueGraph
(int index) TimeSeriesSemSimulation.getTrueGraph
(int index) -
Uses of Graph in edu.cmu.tetrad.algcomparison.statistic
Methods in edu.cmu.tetrad.algcomparison.statistic with parameters of type GraphModifier and TypeMethodDescriptionstatic boolean
CommonAncestorTruePositiveBidirected.existsCommonAncestor
(Graph trueGraph, Edge edge) static boolean
NumCommonMeasuredAncestorBidirected.existsCommonAncestor
(Graph trueGraph, Edge edge) boolean
NumDirectedEdgeNoMeasureAncestors.existsDirectedPathFromTo
(Graph graph, Node node1, Node node2) static boolean
LatentCommonAncestorTruePositiveBidirected.existsLatentCommonAncestor
(Graph trueGraph, Edge edge) double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
CommonAncestorFalseNegativeBidirected.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
CommonAncestorFalsePositiveBidirected.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
CommonMeasuredAncestorRecallBidirected.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
double
double
double
double
double
double
double
double
double
double
double
LatentCommonAncestorFalseNegativeBidirected.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
LatentCommonAncestorFalsePositiveBidirected.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
LatentCommonAncestorTruePositiveBidirected.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
NumCompatibleDefiniteDirectedEdgeAncestors.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
NumCompatibleDirectedEdgeNonAncestors.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
NumCompatiblePossiblyDirectedEdgeAncestors.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
NumCompatiblePossiblyDirectedEdgeNonAncestors.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
double
double
double
double
double
double
double
NumDirectedEdgeBnaMeasuredCounfounded.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
ProportionSemidirectedPathsNotReversedEst.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
ProportionSemidirectedPathsNotReversedTrue.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
double
double
double
Returns the value of this statistic, given the true graph and the estimated graph.double
double
double
double
double
double
double
double
double
double
double
double
TrueDagTruePositiveDirectedPathNonancestor.getValue
(Graph trueGraph, Graph estGraph, DataModel dataModel) double
double
double
double
double
double
-
Uses of Graph in edu.cmu.tetrad.algcomparison.statistic.utils
Constructors in edu.cmu.tetrad.algcomparison.statistic.utils with parameters of type GraphModifierConstructorDescriptionAdjacencyConfusion
(Graph truth, Graph est) ArrowConfusion
(Graph truth, Graph est) ArrowConfusion
(Graph truth, Graph est, boolean truthAdj) BidirectedConfusion
(Graph truth, Graph est) TailConfusion
(Graph truth, Graph est) -
Uses of Graph in edu.cmu.tetrad.bayes
Methods in edu.cmu.tetrad.bayes that return GraphModifier and TypeMethodDescriptionBayesIm.getDag()
BayesPm.getDag()
DirichletBayesIm.getDag()
MlBayesIm.getDag()
MlBayesImObs.getDag()
UpdatedBayesIm.getDag()
ApproximateUpdater.getManipulatedGraph()
CptInvariantUpdater.getManipulatedGraph()
Identifiability.getManipulatedGraph()
JunctionTreeUpdater.getManipulatedGraph()
ManipulatingBayesUpdater.getManipulatedGraph()
RowSummingExactUpdater.getManipulatedGraph()
static Graph
Create a moral graph.Methods in edu.cmu.tetrad.bayes that return types with arguments of type GraphModifier and TypeMethodDescriptionThis method takes an acyclic graph as input and returns a list of graphs each of which is a modification of the original graph with either an edge deleted, added or reversed.Methods in edu.cmu.tetrad.bayes with parameters of type GraphModifier and TypeMethodDescriptionstatic void
Apply Tarjan and Yannakakis (1984) fill in algorithm for graph triangulation.This method takes an acyclic graph as input and returns a list of graphs each of which is a modification of the original graph with either an edge deleted, added or reversed.GraphTools.getCliques
(Node[] ordering, Graph graph) Get cliques in a decomposable graph.BayesProperties.getLikelihoodRatioP
(Graph graph) Calculates the p-value of the graph with respect to the given data.static Node[]
GraphTools.getMaximumCardinalityOrdering
(Graph graph) Perform Tarjan and Yannakakis (1984) maximum cardinality search (MCS) to get the maximum cardinality ordering.static Graph
Create a moral graph.void
Constructors in edu.cmu.tetrad.bayes with parameters of type GraphModifierConstructorDescriptionConstruct a new BayesPm using the given DAG, assigning each variable two values named "value1" and "value2" unless nodes are discrete variables with categories already defined.Constructs a new BayesPm from the given DAG, assigning each variable a random number of values betweenlowerBound
andupperBound
.Constructs a new BayesPm using a given DAG, using as much information from the old BayesPm as possible.Constructs a new BayesPm from the given DAG, using as much information from the old BayesPm as possible.EmBayesProperties
(DataSet dataSet, Graph graph) JunctionTreeAlgorithm
(Graph graph, DataModel dataModel) -
Uses of Graph in edu.cmu.tetrad.calibration
Methods in edu.cmu.tetrad.calibration that return GraphModifier and TypeMethodDescriptionDataForCalibration_RFCI.learnBNRFCI
(DataSet bootstrapSample, int depth, Graph truePag) DataForCalibration_RFCI.makeDAG
(int numVars, double edgesPerNode, int numLatentConfounders) Methods in edu.cmu.tetrad.calibration with parameters of type GraphModifier and TypeMethodDescriptionDataForCalibration_RFCI.learnBNRFCI
(DataSet bootstrapSample, int depth, Graph truePag) -
Uses of Graph in edu.cmu.tetrad.data
Methods in edu.cmu.tetrad.data that return GraphModifier and TypeMethodDescriptionKnowledgeBoxInput.getResultGraph()
KnowledgeBoxInput.getSourceGraph()
static Graph
DataGraphUtils.randomBifactorModel
(int numStructuralNodes, int numStructuralEdges, int numMeasurementsPerLatent, int numLatentMeasuredImpureParents, int numMeasuredMeasuredImpureParents, int numMeasuredMeasuredImpureAssociations) First a random single factor model is created with the specified number of latent nodes and latent edges, and impurity structure.static Graph
DataGraphUtils.randomMim
(Graph graph, int numMeasurementsPerLatent, int numLatentMeasuredImpureParents, int numMeasuredMeasuredImpureParents, int numMeasuredMeasuredImpureAssociations, boolean arrangeGraph) static Graph
DataGraphUtils.randomSingleFactorModel
(int numStructuralNodes, int numStructuralEdges, int numMeasurementsPerLatent, int numLatentMeasuredImpureParents, int numMeasuredMeasuredImpureParents, int numMeasuredMeasuredImpureAssociations) Methods in edu.cmu.tetrad.data with parameters of type GraphModifier and TypeMethodDescriptionboolean
Knowledge.isViolatedBy
(Graph graph) static Graph
DataGraphUtils.randomMim
(Graph graph, int numMeasurementsPerLatent, int numLatentMeasuredImpureParents, int numMeasuredMeasuredImpureParents, int numMeasuredMeasuredImpureAssociations, boolean arrangeGraph) Constructors in edu.cmu.tetrad.data with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.data.simulation
Methods in edu.cmu.tetrad.data.simulation that return GraphModifier and TypeMethodDescriptionLoadContinuousDataAndGraphs.getTrueGraph
(int index) LoadContinuousDataAndSingleGraph.getTrueGraph
(int index) LoadContinuousDataSmithSim.getTrueGraph
(int index) LoadDataAndGraphs.getTrueGraph
(int index) LoadDataFromFileWithoutGraph.getTrueGraph
(int index) -
Uses of Graph in edu.cmu.tetrad.graph
Classes in edu.cmu.tetrad.graph that implement GraphModifier and TypeClassDescriptionfinal class
Represents a directed acyclic graph--that is, a graph containing only directed edges, with no cycles.class
Stores a graph a list of lists of edges adjacent to each node in the graph, with an additional list storing all of the edges in the graph.class
Implements a graph allowing nodes in the getModel time lag to have parents taken from previous time lags.final class
Represents the graphical structure of a structural equation model.class
Represents a time series graph--that is, a graph with a fixed number S of lags, with edges into initial lags only--that is, into nodes in the first R lags, for some R.Methods in edu.cmu.tetrad.graph that return GraphModifier and TypeMethodDescriptionstatic Graph
GraphUtils.bidirectedToUndirected
(Graph graph) static Graph
GraphUtils.completeGraph
(Graph graph) static Graph
Converts a string spec of a graph--for example, "X1-->X2, X1---X3, X2o->X4, X3<->X4" to a Graph.static Graph
GraphUtils.emptyGraph
(int numNodes) static Graph
GraphUtils.getComparisonGraph
(Graph graph, Parameters params) RandomGraph.UniformGraphGenerator.getDag()
GraphGroup.getGraph
(int g) Gets a graph at a specific indexstatic Graph
static Graph
GraphPersistence.loadGraphBNTPcMatrix
(List<Node> vars, DataSet dataSet) static Graph
GraphPersistence.loadGraphJson
(File file) static Graph
GraphPersistence.loadGraphPcalg
(File file) static Graph
GraphPersistence.loadGraphRuben
(File file) static Graph
GraphPersistence.loadGraphTxt
(File file) static Graph
GraphPersistence.loadRSpecial
(File file) static Graph
GraphUtils.markovBlanketDag
(Node target, Graph dag) Calculates the Markov blanket of a target in a DAG.static Graph
GraphPersistence.parseGraphXml
(nu.xom.Element graphElement, Map<String, Node> nodes) static Graph
RandomGraph.randomCyclicGraph2
(int numNodes, int numEdges, int maxDegree) Makes a cyclic graph by repeatedly adding cycles of length of 3, 4, or 5 to the graph, then finally adding two cycles.static Graph
RandomGraph.randomCyclicGraph3
(int numNodes, int numEdges, int maxDegree, double probCycle, double probTwoCycle) Makes a cyclic graph by repeatedly adding cycles of length of 3, 4, or 5 to the graph, then finally adding two cycles.static Graph
RandomGraph.randomDag
(int numNodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) static Graph
RandomGraph.randomGraph
(int numNodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) static Graph
RandomGraph.randomGraph
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) Defaults to random forward graphs.static Graph
RandomGraph.randomGraphRandomForwardEdges
(int numNodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) static Graph
RandomGraph.randomGraphRandomForwardEdges
(List<Node> nodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) static Graph
RandomGraph.randomGraphRandomForwardEdges
(List<Node> nodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected, boolean layoutAsCircle) static Graph
RandomGraph.randomGraphUniform
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected, int numIterations) static Graph
RandomGraph.randomScaleFreeGraph
(int numNodes, int numLatentConfounders, double alpha, double beta, double delta_in, double delta_out) static Graph
GraphPersistence.readerToGraphJson
(Reader reader) static Graph
GraphPersistence.readerToGraphRuben
(Reader reader) static Graph
GraphPersistence.readerToGraphTxt
(Reader reader) static Graph
GraphPersistence.readerToGraphTxt
(String graphString) static Graph
GraphUtils.removeBidirectedEdges
(Graph estCpdag) static Graph
GraphUtils.removeBidirectedOrientations
(Graph estCpdag) static Graph
GraphUtils.replaceNodes
(Graph originalGraph, List<Node> newVariables) Converts the given graph,originalGraph
, to use the new variables (with the same names as the old).static Graph
GraphUtils.restrictToMeasured
(Graph graph) Constructs and returns a subgraph consisting of a given subset of the nodes of this graph together with the edges between them.static Graph
GraphUtils.undirectedGraph
(Graph graph) static Graph
GraphUtils.undirectedToBidirected
(Graph graph) Methods in edu.cmu.tetrad.graph with parameters of type GraphModifier and TypeMethodDescriptionstatic void
GraphUtils.addForbiddenReverseEdgesForDirectedEdges
(Graph graph, Knowledge knowledge) void
Adds a graph to the class.static void
GraphUtils.addPagColoring
(Graph graph) static void
RandomGraph.addTwoCycles
(Graph graph, int numTwoCycles) GraphUtils.adjacenciesComplement
(Graph graph1, Graph graph2) static boolean
GraphUtils.allAdjacenciesAreDirected
(Node node, Graph graph) boolean
Triple.alongPathIn
(Graph graph) static void
LayoutUtil.arrangeByLayout
(Graph graph, HashMap<String, PointXy> layout) static boolean
LayoutUtil.arrangeBySourceGraph
(Graph resultGraph, Graph sourceGraph) Arranges the nodes in the result graph according to their positions in the source graph.static Graph
GraphUtils.bidirectedToUndirected
(Graph graph) static void
LayoutUtil.circleLayout
(Graph graph, int centerx, int centery, int radius) Arranges the nodes in the graph in a circle.static Graph
GraphUtils.completeGraph
(Graph graph) static boolean
GraphUtils.containsBidirectedEdge
(Graph graph) static nu.xom.Element
GraphPersistence.convertToXml
(Graph graph) static int
GraphUtils.countAdjErrors
(Graph graph1, Graph graph2) Counts the adjacencies that are in graph1 but not in graph2.static int
GraphUtils.countArrowptErrors
(Graph graph1, Graph graph2) Counts the arrowpoints that are in graph1 but not in graph2.static int
static int[][]
GraphUtils.edgeMisclassificationCounts
(Graph leftGraph, Graph topGraph, boolean print) static String
MisclassificationUtils.edgeMisclassifications
(Graph estGraph, Graph refGraph) static String
MisclassificationUtils.endpointMisclassification
(Graph estGraph, Graph refGraph) static void
RandomGraph.fixLatents1
(int numLatentConfounders, Graph graph) static void
RandomGraph.fixLatents4
(int numLatentConfounders, Graph graph) static void
LayoutUtil.fruchtermanReingoldLayout
(Graph graph) GraphUtils.getAmbiguousTriplesFromGraph
(Node node, Graph graph) static Node
GraphUtils.getAssociatedNode
(Node errorNode, Graph graph) GraphPersistence.getCollidersFromGraph
(Node node, Graph graph) static Graph
GraphUtils.getComparisonGraph
(Graph graph, Parameters params) static int
GraphUtils.getDottedUnderlinedTriplesFromGraph
(Node node, Graph graph) static int
GraphUtils.getIndegree
(Graph graph) GraphUtils.getNoncollidersFromGraph
(Node node, Graph graph) static int
GraphUtils.getNumCorrectArrowpts
(Graph correct, Graph estimated) static GraphUtils.TwoCycleErrors
GraphUtils.getTwoCycleErrors
(Graph trueGraph, Graph estGraph) GraphUtils.getUnderlinedTriplesFromGraph
(Node node, Graph graph) static void
GraphUtils.gfciExtraEdgeRemovalStep
(Graph graph, Graph referenceCpdag, List<Node> nodes, SepsetProducer sepsets) The extra edge removal step for GFCI.static String
GraphUtils.graphAttributesToText
(Graph graph, String title) static String
GraphUtils.graphEdgesToText
(Graph graph, String title) static String
GraphUtils.graphNodeAttributesToText
(Graph graph, String title, char delimiter) static String
GraphUtils.graphNodesToText
(Graph graph, String title, char delimiter) static String
GraphPersistence.graphRMatrixTxt
(Graph graph) static String
GraphPersistence.graphToDot
(Graph graph) Converts a graph to a Graphviz .dot filestatic void
GraphPersistence.graphToDot
(Graph graph, File file) static String
GraphPersistence.graphToPcalg
(Graph g) static String
GraphUtils.graphToText
(Graph graph, boolean doPagColoring) static String
GraphPersistence.graphToXml
(Graph graph) static boolean
GraphUtils.isClique
(Collection<Node> set, Graph graph) static boolean
boolean
Check to see if a set of variables Z satisfies the back-door criterion relative to node x and node y.static void
LayoutUtil.kamadaKawaiLayout
(Graph graph, boolean randomlyInitialized, double naturalEdgeLength, double springConstant, double stopEnergy) static LinkedList<Triple>
GraphUtils.listColliderTriples
(Graph graph) static String
GraphPersistence.loadGraphRMatrix
(Graph graph) static Graph
GraphUtils.markovBlanketDag
(Node target, Graph dag) Calculates the Markov blanket of a target in a DAG.GraphUtils.maximalCliques
(Graph graph, List<Node> nodes) static int
GraphUtils.numBidirected
(Graph result) static int
GraphUtils.numDirectionalErrors
(Graph result, Graph cpdag) static String
GraphUtils.pathString
(Graph graph, Node... x) static String
GraphUtils.pathString
(Graph graph, List<Node> path) static String
Triple.pathString
(Graph graph, Node x, Node y, Node z) static Graph
GraphUtils.removeBidirectedEdges
(Graph estCpdag) static Graph
GraphUtils.removeBidirectedOrientations
(Graph estCpdag) static void
GraphUtils.removeNonSkeletonEdges
(Graph graph, Knowledge knowledge) static Graph
GraphUtils.replaceNodes
(Graph originalGraph, List<Node> newVariables) Converts the given graph,originalGraph
, to use the new variables (with the same names as the old).GraphUtils.replaceNodes
(List<Node> originalNodes, Graph graph) Converts the given list of nodes,originalNodes
, to use the replacement nodes for them by the same name in the givengraph
.static Graph
GraphUtils.restrictToMeasured
(Graph graph) static void
GraphUtils.retainUnshieldedColliders
(Graph graph, Knowledge knowledge) Retains only the unshielded colliders of the given graph.static PrintWriter
void
Dag.transferAttributes
(Graph graph) void
EdgeListGraph.transferAttributes
(Graph graph) void
Graph.transferAttributes
(Graph graph) void
LagGraph.transferAttributes
(Graph graph) void
SemGraph.transferAttributes
(Graph graph) void
TimeLagGraph.transferAttributes
(Graph graph) void
Dag.transferNodesAndEdges
(Graph graph) void
EdgeListGraph.transferNodesAndEdges
(Graph graph) Transfers nodes and edges from one graph to another.void
Graph.transferNodesAndEdges
(Graph graph) Transfers nodes and edges from one graph to another.void
LagGraph.transferNodesAndEdges
(Graph graph) void
SemGraph.transferNodesAndEdges
(Graph graph) void
TimeLagGraph.transferNodesAndEdges
(Graph graph) static Graph
GraphUtils.undirectedGraph
(Graph graph) static Graph
GraphUtils.undirectedToBidirected
(Graph graph) Method parameters in edu.cmu.tetrad.graph with type arguments of type GraphModifier and TypeMethodDescriptionstatic String
GraphUtils.getIntersectionComparisonString
(List<Graph> graphs) Constructors in edu.cmu.tetrad.graph with parameters of type GraphModifierConstructorDescriptionConstructs a new directed acyclic graph from the given graph object.EdgeListGraph
(Graph graph) Constructs a EdgeListGraph using the nodes and edges of the given graph.FruchtermanReingoldLayout
(Graph graph) KamadaKawaiLayout
(Graph graph) Constructs a new SemGraph from the nodes and edges of the given graph.Underlines
(Graph graph) -
Uses of Graph in edu.cmu.tetrad.performance
Methods in edu.cmu.tetrad.performance that return GraphModifier and TypeMethodDescriptionComparisonResult.getCorrectResult()
ComparisonResult.getResultGraph()
ComparisonResult.getTrueDag()
Methods in edu.cmu.tetrad.performance with parameters of type GraphModifier and TypeMethodDescriptionstatic String
PerformanceTests.endpointMisclassification
(List<Node> _nodes, Graph estGraph, Graph refGraph) static Knowledge
Comparison2.getKnowledge
(Graph graph) void
ComparisonResult.setCorrectResult
(Graph correctResult) void
ComparisonResult.setResultGraph
(Graph graph) void
ComparisonResult.setTrueDag
(Graph trueDag) -
Uses of Graph in edu.cmu.tetrad.regression
Methods in edu.cmu.tetrad.regression that return GraphModifier and TypeMethodDescriptionRegression.getGraph()
RegressionCovariance.getGraph()
RegressionDataset.getGraph()
Methods in edu.cmu.tetrad.regression with parameters of type Graph -
Uses of Graph in edu.cmu.tetrad.search
Methods in edu.cmu.tetrad.search that return GraphModifier and TypeMethodDescriptionOutputs a new PAG, a copy of the input excepting the applied changes of this object.DagToPag.convert()
TsDagToPag.convert()
static Graph
ClusterUtils.convertSearchGraph
(List<int[]> clusters, String[] varNames) static Graph
Purify.convertSearchGraph
(SemGraph input) static Graph
SearchGraphUtils.cpdagForDag
(Graph dag) static Graph
SearchGraphUtils.cpdagFromDag
(Graph dag) static Graph
SearchGraphUtils.dagFromCPDAG
(Graph graph) static Graph
SearchGraphUtils.dagFromCPDAG
(Graph graph, Knowledge knowledge) static @NotNull Graph
TeyssierScorer.findCompelled()
Bridges.getAdjacencies()
Bridges2.getAdjacencies()
FgesMb.getAdjacencies()
FgesOrienter.getAdjacencies()
TsFges2.getAdjacencies()
TimeSeriesUtils.VarResult.getCollapsedVarGraph()
DagSepsets.getDag()
GraphScore.getDag()
SepsetsGreedy.getDag()
SepsetsGreedy2.getDag()
FgesMb.getexternalGraph()
Cpc.getExternalGraph()
Fask.getExternalGraph()
FgesOrienter.getExternalGraph()
MultiFaskV1.getExternalGraph()
TsFges2.getExternalGraph()
Mimbuild.getFullGraph()
MimbuildTrek.getFullGraph()
@NotNull Graph
BossMB.getGraph()
BossOrig.getGraph
(boolean cpDag) Cefs.getGraph()
Cpc.getGraph()
The graph that's constructed during the search.CpcStable.getGraph()
The graph that's constructed during the search.GraphWithParameters.getGraph()
@NotNull Graph
Grasp.getGraph
(boolean cpDag) @NotNull Graph
GraspTol.getGraph
(boolean cpDag) HbmsBeam.getGraph()
HbsmsGes.getGraph()
HbsmsGes.GraphWithPValue.getGraph()
IndTestDSep.getGraph()
Ling.StoredGraphs.getGraph
(int g) @NotNull Graph
OtherPermAlgs.getGraph
(boolean cpDag) PcAll.getGraph()
The graph that's constructed during the search.PcMb.getGraph()
static Graph
static Graph
PermutationSearch.getGraph
(List<Node> nodes, Map<Node, Set<Node>> parents, Knowledge knowledge, boolean cpDag) SampleVcpc.getGraph()
The graph that's constructed during the search.SampleVcpcFast.getGraph()
The graph that's constructed during the search.ScoredGraph.getGraph()
TeyssierScorer.getGraph
(boolean cpDag) Returns the DAG build for the current permutation, or its CPDAG.TeyssierScorer2.getGraph
(boolean cpDag) Returns the DAG build for the current permutation, or its CPDAG.TeyssierScorerExperimental.getGraph
(boolean cpDag) TeyssierScorerOpt.getGraph
(boolean cpDag) Returns the DAG build for the current permutation, or its CPDAG.Vcpc.getGraph()
The graph that's constructed during the search.VcpcAlt.getGraph()
The graph that's constructed during the search.VcpcFast.getGraph()
The graph that's constructed during the search.MagSemBicScore.getMag()
static Graph
MbUtils.getOneMbDag
(Graph mbCPDAG) PossibleDConnectingPath.getPag()
DagToPag.getTruePag()
FciOrient.getTruePag()
The true PAG if available.SvarFciOrient.getTruePag()
The true PAG if available.TsDagToPag.getTruePag()
DMSearch.LatentStructure.latentStructToEdgeListGraph
(DMSearch.LatentStructure structure) Cstar.makeGraph
(List<Cstar.Record> records) Makes a graph of the estimated predictors to the effect.RBExperiments.makeSimpleDAG
(int numLatentConfounders) DagInCPDAGIterator.next()
Successive calls to this method return successive DAGs in the CPDAG, in a more or less natural enumeration of them in which an arbitrary undirected edge is picked, oriented one way, Meek rules applied, then a remaining unoriented edge is picked, oriented one way, and so on, until a DAG is obtained, and then by backtracking the other orientation of each chosen edge is tried.DagIterator.next()
Successive calls to this method return successive DAGs in the CPDAG, in a more or less natural enumeration of them in which an arbitrary undirected edge is picked, oriented one way, Meek rules applied, then a remaining unoriented edge is picked, oriented one way, and so on, until a DAG is obtained, and then by backtracking the other orientation of each chosen edge is tried.Lofs.orient()
Lofs2.orient()
TimeSeriesLagSearch.orientationForGraph
(Dag trueGraph) Orients the given graph using CPC orientation with the conditional independence test provided in the constructor.static Graph
HbmsBeam.removeZeroEdges
(Graph bestGraph) Cefs.resultGraph()
PcMb.resultGraph()
Bdce.search()
BFci.search()
BfciFoo.search()
BfciTr.search()
Prints local graphs for all variables and returns the one of them.BpcTetradPurifyWashdown.search()
Bridges.search()
Bridges2.search()
BridgesOld.search()
BuildPureClusters.search()
Ccd.search()
The search method assumes that the IndependenceTest provided to the constructor is a conditional independence oracle for the SEM (or Bayes network) which describes the causal structure of the population.CcdMax.search()
Searches for the MB CPDAG for the given target.Cfci.search()
Cpc.search()
Runs PC starting with a fully connected graph over all of the variables in the domain of the independence test.CpcStable.search()
Runs PC starting with a fully connected graph over all of the variables in the domain of the independence test.DMSearch.search()
Fas.search()
Discovers all adjacencies in data.FasConcurrent.search()
Discovers all adjacencies in data.FasDeterministic.search()
Discovers all adjacencies in data.FasFdr.search()
Discovers all adjacencies in data.Fask.search()
Runs the search on the concatenated data, returning a graph, possibly cyclic, possibly with two-cycles.FaskVote.search
(Parameters parameters) FasLofs.search()
Runs the search on the concatenated data, returning a graph, possibly cyclic, possibly with two-cycles.FasStableConcurrentFdr.search()
Discovers all adjacencies in data.Fasts.search()
Discovers all adjacencies in data.Fci.search()
FciMax.search()
Fges.search()
Greedy equivalence search: Start from the empty graph, add edges till model is significant.Greedy equivalence search: Start from the empty graph, add edges till model is significant.FgesOrienter.search()
Greedy equivalence search: Start from the empty graph, add edges till model is significant.FindOneFactorClusters.search()
FindTwoFactorClusters.search()
GFci.search()
GraphSearch.search()
GraspFci.search()
HbmsBeam.search()
Hbsms.search()
HbsmsGes.search()
IFas.search()
InverseCorrelation.search()
Kpc.search()
Runs PC starting with a complete graph over all nodes of the given conditional independence test, using the given independence test and knowledge and returns the resultant graph.Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.LingamPattern.search()
LingamPattern2.search()
Mimbuild.search
(List<List<Node>> clustering, List<String> latentNames, ICovarianceMatrix measuresCov) MimbuildTrek.search
(List<List<Node>> clustering, List<String> latentNames, ICovarianceMatrix measuresCov) MultiFaskV1.search()
Pc.search()
Runs PC starting with a complete graph over all nodes of the given conditional independence test, using the given independence test and knowledge and returns the resultant graph.Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.PcAll.search()
Pcd.search()
Runs PC starting with a complete graph over all nodes of the given conditional independence test, using the given independence test and knowledge and returns the resultant graph.Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.PcLocal.search()
Runs PC starting with a fully connected graph over all of the variables in the domain of the independence test.PcMax.search()
Runs PC starting with a complete graph over all nodes of the given conditional independence test, using the given independence test and knowledge and returns the resultant graph.Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.PcMb.search()
Does a CPDAG search.Searches for the MB CPDAG for the given targets.PcStable.search()
Runs PC starting with a complete graph over all nodes of the given conditional independence test, using the given independence test and knowledge and returns the resultant graph.Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.PcStableMax.search()
Runs PC search, returning the output CPDAG.Runs PC search, returning the output CPDAG, over the given nodes.PermutationSearch.search()
Purify.search()
****************************************************** SEARCH INTERFACE *******************************************************Rfci.search()
SampleVcpc.search()
SampleVcpcFast.search()
SpFci.search()
SvarFci.search()
SvarGFci.search()
TimeSeriesLagSearch.search()
Runs PC starting with a fully connected graph over all of the variables in the domain of the independence test.Runs PC on just the given variable, all of which must be in the domain of the independence test.TsFges2.search()
Greedy equivalence search: Start from the empty graph, add edges till model is significant.Vcfas.search()
Discovers all adjacencies in data.Vcpc.search()
VcpcAlt.search()
VcpcFast.search()
Washdown.search()
Methods in edu.cmu.tetrad.search that return types with arguments of type GraphModifier and TypeMethodDescriptionSearchGraphUtils.generateCpdagDags
(Graph cpdag, boolean orientBidirectedEdges) Generates the list of DAGs in the given cpdag.MbUtils.generateMbDags
(Graph mbCPDAG, boolean orientBidirectedEdges, IndependenceTest test, int depth, Node target) Generates the list of MB DAGs consistent with the MB CPDAG returned by the previous search.SearchGraphUtils.getAllGraphsByDirectingUndirectedEdges
(Graph skeleton) SearchGraphUtils.getDagsInCpdagMeek
(Graph cpdag, Knowledge knowledge) BossMB2.getGraphs()
Dci.search()
Begins the DCI search procedure, described at each stepIon.search()
Begins the ION search procedure, described at each stepIon2.search()
Begins the ION search procedure, described at each stepMethods in edu.cmu.tetrad.search with parameters of type GraphModifier and TypeMethodDescriptionvoid
Gives a method for adding classes to the class.DMSearch.applyDmSearch
(Graph pattern, Set<String> inputString, double penalty) Outputs a new PAG, a copy of the input excepting the applied changes of this object.static void
SearchGraphUtils.arrangeByKnowledgeTiers
(Graph graph) static void
SearchGraphUtils.arrangeByKnowledgeTiers
(Graph graph, Knowledge knowledge) static void
SearchGraphUtils.basicCPDAG
(Graph graph) Get a graph and direct only the unshielded colliders.static void
SearchGraphUtils.basicCpdagRestricted2
(Graph graph, Node node) void
void
static Clusters
MimUtils.convertToClusters
(Graph clusterGraph) static Clusters
MimUtils.convertToClusters
(Graph clusterGraph, List<Node> measuredVariables) Converts a disconnected multiple indicator model into a set of clusters.MimUtils.convertToClusters2
(Graph clusterGraph) static Graph
SearchGraphUtils.cpdagForDag
(Graph dag) static Graph
SearchGraphUtils.cpdagFromDag
(Graph dag) static Graph
SearchGraphUtils.dagFromCPDAG
(Graph graph) static Graph
SearchGraphUtils.dagFromCPDAG
(Graph graph, Knowledge knowledge) static @NotNull Graph
void
a method to search "back from a" to find a DDP.void
a method to search "back from a" to find a DDP.void
FciOrient.doFinalOrientation
(Graph graph) Orients the graph according to rules in the graph (FCI step D).void
SvarFciOrient.doFinalOrientation
(Graph graph) Orients the graph according to rules in the graph (FCI step D).static boolean
DagToPag.existsInducingPathInto
(Node x, Node y, Graph graph) static boolean
TsDagToPag.existsInducingPathInto
(Node x, Node y, Graph graph, Knowledge knowledge) static boolean
TsDagToPag.existsInducingPathVisitts
(Graph graph, Node a, Node b, Node x, Node y, LinkedList<Node> path, Knowledge knowledge) static boolean
SearchGraphUtils.existsLocalSepsetWithout
(Node x, Node y, Node z, IndependenceTest test, Graph graph, int depth) void
FciOrient.fciOrientbk
(Knowledge bk, Graph graph, List<Node> variables) Orients according to background knowledgestatic List<PossibleDConnectingPath>
PossibleDConnectingPath.findDConnectingPaths
(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<PossibleDConnectingPath>
PossibleDConnectingPath.findDConnectingPathsOfLength
(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.static void
SampleVcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
SampleVcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
Vcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcAlt.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) SearchGraphUtils.generateCpdagDags
(Graph cpdag, boolean orientBidirectedEdges) Generates the list of DAGs in the given cpdag.MbUtils.generateMbDags
(Graph mbCPDAG, boolean orientBidirectedEdges, IndependenceTest test, int depth, Node target) Generates the list of MB DAGs consistent with the MB CPDAG returned by the previous search.SearchGraphUtils.getAllGraphsByDirectingUndirectedEdges
(Graph skeleton) SearchGraphUtils.getCpcTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph) SearchGraphUtils.getDagsInCpdagMeek
(Graph cpdag, Knowledge knowledge) static GraphUtils.GraphComparison
SearchGraphUtils.getGraphComparison
(Graph trueGraph, Graph targetGraph) static GraphUtils.GraphComparison
SearchGraphUtils.getGraphComparison2
(Graph graph, Graph trueGraph) Just counts arrowpoint errors--for cyclic edges counts an arrowpoint at each node.static Knowledge
TimeSeriesUtils.getKnowledge
(Graph graph) Bridges.getNeighbors
(Graph graph, Node node) static Graph
MbUtils.getOneMbDag
(Graph mbCPDAG) Vcpc.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) VcpcFast.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) SearchGraphUtils.getReachableNodes
(List<Node> initialNodes, LegalPairs legalPairs, List<Node> c, List<Node> d, Graph graph, int maxPathLength) double
double
double
static int[][]
SearchGraphUtils.graphComparison
(Graph trueCpdag, Graph estCpdag, PrintStream out) static String
SearchGraphUtils.graphComparisonString
(String trueGraphName, Graph trueGraph, String targetGraphName, Graph targetGraph, boolean printStars) static boolean
PagUtils.graphInPagStep0
(Graph pag, Graph dag) This method implements step (1) of the definition.static boolean
PagUtils.graphInPagStep1
(Graph pag, Graph dag) static boolean
PagUtils.graphInPagStep2
(Graph pag, Graph dag) static boolean
PagUtils.graphInPagStep3
(Graph pag, Graph dag) static boolean
PagUtils.graphInPagStep4
(Graph pag, Graph dag) static boolean
PagUtils.graphInPagStep5
(Graph pag, Graph dag) static TimeLagGraph
TimeSeriesUtils.graphToLagGraph
(Graph _graph, int numLags) static boolean
FciOrient.isArrowpointAllowed
(Node x, Node y, Graph graph, Knowledge knowledge) static SearchGraphUtils.LegalPagRet
SearchGraphUtils.isLegalPag
(Graph pag) TsFges2.logEdgeBayesFactors
(Graph dag) Bridges.logEdgeBayesFactorsString
(Graph dag) Fges.logEdgeBayesFactorsString
(Graph dag) TsFges2.logEdgeBayesFactorsString
(Graph dag) boolean
MeekRulesCpdag.meekR1Locally
(Graph graph, Knowledge Knowledge) static boolean
SearchGraphUtils.meekR1Locally
(Graph graph, Knowledge knowledge, IndependenceTest test, int depth) Orient away from collider.boolean
static boolean
Ifboolean
Meek's rule R3.static boolean
Meek's rule R3.boolean
static boolean
static Clusters
ClusterUtils.mimClusters
(Graph mim) void
BFci.modifiedR0
(Graph fgesGraph, SepsetProducer sepsets) void
GFci.modifiedR0
(Graph fgesGraph, SepsetProducer sepsets) void
GraspFci.modifiedR0
(Graph fgesGraph, SepsetProducer sepsets) void
SpFci.modifiedR0
(Graph fgesGraph, SepsetProducer sepsets) void
SvarGFci.modifiedR0
(Graph fgesGraph) void
Runs PC on just the given variable, all of which must be in the domain of the independence test.void
void
Searches for a PAG satisfying the description in Thomas Richardson (1997), dissertation, Carnegie Mellon University.void
Globally reorients the graph.void
void
void
static void
OrientCollidersMaxP.orientCollider
(Node x, Node y, Node z, PcAll.ConflictRule conflictRule, Graph graph) static void
SearchGraphUtils.orientCollidersUsingSepsets
(SepsetMap set, Knowledge knowledge, Graph graph, boolean verbose, boolean enforceCpdag) Step C of PC; orients colliders using specified sepset.ImpliedOrientation.orientImplied
(Graph graph) Adds implied orientations.MeekRules.orientImplied
(Graph graph) MeekRulesCpdag.orientImplied
(Graph graph) MeekRulesRestricted.orientImplied
(Graph graph) void
MeekRulesRestricted.orientImplied
(Graph graph, Set<Node> nodes) void
MeekRulesCpdag.orientUsingMeekRulesLocally
(Knowledge Knowledge, Graph graph) static void
SearchGraphUtils.orientUsingMeekRulesLocally
(Knowledge knowledge, Graph graph, IndependenceTest test, int depth) Orients using Meek rules, double checking noncolliders locally.static Graph
static void
SearchGraphUtils.pcdOrientC
(IndependenceTest test, Knowledge knowledge, Graph graph) Performs step C of the algorithm, as indicated on page xxx of CPS, with the modification that X--W--Y is oriented as X-->W<--Y if W is *determined by* the sepset of (X, Y), rather than W just being *in* the sepset of (X, Y).static void
SearchGraphUtils.pcOrientbk
(Knowledge bk, Graph graph, List<Node> nodes) Orients according to background knowledge.static GraphWithParameters
creates a CPDAGWithParameters by running a regression, given a graph and dataHbmsBeam.removeZeroEdges
(Graph bestGraph) void
void
Orients colliders in the graph.void
Orients colliders in the graph.void
Implements the double-triangle orientation rule, which states that if D*-oB, A*->Binvalid input: '<'-*C and A*-oDo-*C, and !adj(a, c), D*-oB, then D*->B.void
Implements the double-triangle orientation rule, which states that if D*-oB, A*->B<-*C and A*-oDo-*C, then D*->B.void
The triangles that must be oriented this way (won't be done by another rule) all look like the ones below, where the dots are a collider path from L to A with each node on the path (except L) a parent of C.void
The triangles that must be oriented this way (won't be done by another rule) all look like the ones below, where the dots are a collider path from L to A with each node on the path (except L) a parent of C.void
Implements Zhang's rule R5, orient circle undirectedPaths: for any Ao-oB, if there is an uncovered circle path u = [A,C,...,D,B] such that A,D nonadjacent and B,C nonadjacent, then A---B and orient every edge on u undirected.void
Implements Zhang's rule R5, orient circle undirectedPaths: for any Ao-oB, if there is an uncovered circle path u = [A,C,...,D,B] such that A,D nonadjacent and B,C nonadjacent, then A---B and orient every edge on u undirected.void
Implements Zhang's rules R6 and R7, applies them over the graph once.void
Implements Zhang's rules R6 and R7, applies them over the graph once.void
FciOrient.rulesR1R2cycle
(Graph graph) void
SvarFciOrient.rulesR1R2cycle
(Graph graph) void
FciOrient.rulesR8R9R10
(Graph graph) Implements Zhang's rules R8, R9, R10, applies them over the graph once.void
SvarFciOrient.rulesR8R9R10
(Graph graph) Implements Zhang's rules R8, R9, R10, applies them over the graph once.double
double
double
double
double
Scores the given DAG, up to a constant.double
Scores the given DAG, up to a constant.double
static double
static double
double
Scores the given DAG, up to a constant.HbmsBeam.scoreGraph
(Graph graph) HbsmsGes.scoreGraph
(Graph graph) Greedy equivalence search: Start from the empty graph, add edges till model is significant.void
Bridges.setAdjacencies
(Graph adjacencies) Sets the set of preset adjacenies for the algorithm; edges not in this adjacencies graph will not be added.void
Bridges2.setAdjacencies
(Graph adjacencies) Sets the set of preset adjacenies for the algorithm; edges not in this adjacencies graph will not be added.void
FgesMb.setAdjacencies
(Graph adjacencies) Sets the set of preset adjacenies for the algorithm; edges not in this adjacencies graph will not be added.void
FgesOrienter.setAdjacencies
(Graph adjacencies) Sets the set of preset adjacenies for the algorithm; edges not in this adjacencies graph will not be added.void
TsFges2.setAdjacencies
(Graph adjacencies) Sets the set of preset adjacenies for the algorithm; edges not in this adjacencies graph will not be added.void
Bridges.setBoundGraph
(Graph boundGraph) If non-null, edges not adjacent in this graph will not be added.void
Fges.setBoundGraph
(Graph boundGraph) If non-null, edges not adjacent in this graph will not be added.void
TsFges2.setBoundGraph
(Graph boundGraph) If non-null, edges not adjacent in this graph will not be added.void
Cpc.setExternalGraph
(Graph externalGraph) void
FasDeterministic.setExternalGraph
(Graph externalGraph) void
Fask.setExternalGraph
(Graph externalGraph) void
FasStableConcurrentFdr.setExternalGraph
(Graph externalGraph) void
Fasts.setExternalGraph
(Graph externalGraph) void
FgesMb.setExternalGraph
(Graph externalGraph) Sets the initial graph.void
FgesOrienter.setExternalGraph
(Graph externalGraph) Sets the initial graph.void
MultiFaskV1.setExternalGraph
(Graph externalGraph) void
PcAll.setExternalGraph
(Graph externalGraph) void
PcLocal.setExternalGraph
(Graph externalGraph) void
TsFges2.setExternalGraph
(Graph externalGraph) Sets the initial graph.void
Vcfas.setExternalGraph
(Graph externalGraph) void
void
void
void
void
void
void
void
void
void
Fges.setInitialGraph
(Graph initialGraph) Sets the initial graph.void
void
void
FgesMb.setTrueGraph
(Graph trueGraph) If the true graph is set, askterisks will be printed in log output for the true edges.void
FgesOrienter.setTrueGraph
(Graph trueGraph) If the true graph is set, askterisks will be printed in log output for the true edges.void
IPurify.setTrueGraph
(Graph mim) void
PurifyScoreBased.setTrueGraph
(Graph mim) void
PurifyTetradBased.setTrueGraph
(Graph mim) void
PurifyTetradBased2.setTrueGraph
(Graph mim) void
TsFges2.setTrueGraph
(Graph trueGraph) If the true graph is set, askterisks will be printed in log output for the true edges.void
DagToPag.setTruePag
(Graph truePag) void
FciOrient.setTruePag
(Graph truePag) void
SvarFciOrient.setTruePag
(Graph truePag) void
TsDagToPag.setTruePag
(Graph truePag) static int
SearchGraphUtils.structuralHammingDistance
(Graph trueGraph, Graph estGraph) Tsamardinos, I., Brown, L.static void
MbUtils.trimEdgesAmongParents
(Graph graph, Node target) Removes edges among the parents of the target.static void
MbUtils.trimEdgesAmongParentsOfChildren
(Graph graph, Node target) Removes edges among the parents of children of the target.static void
MbUtils.trimToAdjacents
(Graph graph, Node target) static void
MbUtils.trimToMbNodes
(Graph graph, Node target, boolean includeBidirected) Trims the graph to the target, the parents and children of the target, and the parents of the children of the target.double
Ida.trueEffect
(Node x, Node y, Graph trueDag) Constructors in edu.cmu.tetrad.search with parameters of type GraphModifierConstructorDescriptionDagInCPDAGIterator
(Graph CPDAG) DagInCPDAGIterator
(Graph CPDAG, Knowledge knowledge) DagInCPDAGIterator
(Graph CPDAG, Knowledge knowledge, boolean allowArbitraryOrientations, boolean allowNewColliders) The given CPDAG must be a CPDAG.DagIterator
(Graph CPDAG) The given CPDAG must be a CPDAG.DagSepsets
(Graph dag) Constructs a new FCI search for the given independence test and background knowledge.FasDci
(Graph graph, IndependenceTest independenceTest) Constructs a new FastAdjacencySearch for DCI.FasDci
(Graph graph, IndependenceTest independenceTest, ResolveSepsets.Method method, List<Set<Node>> marginalVars, List<IndependenceTest> independenceTests, SepsetMapDci knownIndependencies, SepsetMapDci knownAssociations) Constructs a new FastAdjacencySearch for DCI with independence test pooling to resolve inconsistencies.FasDeterministic
(Graph graph, IndependenceTest test) Constructs a new FastAdjacencySearch.FasStableConcurrentFdr
(Graph externalGraph, IndependenceTest test) Constructs a new FastAdjacencySearch.Fasts
(Graph graph, IndependenceTest test) Constructs a new FastAdjacencySearch.GraphScore
(Graph dag) Constructs the score using a covariance matrix.GraphWithParameters
(Graph graph) GraphWithParameters
(SemIm semIm, Graph trueCPDAG) GraphWithPValue
(Graph graph, double pValue) HbmsBeam
(Graph graph, CovarianceMatrix cov, Knowledge knowledge) IndTestDSep
(Graph graph) IndTestDSep
(Graph graph, boolean keepLatents) Constructs a new independence test that returns d-separation facts for the given graph as independence results.When you don't have a Dataset, supply a Graph and the number of samples to draw and the algorithm will generate a DataSet.LingamPattern
(Graph cpdag, DataSet dataSet) LingamPattern2
(Graph cpdag, List<DataSet> dataSets) Lofs
(Graph CPDAG, List<DataSet> dataSets, boolean strongR2, boolean meekDone, boolean meanCenterResiduals) PcLocal
(IndependenceTest independenceTest, Graph graph) PossibleDsepFci
(Graph graph, IndependenceTest test) Creates a new SepSet and assumes that none of the variables have yet been checked.ScoredGraph
(Graph graph, Double score) SepsetsConservative
(Graph graph, IndependenceTest independenceTest, SepsetMap extraSepsets, int depth) SepsetsGreedy
(Graph graph, IndependenceTest independenceTest, SepsetMap extraSepsets, int depth) SepsetsGreedy2
(Graph graph, IndependenceTest independenceTest, TeyssierScorer scorer, SepsetMap extraSepsets, int depth) SepsetsPossibleDsep
(Graph graph, IndependenceTest test, Knowledge knowledge, int depth, int maxPathLength) TsDagToPag
(Graph dag) Constructs a new FCI search for the given independence test and background knowledge.Constructor parameters in edu.cmu.tetrad.search with type arguments of type Graph -
Uses of Graph in edu.cmu.tetrad.search.mb
Methods in edu.cmu.tetrad.search.mb that return Graph -
Uses of Graph in edu.cmu.tetrad.sem
Methods in edu.cmu.tetrad.sem that return GraphModifier and TypeMethodDescriptionLargeScaleSimulation.getGraph()
SemUpdater.getManipulatedGraph()
Methods in edu.cmu.tetrad.sem with parameters of type GraphModifier and TypeMethodDescriptionLargeScaleSimulation.getKnowledge
(Graph graph) ReidentifyVariables.getLatents
(Graph graph) ReidentifyVariables.reidentifyVariables1
(List<List<Node>> partition, Graph trueGraph) Ricf.ricf2
(Graph mag, ICovarianceMatrix covMatrix, double tolerance) same as above but takes a Graph instead of a SemGraphdouble
Runs the estimator on the data and SemPm passed in through the constructor.double
Constructors in edu.cmu.tetrad.sem with parameters of type GraphModifierConstructorDescriptionGeneralizedSemPm
(Graph graph) Constructs a BayesPm from the given Graph, which must be convertible first into a ProtoSemGraph and then into a SemGraph.LargeScaleSimulation
(Graph graph) LargeScaleSimulation
(Graph graph, List<Node> nodes, int[] tierIndices) Constructs a BayesPm from the given Graph, which must be convertible first into a ProtoSemGraph and then into a SemGraph. -
Uses of Graph in edu.cmu.tetrad.simulation
Methods in edu.cmu.tetrad.simulation that return GraphModifier and TypeMethodDescriptionstatic Graph
static Graph
HsimUtils.mkRandSEMDAG
(int numVars, int numEdges) Methods in edu.cmu.tetrad.simulation with parameters of type GraphModifier and TypeMethodDescriptionstatic double[]
static Graph
HsimUtils.getAllParents
(Graph inputgraph, Set<Node> inputnodes) -
Uses of Graph in edu.cmu.tetrad.util
Methods in edu.cmu.tetrad.util that return GraphModifier and TypeMethodDescriptionstatic Graph
GraphSampling.createDisplayGraph
(Graph graph, ResamplingEdgeEnsemble ensemble) Create a graph for displaying and print out.static Graph
GraphSampling.createGraphWithHighProbabilityEdges
(List<Graph> graphs) Combine all the edges from the list of graphs onto one graph with the edge type that has the highest frequency probability.static Graph
GraphSampling.createGraphWithHighProbabilityEdges
(List<Graph> graphs, ResamplingEdgeEnsemble ensemble) static Graph
GraphSampling.createGraphWithoutNullEdges
(Graph graph) Create a graph from the given graph that contains no null edges.static Graph
JsonUtils.parseJSONObjectToTetradGraph
(String jsonResponse) static Graph
JsonUtils.parseJSONObjectToTetradGraph
(org.json.JSONObject jObj) Methods in edu.cmu.tetrad.util with parameters of type GraphModifier and TypeMethodDescriptionstatic Graph
GraphSampling.createDisplayGraph
(Graph graph, ResamplingEdgeEnsemble ensemble) Create a graph for displaying and print out.static Graph
GraphSampling.createGraphWithoutNullEdges
(Graph graph) Create a graph from the given graph that contains no null edges.JsonUtils.parseJSONArrayToTetradEdges
(Graph graph, org.json.JSONArray jArray) static Edge
JsonUtils.parseJSONObjectToTetradEdge
(Graph graph, org.json.JSONObject jObj) Method parameters in edu.cmu.tetrad.util with type arguments of type GraphModifier and TypeMethodDescriptionstatic Graph
GraphSampling.createGraphWithHighProbabilityEdges
(List<Graph> graphs) Combine all the edges from the list of graphs onto one graph with the edge type that has the highest frequency probability.static Graph
GraphSampling.createGraphWithHighProbabilityEdges
(List<Graph> graphs, ResamplingEdgeEnsemble ensemble) static Set<edu.cmu.tetrad.util.GraphSampling.NodePair>
GraphSampling.getEdgeNodePairs
(List<Graph> graphs) -
Uses of Graph in edu.pitt.csb.mgm
Methods in edu.pitt.csb.mgm that return GraphModifier and TypeMethodDescriptionMGM.graphFromMGM()
Converts MGM object to Graph object with edges if edge parameters are non-zero.static Graph
MixedUtils.makeMixedGraph
(Graph g, Map<String, Integer> m) MGM.search()
Simple search command for GraphSearch implementation.Methods in edu.pitt.csb.mgm with parameters of type GraphModifier and TypeMethodDescriptionstatic int[][]
MixedUtils.allEdgeStats
(Graph pT, Graph pE) static int[][]
static GeneralizedSemPm
MixedUtils.GaussianCategoricalPm
(Graph trueGraph, String paramTemplate) static GeneralizedSemPm
MixedUtils.GaussianTrinaryPm
(Graph trueGraph, HashMap<String, String> nodeDists, int maxSample, String paramTemplate) MixedUtils.getNodeDists
(Graph g) static cern.colt.matrix.DoubleMatrix2D
MixedUtils.graphToMatrix
(Graph graph) static cern.colt.matrix.DoubleMatrix2D
MixedUtils.graphToMatrix
(Graph graph, double undirectedWeight, double directedWeight) static Graph
MixedUtils.makeMixedGraph
(Graph g, Map<String, Integer> m) static cern.colt.matrix.DoubleMatrix2D
MixedUtils.skeletonToMatrix
(Graph graph) -
Uses of Graph in edu.pitt.csb.stability
Methods in edu.pitt.csb.stability that return Graph -
Uses of Graph in edu.pitt.dbmi.algo.bayesian.constraint.search
Methods in edu.pitt.dbmi.algo.bayesian.constraint.search that return GraphModifier and TypeMethodDescriptionRfciBsc.getGraphRBD()
RfciBsc.getGraphRBI()
PagSamplingRfci.search()
RfciBsc.search()
-
Uses of Graph in edu.pitt.dbmi.algo.resampling
Methods in edu.pitt.dbmi.algo.resampling that return GraphMethods in edu.pitt.dbmi.algo.resampling that return types with arguments of type GraphMethods in edu.pitt.dbmi.algo.resampling with parameters of type GraphModifier and TypeMethodDescriptionstatic int[][]
GeneralResamplingTest.getAdjConfusionMatrix
(Graph truth, Graph estimate) static int[][]
GeneralResamplingTest.getEdgeTypeConfusionMatrix
(Graph truth, Graph estimate) void
GeneralResamplingSearch.setExternalGraph
(Graph externalGraph) void
GeneralResamplingTest.setExternalGraph
(Graph externalGraph) Sets the initial graph. -
Uses of Graph in edu.pitt.dbmi.algo.resampling.task
Methods in edu.pitt.dbmi.algo.resampling.task that return GraphModifier and TypeMethodDescriptionGeneralResamplingSearchRunnable.call()
GeneralResamplingSearchRunnable.getExternalGraph()
Methods in edu.pitt.dbmi.algo.resampling.task with parameters of type GraphModifier and TypeMethodDescriptionvoid
GeneralResamplingSearchRunnable.setExternalGraph
(Graph externalGraph)