Package edu.cmu.tetrad.graph
package edu.cmu.tetrad.graph
-
ClassDescriptionLazily enumerates the consistent DAG extensions of a DAG or CPDAG.Represents a directed acyclic graph--that is, a graph containing only directed edges, with no cycles.Represents an edge node1 *-# node2 where * and # are endpoints of type Endpoint--that is, Endpoint.TAIL, Endpoint.ARROW, or Endpoint.CIRCLE.A property of an edge.Stores a graph a list of lists of edges adjacent to each node in the graph, with an additional list storing all of the edges in the graph.Strategy interface: given a seed edge E on graph G, return the full set of mirrored edges that should be kept in sync with E.This factory class produces edges of the types commonly used for Tetrad-style graphs.A small color-vision-safe palette for shading graph edges by the sign and strength of an estimated effect.The hue families.Apr 13, 2017 3:56:46 PMAn enumeration of the different types of edges.A enumeration of the endpoint types that are permitted in Tetrad-style graphs: null (-), arrow (->), circle (-o), start (-*), and null (no endpoint).Implements a graph capable of storing edges of type N1 *-# N2 where * and # are endpoints of type Endpoint.Utility class providing factory methods for creating instances of different types of Graph objects.Implements a basic node in a graph--that is, a node that is not itself a variable.Methods to load or save graphs.Transformations that transform one graph into another.Utility class for working with graphs.Represents a comparison between two graphs.The GraphType enum represents the types of graphs that can be used in the application.Two-cycle errors.Stores a triple (x, y, z) of nodes.Implements a graph allowing nodes in the getModel time lag to have parents taken from previous time lags.SVAR-style lag mirroring policy.LayoutUtil class.The layouts that can serve as the default layout: the ones that need nothing but the graph.Lays out a graph by linearly summing repulsive force between all nodes and attractive force between adjacent nodes.Lays out a graph by placing springs between the nodes and letting the system settle (one node at a time).Callback interface for reporting layout progress.Supplies the rendered box size of each node, so a layout can space nodes by what they actually take up on screen.No-op listener for headless / non-GUI use.Swing adapter that wraps a
ProgressMonitor.Lazily enumerates the Loyal Equivalent Graphs (LEGs) of a directed Markov equivalence class by walking the class transformationally, via Zhang & Spirtes' legitimate directed-edge reversals rather than by re-orienting the circle component from scratch.Some utilities for generating misclassification tables for graphs.Represents an object with a name, node type, and position that can serve as a node in a graph.An unordered pair of nodes.An enum of the node types in a graph (MEASURED, LATENT, ERROR).Node variable type.OrderedPair<E>An ordered pair of objects.Paths class.An algorithm to find all cliques in a graph.Represents the result of a CPDAG legality check.Enumeration representing various violations associated with CPDAGs (Completed Partially Directed Acyclic Graphs).The RandomGraph class provides methods for generating random graphs.Generates random DAGs uniformly with certain classes of DAGs using variants of Markov chain algorithm by Malancon, Dutour, and Philippe.Flexible MIM (Multiple Indicator Model) generator.Specification for a block of groups sharing the same rank and number of children per latent.Enum representing the mode of linking between latent nodes across groups in the meta-DAG.Flexible MIMIC (Multiple Indicators Multiple Causes) graph generator.Specification for a block of MIMIC groups sharing the same structure.EdgeListGraph subclass that applies anEdgeReplicationPolicywhenever edges are added/removed or endpoints are oriented.Tests for ReplicatingGraph with LagReplicationPolicy.Represents the graphical structure of a structural equation model.Represents a time series graph--that is, a graph with a fixed number S of lags, with edges into initial lags only--that is, into nodes in the first R lags, for some R.Represents a NodeId with a name and a lag value.Stores a triple (x, y, z) of nodes.Marks a search algorithm as a triad classifier and returns the triad classifications if makes.Underlines class.Lazily enumerates EVERY valid causal order of a DAG or CPDAG, each exactly once.