Package es.uam.eps.ir.relison.io.graph
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
-
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.
-