Add toString() for WWC input data.

This commit is contained in:
Holt59 2018-03-10 20:00:18 +01:00
parent ee241b963a
commit 2a77c2d271

View File

@ -5,12 +5,17 @@ import org.insa.graph.Graph;
public class WeaklyConnectedComponentsData extends AbstractInputData { public class WeaklyConnectedComponentsData extends AbstractInputData {
/** /**
* *
* @param graph * @param graph
*/ */
public WeaklyConnectedComponentsData(Graph graph) { public WeaklyConnectedComponentsData(Graph graph) {
super(graph); super(graph);
} }
@Override
public String toString() {
return "Weakly-connected components from #0.";
}
} }