Component Frameworks for Data Structures
SIGCSE 2004
Dung "Zung" Nguyen
Stephen Wong
Rice University
Roadmap:
Immutable Lists
What is a List?
Abstract Structure
Composite Design Pattern
What is an algorithm on a list?
Interpreter pattern
Recursion
Play-acting & Examples
Decoupling algorithms from data structures
Abstract Behavior
Separation of Variant and Invariant
Intrinsic vs. Extrinsic Behaviors
Visitor Design Pattern
Examples
Does it all depend on the list implementation?
Abstract Construction
Factory design pattern
Examples
Mutable Lists
State Design Pattern
LRStruct
Visitors to LRStruct : OOT vs. NOOT