mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-02 10:47:31 +02:00
Added QuickSort based on 3-way partitioning.
This commit is contained in:
@@ -299,7 +299,7 @@ Bdc_SpfdPrint( pNode + i, 1, vLevels, Truth );
|
||||
goto cleanup;
|
||||
}
|
||||
}
|
||||
pPerm = Abc_SortCost( Vec_IntArray(vWeight), c );
|
||||
pPerm = Abc_MergeSortCost( Vec_IntArray(vWeight), c );
|
||||
assert( Vec_IntEntry(vWeight, pPerm[0]) <= Vec_IntEntry(vWeight, pPerm[c-1]) );
|
||||
|
||||
printf( "Best SPFD = %d.\n", Vec_IntEntry(vWeight, pPerm[c-1]) );
|
||||
|
||||
Reference in New Issue
Block a user