Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acb2d6dbba |
@@ -257,6 +257,7 @@ function MakePairsV3(callback){
|
||||
tree = [];
|
||||
done=false;
|
||||
|
||||
while(max_pairs>0){
|
||||
for (let i=0;i<names.length;i++){
|
||||
for (let j=0;j<=i;j++){
|
||||
if (matrix[i][j] === 0){
|
||||
@@ -266,6 +267,11 @@ function MakePairsV3(callback){
|
||||
}
|
||||
if (done) break;
|
||||
}
|
||||
if (done) break;
|
||||
max_pairs--;
|
||||
}
|
||||
|
||||
|
||||
|
||||
let max_count_index = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user