She lives in the best suburb. She goes to the finest school. Her family is wealthy and powerful. She has everything money can buy. So why are there reporters outside her house? And why is her father telling lies on television? And why is the Premier talking about them in State Parliament? Something
Spot-Checkers
✍ Scribed by Funda Ergün; Sampath Kannan; S.Ravi Kumar; Ronitt Rubinfeld; Mahesh Viswanathan
- Publisher
- Elsevier Science
- Year
- 2000
- Tongue
- English
- Weight
- 370 KB
- Volume
- 60
- Category
- Article
- ISSN
- 0022-0000
No coin nor oath required. For personal study only.
✦ Synopsis
On Labor Day weekend, the highway patrol sets up spot-checks at random points on the freeways with the intention of deterring a large fraction of motorists from driving incorrectly. We explore a very similar idea in the context of program checking to ascertain with minimal overhead that a program output is reasonably correct. Our model of spot-checking requires that the spot-checker must run asymptotically much faster than the combined length of the input and output. We then show that the spot-checking model can be applied to problems in a wide range of areas, including problems regarding graphs, sets, and algebra. In particular, we present spot-checkers for sorting, convex hull, element distinctness, set containment, set equality, total orders, and correctness of group and field operations. All of our spot-checkers are very simple to state and rely on testing that the input andÂor output have
📜 SIMILAR VOLUMES