An efficient algorithm for sequential random sampling
β Scribed by Vitter, Jeffrey Scott
- Book ID
- 121220446
- Publisher
- Association for Computing Machinery
- Year
- 1987
- Tongue
- English
- Weight
- 764 KB
- Volume
- 13
- Category
- Article
- ISSN
- 0098-3500
No coin nor oath required. For personal study only.
β¦ Synopsis
We examine several methods for drawing a sequential random sample of
n
records from a file containing
N
records. Method D is recommended for general use. The algorithm is on-line (so that CPU time can be overlapped with I/O), has a small constant memory requirement, and is easy to program. An improved implementation is detailed in the Appendix.
π SIMILAR VOLUMES
Detecting circles from a digital image is very important in shape recognition. In this paper, an efficient randomized algorithm (RCD) for detecting circles is presented, which is not based on the Hough transform (HT). Instead of using an accumulator for saving the information of the related paramete