Interface GraphReader<G extends Hypergraph<V,E>,V,E>

Type Parameters:
G - the graph type
V - the vertex type the vertex type
V - the edge type the edge type
All Known Implementing Classes:
GraphMLReader2

public interface GraphReader<G extends Hypergraph<V,E>,V,E>
Interface for a reader of graph objects
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this resource and frees any resources.
    Reads a single graph object, if one is available.
  • Method Details

    • readGraph

      G readGraph() throws GraphIOException
      Reads a single graph object, if one is available.
      Returns:
      the next graph object, or null if none exists.
      Throws:
      GraphIOException - thrown if an error occurred.
    • close

      void close() throws GraphIOException
      Closes this resource and frees any resources.
      Throws:
      GraphIOException - thrown if an error occurred.