public function findDistinct()
	{
		$a = [];
		foreach ($this->parents as $x => $r) {
			$a[$this->find($x)] = null;
		}
		return array_keys($a);
	}
public function findDistinct()
	{
		$a = [];
		foreach ($this->parents as $x => $r) {
			$a[$this->find($x)] = null;
		}
		return array_keys($a);
	}
public function findDistinct ( ) { $ a = [ ] ; foreach ( $ this -> parents as $ x => $ r ) { $ a [ $ this -> find ( $ x ) ] = null ; } return array_keys ( $ a ) ; }
Get a representative for each component.
Get a representative for each component .