Uses of Class
edu.cmu.tetrad.graph.Edge
Packages that use Edge
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 Edge in edu.cmu.tetrad.algcomparison.statistic
Methods in edu.cmu.tetrad.algcomparison.statistic with parameters of type EdgeModifier and TypeMethodDescriptionstatic boolean
CommonAncestorTruePositiveBidirected.existsCommonAncestor
(Graph trueGraph, Edge edge) Returns true if there is a common ancestor of X and Y in the graph.static boolean
NumCommonMeasuredAncestorBidirected.existsCommonAncestor
(Graph trueGraph, Edge edge) existsCommonAncestor.static boolean
LatentCommonAncestorTruePositiveBidirected.existsLatentCommonAncestor
(Graph trueGraph, Edge edge) existsLatentCommonAncestor. -
Uses of Edge in edu.cmu.tetrad.graph
Methods in edu.cmu.tetrad.graph that return EdgeModifier and TypeMethodDescriptionstatic Edge
Edges.bidirectedEdge
(Node nodeA, Node nodeB) Constructs a new bidirected edge from nodeA to nodeB (<->).static Edge
Edges.directedEdge
(Node nodeA, Node nodeB) Constructs a new directed edge from nodeA to nodeB (-->).Dag.getDirectedEdge
(Node node1, Node node2) Returns the directed edge between the given nodes, if one exists in the graph.EdgeListGraph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.Graph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.LagGraph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.SemGraph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.TimeLagGraph.getDirectedEdge
(Node node1, Node node2) Retrieves the directed edge connecting two nodes in the graph.Retrieves the edge between two nodes in the graph.getEdge.getEdge.getEdge.getEdge.Retrieves the edge between the given nodes.static Edge
Edges.nondirectedEdge
(Node nodeA, Node nodeB) Constructs a new nondirected edge from nodeA to nodeB (o-o).static Edge
Edges.partiallyOrientedEdge
(Node nodeA, Node nodeB) Constructs a new partially oriented edge from nodeA to nodeB (o->).Edge.reverse()
reverse.static Edge
Edge.serializableInstance()
Generates a simple exemplar of this class to test serialization.static Edge
Edges.undirectedEdge
(Node nodeA, Node nodeB) Constructs a new undirected edge from nodeA to nodeB (--).Methods in edu.cmu.tetrad.graph that return types with arguments of type EdgeModifier and TypeMethodDescriptionMisclassificationUtils.convertNodes
(Set<Edge> edges, List<Node> newVariables) convertNodes.Dag.getEdges()
getEdges.Returns a list of edges connected to the given node.Returns a list of edges between the specified nodes in the graph.EdgeListGraph.getEdges()
getEdges.getEdges.getEdges.Graph.getEdges()
getEdges.getEdges.getEdges.LagGraph.getEdges()
getEdges.getEdges.getEdges.SemGraph.getEdges()
getEdges.getEdges.getEdges.TimeLagGraph.getEdges()
Retrieves the set of edges in the graph.Returns the list of edges connected to the specified node.Finds all edges between two nodes.GraphUtils.GraphComparison.getEdgesAdded()
Returns the edges added.GraphUtils.GraphComparison.getEdgesRemoved()
Returns the edges removed.Methods in edu.cmu.tetrad.graph with parameters of type EdgeModifier and TypeMethodDescriptionboolean
Adds a directed edge to the Directed Acyclic Graph (DAG).boolean
Adds the specified edge to the graph, provided it is not already in the graph.boolean
Adds the specified edge to the graph, provided it is not already in the graph.boolean
Adds the specified edge to the graph, provided it is not already in the graph.boolean
Adds the specified edge to the graph, provided it is not already in the graph.boolean
Adds a directed edge to the graph.int
compareTo.static boolean
GraphUtils.compatible
(Edge edge1, Edge edge2) Determines if two edges are compatible.boolean
Dag.containsEdge
(Edge edge) Checks if the given edge is present in the graph.boolean
EdgeListGraph.containsEdge
(Edge edge) Determines whether this graph contains the given edge.boolean
Graph.containsEdge
(Edge edge) Determines whether this graph contains the given edge.boolean
LagGraph.containsEdge
(Edge edge) Determines whether this graph contains the given edge.boolean
SemGraph.containsEdge
(Edge edge) Determines whether this graph contains the given edge.boolean
TimeLagGraph.containsEdge
(Edge edge) Checks if the givenEdge
object exists in the graph.boolean
Paths.defVisible
(Edge edge) Returns true just in case the given edge is definitely visible.static Node
Edges.getDirectedEdgeHead
(Edge edge) For a directed edge, returns the node adjacent to the arrow endpoint.static Node
Edges.getDirectedEdgeTail
(Edge edge) For a directed edge, returns the node adjacent to the null endpoint.static boolean
Edges.isBidirectedEdge
(Edge edge) isBidirectedEdge.static boolean
GraphUtils.isCorrectBidirectedEdge
(Edge edge, Graph trueGraph) Determines if the given bidirected edge has a latent confounder in the true graph--that is, whether for X <-> Y there is a latent node Z such that X <- (Z) -> Y.static boolean
Edges.isDirectedEdge
(Edge edge) isDirectedEdge.static boolean
SemGraph.isErrorEdge
(Edge edge) isErrorEdge.static boolean
Edges.isNondirectedEdge
(Edge edge) isNondirectedEdge.static boolean
Edges.isPartiallyOrientedEdge
(Edge edge) isPartiallyOrientedEdge.static boolean
Edges.isUndirectedEdge
(Edge edge) isUndirectedEdge.boolean
Dag.removeEdge
(Edge edge) Removes a given edge from the graph.boolean
EdgeListGraph.removeEdge
(Edge edge) Removes the given edge from the graph.boolean
Graph.removeEdge
(Edge edge) Removes the given edge from the graph.boolean
LagGraph.removeEdge
(Edge edge) Removes the given edge from the graph.boolean
SemGraph.removeEdge
(Edge edge) Removes the given edge from the graph.boolean
TimeLagGraph.removeEdge
(Edge edge) Removes an edge from the graph.static Node
If node is one endpoint of edge, returns the other endpoint.static Node
Edges.traverseDirected
(Node node, Edge edge) For A -> B, given A, returns B; otherwise returns null.static Node
Edges.traverseNondirected
(Node node, Edge edge) For A o-o B, given A, returns B; otherwise returns null.static Node
Edges.traverseReverseDirected
(Node node, Edge edge) For A -> B, given B, returns A; otherwise returns null.static Node
Edges.traverseSemiDirected
(Node node, Edge edge) For A --* B or A o-* B, given A, returns B.static Node
GraphUtils.traverseSemiDirected
(Node node, Edge edge) Traverses a semi-directed edge to identify the next node in the traversal.Method parameters in edu.cmu.tetrad.graph with type arguments of type EdgeModifier and TypeMethodDescriptionMisclassificationUtils.convertNodes
(Set<Edge> edges, List<Node> newVariables) convertNodes.boolean
Dag.removeEdges
(Collection<Edge> edges) Removes the given edges from the graph.boolean
EdgeListGraph.removeEdges
(Collection<Edge> edges) Iterates through the list and removes any permissible edges found.boolean
Graph.removeEdges
(Collection<Edge> edges) Iterates through the list and removes any permissible edges found.boolean
LagGraph.removeEdges
(Collection<Edge> edges) Iterates through the list and removes any permissible edges found.boolean
SemGraph.removeEdges
(Collection<Edge> edges) Iterates through the list and removes any permissible edges found.boolean
TimeLagGraph.removeEdges
(Collection<Edge> edges) Removes the specified collection of edges from the graph.static void
sortEdges.Constructors in edu.cmu.tetrad.graph with parameters of type EdgeConstructor parameters in edu.cmu.tetrad.graph with type arguments of type EdgeModifierConstructorDescriptionGraphComparison
(int adjFn, int adjFp, int adjCorrect, int ahdFn, int ahdFp, int ahdCorrect, double adjPrec, double adjRec, double ahdPrec, double ahdRec, int shd, List<Edge> edgesAdded, List<Edge> edgesRemoved, int[][] counts) Constructs a new GraphComparison. -
Uses of Edge in edu.cmu.tetrad.search
Methods in edu.cmu.tetrad.search that return types with arguments of type EdgeModifier and TypeMethodDescriptionCheckKnowledge.forbiddenViolations
(Graph graph, Knowledge knowledge) Returns a sorted list of edges that violate the given knowledge.Cpc.getAdjacencies()
Returns the edges in the search graph as a set of undirected edges.Pc.getAdjacencies()
Returns The edges of the searched graph.Pcd.getAdjacencies()
Returns the set of adjacent edges in the graph.Pc.getNonadjacencies()
Returns the non-adjacencies of the searched graph.CheckKnowledge.requiredViolations
(Graph graph, Knowledge knowledge) Returns a sorted list of edges that are required by knowledge but which do not appear in the graph. -
Uses of Edge in edu.cmu.tetrad.search.utils
Methods in edu.cmu.tetrad.search.utils that return types with arguments of type EdgeModifier and TypeMethodDescriptionPcCommon.getAdjacencies()
Returns The edges in the search graph.Returns a map of nodes to bidirected edges for them.MeekRules.getChangedEdges()
Returns a complete set of all the edges that were changed in the course of orientation, as a map from the previous edges in the graph to the new, changed edges for the same node pair.MeekRules.getChangedEdges()
Returns a complete set of all the edges that were changed in the course of orientation, as a map from the previous edges in the graph to the new, changed edges for the same node pair.Methods in edu.cmu.tetrad.search.utils with parameters of type EdgeModifier and TypeMethodDescriptionstatic String
LogUtilsSearch.edgeOrientedMsg
(String reason, Edge edge) edgeOrientedMsg. -
Uses of Edge in edu.cmu.tetrad.search.work_in_progress
Methods in edu.cmu.tetrad.search.work_in_progress that return EdgeModifier and TypeMethodDescriptionHbsmsBeam.Move.getFirstEdge()
Getter for the fieldedge
.HbsmsBeam.Move.getSecondEdge()
Getter for the fieldsecondEdge
.Methods in edu.cmu.tetrad.search.work_in_progress that return types with arguments of type EdgeModifier and TypeMethodDescriptionSampleVcpc.getAdjacencies()
getAdjacencies.SampleVcpcFast.getAdjacencies()
getAdjacencies.VcPc.getAdjacencies()
getAdjacencies.VcPcFast.getAdjacencies()
getAdjacencies.VcFas.getApparentlyNonadjacencies()
Getter for the fieldapparentlyNonadjacencies
.SampleVcpc.getApparentNonadjacencies()
getApparentNonadjacencies.SampleVcpcFast.getApparentNonadjacencies()
getApparentNonadjacencies.VcPc.getApparentNonadjacencies()
getApparentNonadjacencies.VcPcFast.getApparentNonadjacencies()
getApparentNonadjacencies.SampleVcpc.getDefiniteNonadjacencies()
getDefiniteNonadjacencies.SampleVcpcFast.getDefiniteNonadjacencies()
getDefiniteNonadjacencies.VcPc.getDefiniteNonadjacencies()
getDefiniteNonadjacencies.VcPcFast.getDefiniteNonadjacencies()
getDefiniteNonadjacencies.GraphChange.getRemoves()
Return removesMethods in edu.cmu.tetrad.search.work_in_progress with parameters of type EdgeModifier and TypeMethodDescriptionvoid
Add another remove operation to the GraphChange.Constructors in edu.cmu.tetrad.search.work_in_progress with parameters of type EdgeModifierConstructorDescriptionMove
(Edge edge, Edge secondEdge, HbsmsBeam.Move.Type type) Constructor for Move.Move
(Edge edge, HbsmsBeam.Move.Type type) Constructor for Move. -
Uses of Edge in edu.cmu.tetrad.sem
Methods in edu.cmu.tetrad.sem that return EdgeModifier and TypeMethodDescriptionStandardizedSemIm.ParameterRange.getEdge()
Getter for the fieldedge
.Methods in edu.cmu.tetrad.sem with parameters of type EdgeModifier and TypeMethodDescriptionboolean
StandardizedSemIm.containsParameter
(Edge edge) containsParameter.double
SemIm.getEdgeCoef
(Edge edge) Getter for the fieldedgeCoef
.StandardizedSemIm.getParameterRange
(Edge edge) getParameterRange.double
StandardizedSemIm.getParameterValue
(Edge edge) getParameterValue.void
StandardizedSemIm.setParameterValue
(Edge edge, double value) setParameterValue.Constructors in edu.cmu.tetrad.sem with parameters of type EdgeModifierConstructorDescriptionParameterRange
(Edge edge, double coef, double low, double high) Constructs a new parameter range. -
Uses of Edge in edu.cmu.tetrad.simulation
Methods in edu.cmu.tetrad.simulation that return types with arguments of type EdgeMethods in edu.cmu.tetrad.simulation with parameters of type EdgeConstructor parameters in edu.cmu.tetrad.simulation with type arguments of type Edge -
Uses of Edge in edu.cmu.tetrad.util
Methods in edu.cmu.tetrad.util that return EdgeModifier and TypeMethodDescriptionstatic Edge
JsonUtils.parseJSONObjectToTetradEdge
(Graph graph, org.json.JSONObject jObj) parseJSONObjectToTetradEdge.Methods in edu.cmu.tetrad.util that return types with arguments of type EdgeModifier and TypeMethodDescriptionJsonUtils.parseJSONArrayToTetradEdges
(Graph graph, org.json.JSONArray jArray) parseJSONArrayToTetradEdges.