<pre name="code" class="java">for(int i=0; i<matrix.length; i++){ for(int j=0; j<i; j++){ if(matrix[i][j] > MIN_VALUE){ writerEdge(writer, matrix, j, i); } } }
for(int i=0; i<matrix.length; i++){ for(int j=0; j<i && matrix[i][j] > MIN_VALUE; j++ ){ writerEdge(writer, matrix, j, i); } }
与下列情况
与