Find the minimum frequency task type ( miniind ) and frequency ( mini ) .
for ( int j = 0 ; j <= m ; j ++ ) { if ( isRunning [ j ] && mini > freqarr [ i ] . get ( j ) ) { mini = freqarr [ i ] . get ( j ) ; miniind = j ; } }