public boolean equals(Split split){
  return (A.equals(split.A) && B.equals(split.B)) || (A.equals(split.B) && B.equals(split.A));
}

public boolean equals ( Split split ) { return ( A . equals ( split . A ) && B . equals ( split . B ) ) || ( A . equals ( split . B ) && B . equals ( split . A ) ) ; }
are the two splits equalovershorterofboth as set bipartitionings ( ignoring weights )
