updating class diagram

This commit is contained in:
2020-06-04 16:29:42 -05:00
parent 8753939edf
commit a4f9682a4a

View File

@@ -1,15 +1,38 @@
```mermaid ```mermaid
classDiagram classDiagram
Sorter <|-- BubbleSorter Sorter <|-- QuickSorter
Sorter <|-- QuickSorter Sorter <|-- CountingoSorter
Sorter <|-- MergeSorter
Sorter <|-- InsertionSorter
Sorter <|-- SelectionSorter
Sorter <|-- BubbleSorter
class Sorter{
<<abstract>>
+SortResult measuredSort()
#sort() void
#String sortType
#Integer[] numbers
#String writesUsed
#String comparisonsUsed
#compare() int
#swap() void
}
class BubbleSorter{
#sort()
}
class Sorter{ class QuickSorter{
<<abstract>> #sort() void
# String sortType -quickSort()
# Integer[] numbers -partition()
*sort()*
} }
class BubbleSorter{
void sort() class InsertionSorter{
#sort() void
} }
class RandomNumberFileMaker
``` ```