public void process ( List < EllipseInfo > ellipses , List < List < Node > > output ) { init ( ellipses ) ; connect ( ellipses ) ; output . clear ( ) ; for ( int i = 0 ; i < clusters . size ( ) ; i ++ ) { List < Node > c = clusters . get ( i ) ; // remove noise removeSingleConnections ( c ) ; if ( c . size ( ) >= minimumClusterSize ) { output . add ( c ) ; } } }
Processes the ellipses and creates clusters .