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) static boolean
NumCommonMeasuredAncestorBidirected.existsCommonAncestor
(Graph trueGraph, Edge edge) static boolean
LatentCommonAncestorTruePositiveBidirected.existsLatentCommonAncestor
(Graph trueGraph, Edge edge) -
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) EdgeListGraph.getDirectedEdge
(Node node1, Node node2) Graph.getDirectedEdge
(Node node1, Node node2) LagGraph.getDirectedEdge
(Node node1, Node node2) SemGraph.getDirectedEdge
(Node node1, Node node2) TimeLagGraph.getDirectedEdge
(Node node1, Node node2) 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()
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) Dag.getEdges()
EdgeListGraph.getEdges()
Graph.getEdges()
LagGraph.getEdges()
SemGraph.getEdges()
TimeLagGraph.getEdges()
GraphUtils.GraphComparison.getEdgesAdded()
GraphUtils.GraphComparison.getEdgesRemoved()
Methods in edu.cmu.tetrad.graph with parameters of type EdgeModifier and TypeMethodDescriptionboolean
boolean
Adds an edge to the graph.boolean
Adds the specified edge to the graph, provided it is not already in the graph.boolean
boolean
boolean
int
static boolean
GraphUtils.compatible
(Edge edge1, Edge edge2) boolean
Dag.containsEdge
(Edge edge) boolean
EdgeListGraph.containsEdge
(Edge edge) Determines if the graph contains a particular edge.boolean
Graph.containsEdge
(Edge edge) Determines whether this graph contains the given edge.boolean
LagGraph.containsEdge
(Edge edge) boolean
SemGraph.containsEdge
(Edge edge) boolean
TimeLagGraph.containsEdge
(Edge edge) boolean
Paths.defVisible
(Edge edge) added by ekorber, 2004/06/11static 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) static boolean
Edges.isDirectedEdge
(Edge edge) static boolean
SemGraph.isErrorEdge
(Edge edge) static boolean
Edges.isNondirectedEdge
(Edge edge) static boolean
Edges.isPartiallyOrientedEdge
(Edge edge) static boolean
Edges.isUndirectedEdge
(Edge edge) boolean
Dag.removeEdge
(Edge edge) boolean
EdgeListGraph.removeEdge
(Edge edge) Removes an edge from the graph.boolean
Graph.removeEdge
(Edge edge) Removes the given edge from the graph.boolean
LagGraph.removeEdge
(Edge edge) boolean
SemGraph.removeEdge
(Edge edge) boolean
TimeLagGraph.removeEdge
(Edge edge) static Node
static Node
Edges.traverseDirected
(Node node, Edge edge) For A -> 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) Method parameters in edu.cmu.tetrad.graph with type arguments of type EdgeModifier and TypeMethodDescriptionMisclassificationUtils.convertNodes
(Set<Edge> edges, List<Node> newVariables) boolean
Dag.removeEdges
(Collection<Edge> edges) boolean
EdgeListGraph.removeEdges
(Collection<Edge> edges) Removes any relevant edge objects found in this collection.boolean
Graph.removeEdges
(Collection<Edge> edges) Iterates through the list and removes any permissible edges found.boolean
LagGraph.removeEdges
(Collection<Edge> edges) boolean
SemGraph.removeEdges
(Collection<Edge> edges) boolean
TimeLagGraph.removeEdges
(Collection<Edge> edges) static void
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 arrowptFn, int arrowptFp, int arrowptCorrect, double adjPrec, double adjRec, double arrowptPrec, double arrowptRec, int shd, List<Edge> edgesAdded, List<Edge> edgesRemoved, int[][] counts) -
Uses of Edge in edu.cmu.tetrad.search
Methods in edu.cmu.tetrad.search that return types with arguments of type EdgeModifier and TypeMethodDescriptionCpc.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()
Pc.getNonadjacencies()
Returns the non-adjacencies of the searched 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.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) -
Uses of Edge in edu.cmu.tetrad.search.work_in_progress
Methods in edu.cmu.tetrad.search.work_in_progress that return EdgeMethods in edu.cmu.tetrad.search.work_in_progress that return types with arguments of type EdgeModifier and TypeMethodDescriptionSampleVcpc.getAdjacencies()
SampleVcpcFast.getAdjacencies()
VcPc.getAdjacencies()
VcPcFast.getAdjacencies()
VcFas.getApparentlyNonadjacencies()
SampleVcpc.getApparentNonadjacencies()
SampleVcpcFast.getApparentNonadjacencies()
VcPc.getApparentNonadjacencies()
VcPcFast.getApparentNonadjacencies()
SampleVcpc.getDefiniteNonadjacencies()
SampleVcpcFast.getDefiniteNonadjacencies()
VcPc.getDefiniteNonadjacencies()
VcPcFast.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) Move
(Edge edge, HbsmsBeam.Move.Type type) -
Uses of Edge in edu.cmu.tetrad.sem
Methods in edu.cmu.tetrad.sem that return EdgeMethods in edu.cmu.tetrad.sem with parameters of type EdgeModifier and TypeMethodDescriptionboolean
StandardizedSemIm.containsParameter
(Edge edge) double
SemIm.getEdgeCoef
(Edge edge) StandardizedSemIm.getParameterRange
(Edge edge) double
StandardizedSemIm.getParameterValue
(Edge edge) void
StandardizedSemIm.setParameterValue
(Edge edge, double value) Constructors in edu.cmu.tetrad.sem with parameters of type Edge -
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) Methods in edu.cmu.tetrad.util that return types with arguments of type EdgeModifier and TypeMethodDescriptionJsonUtils.parseJSONArrayToTetradEdges
(Graph graph, org.json.JSONArray jArray)