Class Edges

java.lang.Object
edu.cmu.tetrad.graph.Edges

public final class Edges extends Object
This factory class produces edges of the types commonly used for Tetrad-style graphs. For each method in the class, one supplies a pair of nodes, and an edge is returned, connecting those nodes, of the specified type. Methods are also included to help determine whether a specified edge falls into one of the types produced by this factory. It's entirely possible to produce edges of these types other than by using this factory. For randomUtil, an edge counts as a directed edge just in case it has one null endpoint and one arrow endpoint. Any edge which has one null endpoint and one arrow endpoint will do, whether or not this factory produced it. These helper methods provide a uniform way of testing whether an edge is in fact, e.g., a directed edge (or any of the other types).
Version:
$Id: $Id
Author:
josephramsey