2001
DOI: 10.1145/366413.364597
|View full text |Cite
|
Sign up to set email alerts
|

Design patterns for sorting

Abstract: Drawing on Merritt's divide-and-conquer sorting taxonomy [1], we model comparison-based sorting as an abstract class with a template method to perform the sort by relegating the splitting and joining of arrays to its concrete subclasses. Comparison on objects is carried out via an abstract ordering strategy. This reduces code complexity and simplifies the analyses of the various concrete sorting algorithms. Performance measurements and visualizations can be added without modifying any code by utilizing the dec… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
10
0

Year Published

2002
2002
2021
2021

Publication Types

Select...
5
2

Relationship

1
6

Authors

Journals

citations
Cited by 10 publications
(10 citation statements)
references
References 1 publication
0
10
0
Order By: Relevance
“…Some studies [6,18] pointed at the gap between the ideas emphasized in OO programming and ideas taught in algorithms courses, especially due to the fact that most Data Structures and Algorithms texts use a procedural approach.…”
Section: Discussionmentioning
confidence: 99%
See 1 more Smart Citation
“…Some studies [6,18] pointed at the gap between the ideas emphasized in OO programming and ideas taught in algorithms courses, especially due to the fact that most Data Structures and Algorithms texts use a procedural approach.…”
Section: Discussionmentioning
confidence: 99%
“…Some researchers found that there is a serious conceptual and technical gap between ideas emphasized in OO programming and ideas taught in algorithms courses [18,6]. Object-Oriented programming encourages thinking about and organizing software around data.…”
Section: Background 11 Shifting To Object-oriented Programmingmentioning
confidence: 99%
“…It is interesting to compare the sorting-machine interface to the abstract class for sorting presented in [5]. By our understanding, the latter conforms to P2, could be considered to conform to P1 (although we suspect this was not intended), and does not conform to P3 through P5.…”
Section: "2: Hide Algorithms Used To Implement Operationsmentioning
confidence: 99%
“…As far as Data Structures goes, there have been important accomplishments in using both Abstract Data Structures [13,14,19], and patterns for typical problems such as sorting [15,16]. There are various textbooks [5,19] that go beyond data structures into algorithm analysis, but fail to treat the algorithms taking into account OO hierarchies and inheritance.…”
Section: Related Workmentioning
confidence: 99%