Package edu.cmu.tetrad.graph
Interface GraphGroup
- All Known Implementing Classes:
Ling.StoredGraphs
public interface GraphGroup
I couldn't find a mechanism in place to manage algorithm that return
potentially more than 1 graph. As such, this interface helps with that.
Created by IntelliJ IDEA. User: Mark Whitehouse Date: Nov 28, 2008 Time: 7:55:55 PM To change this template use File | Settings | File Templates.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a graph to the class.getGraph
(int g) Gets a graph at a specific indexint
-
Method Details
-
getNumGraphs
int getNumGraphs()- Returns:
- int
-
getGraph
Gets a graph at a specific index- Parameters:
g
- The index of the graph to return- Returns:
- Graph
-
addGraph
Adds a graph to the class.- Parameters:
g
- The graph to add to the class.
-