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 Type
    Method
    Description
    void
    Adds a graph to the class.
    getGraph(int g)
    Gets a graph at a specific index
    int
     
  • Method Details

    • getNumGraphs

      int getNumGraphs()
      Returns:
      int
    • getGraph

      Graph getGraph(int g)
      Gets a graph at a specific index
      Parameters:
      g - The index of the graph to return
      Returns:
      Graph
    • addGraph

      void addGraph(Graph g)
      Adds a graph to the class.
      Parameters:
      g - The graph to add to the class.