Add toString() for WWC input data.
This commit is contained in:
parent
ee241b963a
commit
2a77c2d271
1 changed files with 13 additions and 8 deletions
|
@ -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.";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue