Any class implementing this abstract class can be used to solve
the problem of finding weakly connected components in an undirected
graph or in a directed graph which will be considered as an undirected one.
This class can be used to solve the problem of finding weakly connected
components in an undirected graph or in a directed graph which will
be considered as an undirected one.