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 booleanCommonAncestorTruePositiveBidirected.existsCommonAncestor(Graph trueGraph, Edge edge) static booleanNumCommonMeasuredAncestorBidirected.existsCommonAncestor(Graph trueGraph, Edge edge) static booleanLatentCommonAncestorTruePositiveBidirected.existsLatentCommonAncestor(Graph trueGraph, Edge edge) -
Uses of Edge in edu.cmu.tetrad.graph
Methods in edu.cmu.tetrad.graph that return EdgeModifier and TypeMethodDescriptionstatic EdgeEdges.bidirectedEdge(Node nodeA, Node nodeB) Constructs a new bidirected edge from nodeA to nodeB (<->).static EdgeEdges.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 EdgeEdges.nondirectedEdge(Node nodeA, Node nodeB) Constructs a new nondirected edge from nodeA to nodeB (o-o).static EdgeEdges.partiallyOrientedEdge(Node nodeA, Node nodeB) Constructs a new partially oriented edge from nodeA to nodeB (o->).Edge.reverse()static EdgeEdge.serializableInstance()Generates a simple exemplar of this class to test serialization.static EdgeEdges.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 TypeMethodDescriptionbooleanbooleanAdds an edge to the graph.booleanAdds the specified edge to the graph, provided it is not already in the graph.booleanbooleanbooleanintstatic booleanGraphUtils.compatible(Edge edge1, Edge edge2) booleanDag.containsEdge(Edge edge) booleanEdgeListGraph.containsEdge(Edge edge) Determines if the graph contains a particular edge.booleanGraph.containsEdge(Edge edge) Determines whether this graph contains the given edge.booleanLagGraph.containsEdge(Edge edge) booleanSemGraph.containsEdge(Edge edge) booleanTimeLagGraph.containsEdge(Edge edge) booleanPaths.defVisible(Edge edge) added by ekorber, 2004/06/11static NodeEdges.getDirectedEdgeHead(Edge edge) For a directed edge, returns the node adjacent to the arrow endpoint.static NodeEdges.getDirectedEdgeTail(Edge edge) For a directed edge, returns the node adjacent to the null endpoint.static booleanEdges.isBidirectedEdge(Edge edge) static booleanEdges.isDirectedEdge(Edge edge) static booleanSemGraph.isErrorEdge(Edge edge) static booleanEdges.isNondirectedEdge(Edge edge) static booleanEdges.isPartiallyOrientedEdge(Edge edge) static booleanEdges.isUndirectedEdge(Edge edge) booleanDag.removeEdge(Edge edge) booleanEdgeListGraph.removeEdge(Edge edge) Removes an edge from the graph.booleanGraph.removeEdge(Edge edge) Removes the given edge from the graph.booleanLagGraph.removeEdge(Edge edge) booleanSemGraph.removeEdge(Edge edge) booleanTimeLagGraph.removeEdge(Edge edge) static Nodestatic NodeEdges.traverseDirected(Node node, Edge edge) For A -> B, given A, returns B; otherwise returns null.static NodeEdges.traverseReverseDirected(Node node, Edge edge) For A -> B, given B, returns A; otherwise returns null.static NodeEdges.traverseSemiDirected(Node node, Edge edge) For A --* B or A o-* B, given A, returns B.static NodeGraphUtils.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) booleanDag.removeEdges(Collection<Edge> edges) booleanEdgeListGraph.removeEdges(Collection<Edge> edges) Removes any relevant edge objects found in this collection.booleanGraph.removeEdges(Collection<Edge> edges) Iterates through the list and removes any permissible edges found.booleanLagGraph.removeEdges(Collection<Edge> edges) booleanSemGraph.removeEdges(Collection<Edge> edges) booleanTimeLagGraph.removeEdges(Collection<Edge> edges) static voidConstructors 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 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()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.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 StringLogUtilsSearch.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 TypeMethodDescriptionvoidAdd 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 TypeMethodDescriptionbooleanStandardizedSemIm.containsParameter(Edge edge) doubleSemIm.getEdgeCoef(Edge edge) StandardizedSemIm.getParameterRange(Edge edge) doubleStandardizedSemIm.getParameterValue(Edge edge) voidStandardizedSemIm.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 EdgeJsonUtils.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)