I study preprocessing that preserves the answer to a distance decision.
Use case
An exact reversal sorter may only need to decide whether three moves suffice. I group strips of consecutive values and apply the proved budget-dependent reduction. Parameterised solver benchmarks are a natural use case.
Regression fixture
The example uses breadth-first search on (3,2,1,5,4) and on its shortened version (2,1,4,3). The exact distances are 4 and 3. Always retaining two representatives would give the wrong decision at budget three. My contribution is this fixture together with the lifting condition for the kernel.
Next step
I will measure visited vertices before and after reduction for long-strip instances and check every lifted path. A different move set would require a new lifting proof.
Reproducing the example
After extracting the files, I run python experience.py (Python 3.10+). The file resultats.json contains the reference output.
Prior work
Download bilingual starter kit ↓