mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 01:35:16 +08:00
Update ConnectedComponent.java
This commit is contained in:
@ -3,9 +3,9 @@ import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* A class that counts the number of connected components in a graph
|
||||
* A class that counts the number of different connected components in a graph
|
||||
*
|
||||
* @author Lukas Keul
|
||||
* @author Lukas Keul, Florian Mercks
|
||||
*
|
||||
*/
|
||||
class Graph<E extends Comparable<E>> {
|
||||
|
Reference in New Issue
Block a user