compute the intra-set similarity of an item collection . concode_field_sep CorrelationMatrix itemCorrelations concode_field_sep List<Integer> diversifySequential
double function ( Collection < Integer > arg0 , CorrelationMatrix arg1 ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . size ( ) ; loc1 ++ ) for ( int loc2 = loc1 + 1 ; loc2 < arg0 . size ( ) ; loc2 ++ ) loc0 += arg1 . get ( loc1 , loc2 ) ; return loc0 ; }