Example #1
0
 /**
  * ECR-union e1 and e2, return the updated root
  *
  * @param e1
  * @param e2
  * @return
  */
 private ECR union(ECR e1, ECR e2) {
   uf.union(e1, e2);
   return findRoot(e1);
 }