next up previous
Next: Packing Algorithm Up: Implementation Previous: Framework

Cookie Groups and the Composite Pattern

As discussed above, for the pre-processing strategies to be successful, they need to make use of fundamental strategies to actually arrange the cookie groups that they generate during pre-processing. By employing of the Composite  design pattern, the fundamental placers ``ignore the difference between compositions of objects and individual objects" ([1], p.164). In other words, they treat cookies and groups of cookies identically, thus abstracting away the complexity of rotating a fixed cookie set.



2003-10-14