mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
give pruned paths the same rank
This commit is contained in:
parent
da6f94b7ad
commit
9525aa8a6a
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ public:
|
|||
|
||||
for (int i = 0; i < TYPE::SIZE; ++i)
|
||||
if (((state[i] & 8064) >> 7) != ((state[i] & 126) >> 1))
|
||||
metric[i] += 1000000;
|
||||
metric[i] = 1000000;
|
||||
int perm[TYPE::SIZE];
|
||||
CODE::insertion_sort(perm, metric, TYPE::SIZE);
|
||||
for (int i = 0, r = 0; rank != nullptr && i < TYPE::SIZE; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue