Slide 12
Slide 12 text
Program Enumeration
Liang Gong, Electric Engineering & Computer Science, University of California, Berkeley.
Goal: Enumerate all identifier mutations
• Step-2: fill in the holes in a skeleton
• Formulate as a set partition problem (well-known)
12
Generated Test
Skeleton Generated Test
2
1
3
4 5 6
{ {1,3,4,5}, {2, 6} } { {1,3,4,5}, {2, 6} }
64 (naive)
31 (set partition)