Class TextMultiGraphReader<V>

java.lang.Object
es.uam.eps.ir.relison.io.graph.TextGraphReader<V>
es.uam.eps.ir.relison.io.graph.TextMultiGraphReader<V>
Type Parameters:
V - the type of the nodes.
All Implemented Interfaces:
GraphReader<V>

public class TextMultiGraphReader<V>
extends TextGraphReader<V>
Class that reads a multi-graph from a file.

For the format,

See Also:
TextGraphReader
  • Constructor Summary

    Constructors 
    Constructor Description
    TextMultiGraphReader​(boolean directed, boolean weighted, boolean selfloops, java.lang.String delimiter, org.ranksys.formats.parsing.Parser<V> uParser)
    Constructor.
  • Method Summary

    Methods inherited from class es.uam.eps.ir.relison.io.graph.TextGraphReader

    read, read, read, read, read, read

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TextMultiGraphReader

      public TextMultiGraphReader​(boolean directed, boolean weighted, boolean selfloops, java.lang.String delimiter, org.ranksys.formats.parsing.Parser<V> uParser)
      Constructor.
      Parameters:
      directed - true if the graph is directed, false otherwise.
      weighted - true if the graph is weighted, false otherwise.
      selfloops - true if we allow self loops, false otherwise.
      delimiter - file delimiter.
      uParser - parser for reading the nodes.