ABSTRACT

This chapter discusses two kinds of analyses solving ad hoc problems, mechanism Analysis and statistical Analysis. Ad hoc means “for the special purpose or end presently under consideration.” There are no classical algorithms that can solve these ad hoc problems. Programmers need to design specific algorithms to solve ad hoc problems. There are two strategies to design algorithms for solving ad hoc problems: mechanism analysis and statistical analysis. Mechanism analysis examines the characteristics and internal mechanisms of an object to find a mathematical representation of the problem. The input consists of several lines, and in each line there is a test case. Texas is the state with the largest number of cows in the United States: according to the 2005 report of the National Agricultural Statistics Service, the bovine population of Texas is 13.8 million. A mixture of two test materials gives a new test material that can test diseases for at least one of the mixed materials tested.