boolean function ( int arg0 , int arg1 ) { checkRange ( arg0 , arg1 ) ; return fullCheck . connected ( area , getIndex ( arg0 , arg1 ) ) ; }
full means from this point do we have a connection to the top virtual however , once percolation occurs the entire bottom row will be connected not just the path that we want , this is called `` backwash '' to prevent isfull from returning true for backwash sites ensure any site that is connected also ... concode_field_sep int area concode_elem_sep int side concode_elem_sep WeightedQuickUnionUF fullCheck concode_elem_sep WeightedQuickUnionUF siteMatrix concode_elem_sep boolean[] open concode_field_sep boolean isOpen concode_elem_sep int getIndex concode_elem_sep void main concode_elem_sep void union concode_elem_sep void siteUnionOnly concode_elem_sep boolean percolates concode_elem_sep void open concode_elem_sep void checkRange