Lecture overview -- Keyboard shortcut: 'u'  Previous page: The Visitor design pattern -- Keyboard shortcut: 'p'  Next page: Towards a Visitor solution -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Abstract classes, Interfaces, and Patterns - slide 34 : 37

Natural object-oriented IntSequence traversals

We will study Min, Max, and Sum traversals of integer sequences

Integer sequences are represented as a Composite (trees) of intervals, singulars and composite sequences

Sequence.cs
The abstract class IntSequence.
Sequence.cs
The class IntInterval.
Sequence.cs
The class IntSingular.
Sequence.cs
The class IntCompSeq.
App.cs
A sample application of IntSequences.
output
Program output.