We present two new algorithms for searching in sorted X ุ Y ุ R ุ S, one based on heaps and the other on sampling. Each of the algorithms runs in time O(n 2 log n) (n being the size of the sorted arrays X, Y, R, and S). Hence in each case, by constructing arrays of size n โซุโฌ O(2 s/4 ), we obtain a
Adaptive parallel algorithms for integral knapsack problems
โ Scribed by Shang-Hua Teng
- Book ID
- 108016299
- Publisher
- Elsevier Science
- Year
- 1990
- Tongue
- English
- Weight
- 755 KB
- Volume
- 8
- Category
- Article
- ISSN
- 0743-7315
No coin nor oath required. For personal study only.
๐ SIMILAR VOLUMES
Chang et al. [Parallel Comput. (1994) 233] introduced a parallel algorithm based on a shared memory SIMD architecture for the generation phase of the classic Horowitz and Sahni [J. ACM 21(2) (1974) 277] two-list serial algorithm for the knapsack problem. They claimed that their parallel generation p
An n-element knapsack problem has 2" possible solutions to search over, so a task which can be accomplished in 2" trials if an exhaustive search is used. Due to the exponential time in solving the knapsack problem, the problem is considered to be very hard. In the past decade, much effort has been d