( LRG lrg )
| 107 | assert leader(); |
| 108 | if( lrg==null ) return this; |
| 109 | lrg = lrg.find(); |
| 110 | if( lrg==this ) return this; |
| 111 | return _lrg < lrg._lrg ? _union(lrg) : lrg._union(this); |
| 112 | } |
| 113 | // Union `this` and `lrg`, folding together all stats. |
| 114 | private LRG _union( LRG lrg ) { |
| 115 | // Set U-F leader |
| 116 | lrg._leader = this; |
| 117 | // Fold together stats |
| 118 | if( _machDef==null ) { |