Closed DougCube closed 1 year ago
It also works if I modify the SCR file to make the pieces indistinguishable there, but doing this manually is very inconvenient.
This is the intended behavior. The Solved state and the Scramble files must match with regard to indistinguishable pieces; these are puzzle states, and must reflect the same sets of indistinguishable pieces.
If they do not match, it is impossible to permute from one state (the scramble) to the other state (solved), no matter what moves are provided. I'm not sure what behavior you intend.
On Fri, Nov 10, 2023 at 11:55 AM DougCube @.***> wrote:
It also works if I modify the SCR file to make the pieces indistinguishable there, but doing this manually is very inconvenient.
— Reply to this email directly, view it on GitHub https://github.com/cubing/twsearch/issues/45#issuecomment-1806355667, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMOLS5XOZMWRETP4M5GQ7DYD2BDNAVCNFSM6AAAAAA7GUFODOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGM2TKNRWG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
--
I was hoping that it would automatically map the distinguished pieces in the scramble state to the indistinguishable indexing.
I guess I'm a bit stuck. What I'm trying to do is use a random state generated by the '-r' with the full puzzle and run it thru a partial solver which uses a simplified TWS file. Because I then want to take the output of this and compose with the random scramble state and run the full solver/TWS on it.
I'm sure I can do it with scripting and post-processing but I'm looking for an easier method.
I don't have an immediate fix for you, or any sort of workaround. I'd recommend forking and adding some sort of support for this that has the actual semantics you want, if this is a blocker for you.
On Fri, Nov 10, 2023 at 12:50 PM DougCube @.***> wrote:
I was hoping that it would automatically map the distinguished pieces in the scramble state to the indistinguishable indexing.
I guess I'm a bit stuck. What I'm trying to do is use a random state generated by the 'r' with the full puzzle and run it thru a partial solver which uses a simplified TWS file. Because I then want to take the output of this and compose with the random scramble state and run the full solver/TWS on it.
I'm sure I can do it with scripting and post-processing but I'm looking for an easier method.
— Reply to this email directly, view it on GitHub https://github.com/cubing/twsearch/issues/45#issuecomment-1806413339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMOLS4F6BIUJUW6BHNFI7DYD2HSTAVCNFSM6AAAAAA7GUFODOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGQYTGMZTHE . You are receiving this because you commented.Message ID: @.***>
--
Closing because this is as-designed. If different functionality is requested, please phrase as a feature request.
I attached a simple TWS file and SCR file.
When I run it, I get this:
But it works find if I get rid of the indistinguishable pieces with changing Solved from this
to this
And it also works when I used a ScrambleAlg instead of a Scramble state. I think it is only allowing me to give state with the indistinguishable pieces, like only MIDGE 1 and 2. But the scramble state was taken from a '-r' output with the larger full state space definition.
bug_from_doug.zip