question: public int [ ] numVerticesSampled ( Set < ? extends SampledVertex > vertices ) { int it = - 1 ; TIntIntHashMap map = new TIntIntHashMap ( ) ; for ( SampledVertex v : vertices ) { if ( v . isSampled ( ) ) { map . adjustOrPutValue ( v . getIterationSampled ( ) , 1 , 1 ) ; it = Math . max ( it , v . getIterationSampled ( ) ) ; } } int [ ] list = new int [ it + 1 ] ; for ( int i = 0 ; i <= it ; i ++ ) { list [ i ] = map . get ( i ) ; } return list ; }
target:  Returns an array with the number of sampled vertices per iteration.