Uses of Class
edu.cmu.tetrad.graph.Triple
Packages that use Triple
Package
Description
Contains classes for searching for (mostly structural) causal models given data.
Contains some utility classes for search algorithms.
Contains some classes that aren't ready for prime time.
-
Uses of Triple in edu.cmu.tetrad.graph
Methods in edu.cmu.tetrad.graph that return TripleModifier and TypeMethodDescriptionstatic Triple
Triple.serializableInstance()
Generates a simple exemplar of this class to test serialization.Methods in edu.cmu.tetrad.graph that return types with arguments of type TripleModifier and TypeMethodDescriptionDag.getAmbiguousTriples()
Returns a set of ambiguous triples.EdgeListGraph.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.Graph.getAmbiguousTriples()
getAmbiguousTriples.LagGraph.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.SemGraph.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.TimeLagGraph.getAmbiguousTriples()
Retrieves the set of ambiguous triples.Underlines.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.GraphUtils.getAmbiguousTriplesFromGraph
(Node node, Graph graph) Retrieves the list of ambiguous triples from the given graph for a given node.GraphSaveLoadUtils.getCollidersFromGraph
(Node node, Graph graph) getCollidersFromGraph.GraphUtils.getDottedUnderlinedTriplesFromGraph
(Node node, Graph graph) Retrieves the list of dotted and underlined triples from the given graph, with the specified node as the middle node.Dag.getDottedUnderlines()
getDottedUnderlines.EdgeListGraph.getDottedUnderlines()
getDottedUnderlines.Graph.getDottedUnderlines()
getDottedUnderlines.LagGraph.getDottedUnderlines()
getDottedUnderlines.SemGraph.getDottedUnderlines()
getDottedUnderlines.TimeLagGraph.getDottedUnderlines()
Returns a set of Triple objects representing dotted underlines.Underlines.getDottedUnderlines()
getDottedUnderlines.EdgeListGraph.getTriplesLists
(Node node) getTriplesLists.TripleClassifier.getTriplesLists
(Node node) getTriplesLists.Underlines.getTriplesLists
(Node node) getTriplesLists.GraphUtils.getUnderlinedTriplesFromGraph
(Node node, Graph graph) Retrieves the underlined triples from the given graph that involve the specified node.Dag.getUnderLines()
Retrieves the set of underlined triples.EdgeListGraph.getUnderLines()
getUnderLines.Graph.getUnderLines()
getUnderLines.LagGraph.getUnderLines()
getUnderLines.SemGraph.getUnderLines()
getUnderLines.TimeLagGraph.getUnderLines()
Returns a set of Triple objects representing the underlines.Underlines.getUnderLines()
getUnderLines.static LinkedList
<Triple> GraphUtils.listColliderTriples
(Graph graph) Generates a list of triples where a node acts as a collider in a given graph.Method parameters in edu.cmu.tetrad.graph with type arguments of type TripleModifier and TypeMethodDescriptionstatic void
GraphUtils.gfciR0
(Graph pag, Graph cpdag, SepsetProducer sepsets, Knowledge knowledge, boolean verbose, Set<Triple> unshieldedTriples) Applies the GFCI-R0 algorithm to orient edges in a pag based on a reference CPDAG, sepsets, and knowledge.static Graph
GraphUtils.guaranteePag
(Graph pag, FciOrient fciOrient, Knowledge knowledge, Set<Triple> unshieldedColliders, Set<Triple> extraUnshieldedColliders, boolean verbose, Set<Node> selection) Guarantees a legal PAG by repairing deviations of a graph from a legal PAG (partial ancestral graph).static void
GraphUtils.recallUnshieldedTriples
(Graph pag, Set<Triple> unshieldedColliders, Knowledge knowledge) Recall unshielded triples in a given graph.static boolean
GraphUtils.removeAlmostCycles
(Graph pag, Set<Triple> unshieldedColliders, Set<Triple> extraUnshieldedColliders, FciOrient fciOrient, Knowledge knowledge, boolean verbose) Removes almost cycles from a graph.static boolean
GraphUtils.removeCycles
(Set<Triple> unshieldedColliders, FciOrient fciOrient, Graph pag, Knowledge knowledge, boolean verbose) Removes cycles from the given graph using the Fast Causal Inference (FCI) algorithm.void
Dag.setAmbiguousTriples
(Set<Triple> triples) Sets the ambiguous triples for the object.void
EdgeListGraph.setAmbiguousTriples
(Set<Triple> triples) setAmbiguousTriples.void
Graph.setAmbiguousTriples
(Set<Triple> triples) setAmbiguousTriples.void
LagGraph.setAmbiguousTriples
(Set<Triple> triples) setAmbiguousTriples.void
SemGraph.setAmbiguousTriples
(Set<Triple> triples) setAmbiguousTriples.void
TimeLagGraph.setAmbiguousTriples
(Set<Triple> triples) Sets the set of ambiguous triples.void
Underlines.setAmbiguousTriples
(Set<Triple> triples) Setter for the fieldambiguousTriples
.void
Dag.setDottedUnderLineTriples
(Set<Triple> triples) Sets the dotted underline triples for the given set of Triples.void
EdgeListGraph.setDottedUnderLineTriples
(Set<Triple> triples) setDottedUnderLineTriples.void
Graph.setDottedUnderLineTriples
(Set<Triple> triples) setDottedUnderLineTriples.void
LagGraph.setDottedUnderLineTriples
(Set<Triple> triples) setDottedUnderLineTriples.void
SemGraph.setDottedUnderLineTriples
(Set<Triple> triples) setDottedUnderLineTriples.void
TimeLagGraph.setDottedUnderLineTriples
(Set<Triple> triples) Sets the dotted underline triples.void
Underlines.setDottedUnderLineTriples
(Set<Triple> triples) Setter for the fielddottedUnderLineTriples
.void
Dag.setUnderLineTriples
(Set<Triple> triples) Sets the underlined triples.void
EdgeListGraph.setUnderLineTriples
(Set<Triple> triples) setUnderLineTriples.void
Graph.setUnderLineTriples
(Set<Triple> triples) setUnderLineTriples.void
LagGraph.setUnderLineTriples
(Set<Triple> triples) setUnderLineTriples.void
SemGraph.setUnderLineTriples
(Set<Triple> triples) setUnderLineTriples.void
TimeLagGraph.setUnderLineTriples
(Set<Triple> triples) Sets the underline triples.void
Underlines.setUnderLineTriples
(Set<Triple> triples) Setter for the fieldunderLineTriples
.static String
GraphUtils.triplesToText
(Set<Triple> triples, String title) Converts a set of triples into a formatted string. -
Uses of Triple in edu.cmu.tetrad.search
Methods in edu.cmu.tetrad.search that return types with arguments of type TripleModifier and TypeMethodDescriptionCfci.getAmbiguousTriples()
Returns the ambiguous triples found in the search.Cpc.getAmbiguousTriples()
Returns the set of ambiguous triples found during the most recent run of the algorithm.Fas.getAmbiguousTriples
(Node node) Retrieves the list of ambiguous triples involving the given node.Fasd.getAmbiguousTriples
(Node node) Retrieves a list of ambiguous triples for the given node.IFas.getAmbiguousTriples
(Node node) Returns the list of ambiguous triples found for a given node.PcMb.getAmbiguousTriples()
Returns the set of triples identified as ambiguous by the CPC algorithm during the most recent search.SvarFas.getAmbiguousTriples
(Node node) Retrieves the list of ambiguous triples involving the given node.Pcd.getUnshieldedColliders()
Retrieves the set of unshielded colliders in the graph returned by the method search().Retrieves the set of unshielded noncolliders in the graph returned by the method search(). -
Uses of Triple in edu.cmu.tetrad.search.utils
Methods in edu.cmu.tetrad.search.utils that return types with arguments of type TripleModifier and TypeMethodDescriptionR0R4StrategyTestBased.getAllowedColliders()
The Set of Triples representing the allowed colliders for the FciOrientDataExaminationStrategy.PcCommon.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.PcCommon.getColliderTriples()
Getter for the fieldcolliderTriples
.FciOrient.getInitialAllowedColliders()
Returns the initial allowed colliders based on the current strategy.R0R4Strategy.getInitialAllowedColliders()
Returns the allowed colliders for the current strategy.R0R4StrategyTestBased.getInitialAllowedColliders()
Retrieves the initial set of allowed colliders.PcCommon.getNoncolliderTriples()
Getter for the fieldnoncolliderTriples
.Returns the set of triples for the given node.Method parameters in edu.cmu.tetrad.search.utils with type arguments of type TripleModifier and TypeMethodDescriptionvoid
Performs FCI orientation on the given graph, including R0 and either the Spirtes or Zhang final orientation rules.void
Orients unshielded colliders in the graph.void
FciOrient.setAllowedColliders
(Set<Triple> allowedColliders) Sets the allowed colliders for this object.void
R0R4Strategy.setAllowedColliders
(Set<Triple> allowedColliders) Sets the allowed colliders for the current strategy.void
R0R4StrategyScoreBased.setAllowedColliders
(Set<Triple> allowedColliders) void
R0R4StrategyTestBased.setAllowedColliders
(Set<Triple> allowedColliders) Sets the allowed colliders for the FciOrientDataExaminationStrategy.void
FciOrient.setInitialAllowedColliders
(HashSet<Triple> initialAllowedColliders) Sets the initial allowed colliders for the strategy.default void
R0R4Strategy.setInitialAllowedColliders
(HashSet<Triple> initialAllowedColliders) Sets the initial allowed colliders for the current strategy.void
R0R4StrategyTestBased.setInitialAllowedColliders
(HashSet<Triple> initialAllowedColliders) Sets the initial set of allowed colliders for the FciOrientDataExaminationStrategy. -
Uses of Triple in edu.cmu.tetrad.search.work_in_progress
Methods in edu.cmu.tetrad.search.work_in_progress that return types with arguments of type TripleModifier and TypeMethodDescriptionFasFdr.getAmbiguousTriples
(Node node) Returns the list of ambiguous triples found for a given node.SampleVcpc.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.SampleVcpcFast.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.VcPc.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.VcPcAlt.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.VcPcFast.getAmbiguousTriples()
Getter for the fieldambiguousTriples
.GraphChange.getColliders()
Return collidersSampleVcpc.getColliderTriples()
Getter for the fieldcolliderTriples
.SampleVcpcFast.getColliderTriples()
Getter for the fieldcolliderTriples
.VcPc.getColliderTriples()
Getter for the fieldcolliderTriples
.VcPcAlt.getColliderTriples()
Getter for the fieldcolliderTriples
.VcPcFast.getColliderTriples()
Getter for the fieldcolliderTriples
.GraphChange.getNoncolliders()
Return noncollidersSampleVcpc.getNoncolliderTriples()
Getter for the fieldnoncolliderTriples
.SampleVcpcFast.getNoncolliderTriples()
Getter for the fieldnoncolliderTriples
.VcPc.getNoncolliderTriples()
Getter for the fieldnoncolliderTriples
.VcPcAlt.getNoncolliderTriples()
Getter for the fieldnoncolliderTriples
.VcPcFast.getNoncolliderTriples()
Getter for the fieldnoncolliderTriples
.Kpc.getUnshieldedColliders()
Getter for the fieldunshieldedColliders
.Getter for the fieldunshieldedNoncolliders
.Methods in edu.cmu.tetrad.search.work_in_progress with parameters of type TripleModifier and TypeMethodDescriptionvoid
GraphChange.addCollider
(Triple colliderTrip) Add another collider operation to the GraphChange.void
GraphChange.addNonCollider
(Triple nonColliderTrip) Add another non-collider operation to the GraphChange. -
Uses of Triple in edu.cmu.tetrad.util
Methods in edu.cmu.tetrad.util that return TripleModifier and TypeMethodDescriptionstatic Triple
JsonUtils.parseJSONArrayToTetradTriple
(org.json.JSONObject jObj) parseJSONArrayToTetradTriple.Methods in edu.cmu.tetrad.util that return types with arguments of type TripleModifier and TypeMethodDescriptionJsonUtils.parseJSONArrayToTetradTriples
(org.json.JSONArray jArray) parseJSONArrayToTetradTriples.