Rename flowcharts
This commit is contained in:
44
Sorting/SorterClassDiagram.md
Normal file
44
Sorting/SorterClassDiagram.md
Normal file
@@ -0,0 +1,44 @@
|
||||
```mermaid
|
||||
classDiagram
|
||||
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 QuickSorter{
|
||||
#sort() void
|
||||
-quickSort()
|
||||
-partition()
|
||||
}
|
||||
|
||||
class InsertionSorter{
|
||||
#sort() void
|
||||
}
|
||||
|
||||
class RandomNumberFileMaker{
|
||||
-String filname
|
||||
-int count
|
||||
-int max
|
||||
-int min
|
||||
+writeFile(): void
|
||||
}
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user