public class WeightedEdgeLineProcessor extends Object implements EdgeLineProcessor<Double>
0<delim>1<delim>weight. Order per line is nodeFrom -> nodeTo, in
the case of directed edges, and the weights are assumed to be doubles
i.e., one edge per line without any additional edge information| Constructor and Description |
|---|
WeightedEdgeLineProcessor(String delimiter,
boolean directed) |
WeightedEdgeLineProcessor(String delimiter,
boolean directed,
String... skipLinesStartingWith) |
| Modifier and Type | Method and Description |
|---|---|
Edge<Double> |
processLine(String line)
Process a line of text into an edge.
|
public WeightedEdgeLineProcessor(String delimiter, boolean directed)
public Edge<Double> processLine(String line)
EdgeLineProcessorprocessLine in interface EdgeLineProcessor<Double>Copyright © 2016. All Rights Reserved.