Package edu.cmu.tetrad.search.utils
Interface SetEndpointStrategy
- All Known Implementing Classes:
DefaultSetEndpointStrategy
,SvarSetEndpointStrategy
public interface SetEndpointStrategy
The SetEndpointStrategy interface provides a strategy for setting the endpoint of an edge in a graph.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setEndpoint
(Graph graph, Node a, Node b, Endpoint arrow) Sets the endpoint of a graph given the two nodes and the desired endpoint.
-
Method Details
-
setEndpoint
Sets the endpoint of a graph given the two nodes and the desired endpoint.- Parameters:
graph
- the graph in which the endpoint is being seta
- the starting node of the endpointb
- the ending node of the endpointarrow
- the desired endpoint value
-