Uses of Enum Class
edu.cmu.tetrad.graph.Endpoint
Packages that use Endpoint
Package
Description
This package contains utility classes for causal graph search algorithms.
-
Uses of Endpoint in edu.cmu.tetrad.graph
Methods in edu.cmu.tetrad.graph that return EndpointModifier and TypeMethodDescriptionfinal EndpointEdge.getDistalEndpoint(Node node) getDistalEndpoint.Dag.getEndpoint(Node node1, Node node2) Returns the endpoint between two nodes in the graph.final EndpointEdge.getEndpoint(Node node) getProximalEndpoint.EdgeListGraph.getEndpoint(Node node1, Node node2) getEndpoint.Graph.getEndpoint(Node node1, Node node2) getEndpoint.LagGraph.getEndpoint(Node node1, Node node2) getEndpoint.SemGraph.getEndpoint(Node node1, Node node2) getEndpoint.TimeLagGraph.getEndpoint(Node node1, Node node2) Returns the endpoint between two nodes in the graph.final EndpointEdge.getEndpoint1()Getter for the fieldendpoint1.final EndpointEdge.getEndpoint2()Getter for the fieldendpoint2.static EndpointReturns the enum constant of this class with the specified name.static Endpoint[]Endpoint.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in edu.cmu.tetrad.graph with parameters of type EndpointModifier and TypeMethodDescriptionvoidDag.fullyConnect(Endpoint endpoint) Fully connects the given endpoint.voidEdgeListGraph.fullyConnect(Endpoint endpoint) Removes all edges from the graph and fully connects it using #-# edges, where # is the given endpoint.voidGraph.fullyConnect(Endpoint endpoint) Removes all edges from the graph and fully connects it using #-# edges, where # is the given endpoint.voidLagGraph.fullyConnect(Endpoint endpoint) Removes all edges from the graph and fully connects it using #-# edges, where # is the given endpoint.voidSemGraph.fullyConnect(Endpoint endpoint) Removes all edges from the graph and fully connects it using #-# edges, where # is the given endpoint.voidTimeLagGraph.fullyConnect(Endpoint endpoint) Fully connects the given endpoint to all other endpoints in the graph.static intgetIndex.Dag.getNodesInTo(Node node, Endpoint n) Retrieves a list of nodes in the given graph that have edges pointing into the specified node and endpoint.EdgeListGraph.getNodesInTo(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given proximal endpoint.Graph.getNodesInTo(Node node, Endpoint n) Nodes adjacent to the given node with the given proximal endpoint.LagGraph.getNodesInTo(Node node, Endpoint n) Nodes adjacent to the given node with the given proximal endpoint.SemGraph.getNodesInTo(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given proximal endpoint.TimeLagGraph.getNodesInTo(Node node, Endpoint endpoint) Retrieves a list of nodes that have an incoming edge from a specific node and endpoint.Dag.getNodesOutTo(Node node, Endpoint n) Retrieves a list of nodes that have outgoing edges to a specified node and endpoint.EdgeListGraph.getNodesOutTo(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given distal endpoint.Graph.getNodesOutTo(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.LagGraph.getNodesOutTo(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.SemGraph.getNodesOutTo(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.TimeLagGraph.getNodesOutTo(Node node, Endpoint endpoint) Retrieves the list of nodes in a graph that have an outgoing edge to the given node and endpoint.voidDag.reorientAllWith(Endpoint endpoint) Reorients all edges in a Directed Acyclic Graph (DAG) with a single endpoint type.voidEdgeListGraph.reorientAllWith(Endpoint endpoint) Reorients all edges in the graph with the given endpoint.voidGraph.reorientAllWith(Endpoint endpoint) Reorients all edges in the graph with the given endpoint.voidLagGraph.reorientAllWith(Endpoint endpoint) Reorients all edges in the graph with the given endpoint.voidReplicatingGraph.reorientAllWith(Endpoint ep) Reorients all applicable edges in the graph to align with the specified endpoint.voidSemGraph.reorientAllWith(Endpoint endpoint) Reorients all edges in the graph with the given endpoint.voidTimeLagGraph.reorientAllWith(Endpoint endpoint) Reorients all edges in the graph to point towards the specified endpoint.booleanDag.setEndpoint(Node from, Node to, Endpoint endPoint) Sets the endpoint of a directed edge between two nodes in a graph.booleanEdgeListGraph.setEndpoint(Node from, Node to, Endpoint endPoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.booleanGraph.setEndpoint(Node from, Node to, Endpoint endPoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.booleanLagGraph.setEndpoint(Node from, Node to, Endpoint endPoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.booleanReplicatingGraph.setEndpoint(Node from, Node to, Endpoint ep) Mirrors endpoint changes across all policy-mirrored edges.booleanSemGraph.setEndpoint(Node node1, Node node2, Endpoint endpoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.booleanTimeLagGraph.setEndpoint(Node from, Node to, Endpoint endPoint) Sets the endpoint of an edge between two nodes in the graph.final voidEdge.setEndpoint1(Endpoint e) Setter for the fieldendpoint1.final voidEdge.setEndpoint2(Endpoint e) Setter for the fieldendpoint2.Constructors in edu.cmu.tetrad.graph with parameters of type EndpointModifierConstructorDescriptionConstructs a new edge by specifying the nodes it connects and the endpoint types.Constructs an Edge by specifying two nodes, their corresponding endpoints, and whether to flip the direction of the edge if it is pointing backwards. -
Uses of Endpoint in edu.cmu.tetrad.search.utils
Methods in edu.cmu.tetrad.search.utils with parameters of type EndpointModifier and TypeMethodDescriptionvoidDefaultSetEndpointStrategy.setEndpoint(Graph graph, Node a, Node b, Endpoint endpoint) Sets the endpoint of a graph given the two nodes and the desired endpoint.voidSetEndpointStrategy.setEndpoint(Graph graph, Node a, Node b, Endpoint arrow) Sets the endpoint of a graph given the two nodes and the desired endpoint.