Skip to content

Commit e258d6e

Browse files
committed
overwrite almost sorted test
1 parent 473d0c7 commit e258d6e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ For annealing sort, it is tested over the following temparature and repetition s
185185

186186
* Annealing 3 (Temp 3: [1024, 512, 216, 128, 64, 32, 16, 8, 4, 2, 1, 0], Rep 3: [7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0])
187187

188-
* Annealing 4 (Temp 4: [929, 243, 81, 27, 9, 3, 0], Rep 4: [2, 2, 2, 2, 2, 2, 0])
188+
* Annealing 4 (Temp 4: [243, 81, 27, 9, 3, 0], Rep 4: [2, 2, 2, 2, 2, 0])
189189

190190
* Annealing 5 (Temp 5: [256, 64, 16, 4, 0], Rep 5: [5, 5, 5, 5, 0])
191191

@@ -219,7 +219,7 @@ In this section, the input testing data is permuted using uniformly distributed
219219

220220
The best two cases of annealing sort are: annealing 2 (orange line) and annealing 4 (red line). The lines of these two different parameters almost overlapped. Annealing 4 is a little bit better than annealing 2.
221221

222-
Annealing 4 has temparature sequence: [929, 243, 81, 27, 9, 3, 0] and reqetition sequence: [2, 2, 2, 2, 2, 2, 0]
222+
Annealing 4 has temparature sequence: [243, 81, 27, 9, 3, 0] and reqetition sequence: [2, 2, 2, 2, 2, 0]
223223

224224
### Almost-sorted permutations
225225

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ int main()
140140
const vector<int>& temps1{1600, 800, 400, 200, 100, 50, 25, 0};
141141
const vector<int>& temps2{1000, 800, 600, 400, 200, 0};
142142
const vector<int>& temps3{1024, 512, 216, 128, 64, 32, 16, 8, 4, 2, 1, 0};
143-
const vector<int>& temps4{929, 243, 81, 27, 9, 3, 0};
143+
const vector<int>& temps4{243, 81, 27, 9, 3, 0};
144144
const vector<int>& temps5{256, 64, 16, 4, 0};
145145
const vector<int>& temps6{1000, 850, 700, 550, 400, 250, 0};
146146
const vector<int>& repetitions1{5, 5, 5, 5, 5, 5, 5, 0};

0 commit comments

Comments
 (0)