Minimum effort to detect a solved Rubik's CubeWhy is a single-corner twist not a valid position on a Rubik's cube?What is the superflip on the 4x4x4 Rubik's cube?3x3x3 Rubik's Cube Illegal StateHow many cubes can we fit in?Where is my girlfriend?Magnetic Rubik's cubeRubik's Chess PuzzleCan a single side of a Rubik's Cube legally contain all possible combinations of colors?Unsolvable enigmatic 3x3x3 Rubik's cube?Can this Rubik's cube be solved?
How easy is it to get a gun illegally in the United States?
Find only those folders that contain a File with the same name as the Folder
Is charge point-like or a smear?
Where to pee in London?
Is "safes" an acceptable alternative to "makes safe"
In MTG, was there ever a five-color deck that worked well?
Why do dragons like shiny stuff?
Purchased new computer from DELL with pre-installed Ubuntu. Won't boot. Should assume its an error from DELL?
Changing Row Keys into Normal Rows
Does the length of a password for Wi-Fi affect speed?
Is a switch from R to Python worth it?
Best way to explain to my boss that I cannot attend a team summit because it is on Rosh Hashana or any other Jewish Holiday
Does a 4 bladed prop have almost twice the thrust of a 2 bladed prop?
What is an air conditioner compressor hard start kit and how does it work?
Getting an entry level IT position later in life
What's going on with an item that starts with an hbox?
What is the probability of a biased coin coming up heads given that a liar is claiming that the coin came up heads?
Can I enter a rental property without giving notice if I'm afraid a tenant may be hurt?
How to approach protecting my code as a research assistant? Should I be worried in the first place?
Why is the Vasa Museum in Stockholm so Popular?
Why am I not getting stuck in the loop
Can you take actions after being healed at 0hp?
Only charge capacitor when button pushed then turn on LED momentarily with capacitor when button released
What was the role of Commodore-West Germany?
Minimum effort to detect a solved Rubik's Cube
Why is a single-corner twist not a valid position on a Rubik's cube?What is the superflip on the 4x4x4 Rubik's cube?3x3x3 Rubik's Cube Illegal StateHow many cubes can we fit in?Where is my girlfriend?Magnetic Rubik's cubeRubik's Chess PuzzleCan a single side of a Rubik's Cube legally contain all possible combinations of colors?Unsolvable enigmatic 3x3x3 Rubik's cube?Can this Rubik's cube be solved?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
When writing a program to permute a Rubik's Cube and then subsequently detect whether it is solved or not, what is the absolute minimum amount of programmatic effort required to determine if the cube is solved?
One can obviously check all six sides to determine if the cube is solved, and return early if anything appears out of order. One can also reduce that effort, by always ignoring one side, since five solved sides implies that the sixth side is solved.
Are there any other optimizations one can introduce?
Note: My attempts at googling this answer ended up with a lot of cube solving materials, and some code that actually detects solved cubes, but nothing in the way of optimal solutions to programmatically detecting a solved cube.
rubiks-cube
New contributor
$endgroup$
add a comment |
$begingroup$
When writing a program to permute a Rubik's Cube and then subsequently detect whether it is solved or not, what is the absolute minimum amount of programmatic effort required to determine if the cube is solved?
One can obviously check all six sides to determine if the cube is solved, and return early if anything appears out of order. One can also reduce that effort, by always ignoring one side, since five solved sides implies that the sixth side is solved.
Are there any other optimizations one can introduce?
Note: My attempts at googling this answer ended up with a lot of cube solving materials, and some code that actually detects solved cubes, but nothing in the way of optimal solutions to programmatically detecting a solved cube.
rubiks-cube
New contributor
$endgroup$
add a comment |
$begingroup$
When writing a program to permute a Rubik's Cube and then subsequently detect whether it is solved or not, what is the absolute minimum amount of programmatic effort required to determine if the cube is solved?
One can obviously check all six sides to determine if the cube is solved, and return early if anything appears out of order. One can also reduce that effort, by always ignoring one side, since five solved sides implies that the sixth side is solved.
Are there any other optimizations one can introduce?
Note: My attempts at googling this answer ended up with a lot of cube solving materials, and some code that actually detects solved cubes, but nothing in the way of optimal solutions to programmatically detecting a solved cube.
rubiks-cube
New contributor
$endgroup$
When writing a program to permute a Rubik's Cube and then subsequently detect whether it is solved or not, what is the absolute minimum amount of programmatic effort required to determine if the cube is solved?
One can obviously check all six sides to determine if the cube is solved, and return early if anything appears out of order. One can also reduce that effort, by always ignoring one side, since five solved sides implies that the sixth side is solved.
Are there any other optimizations one can introduce?
Note: My attempts at googling this answer ended up with a lot of cube solving materials, and some code that actually detects solved cubes, but nothing in the way of optimal solutions to programmatically detecting a solved cube.
rubiks-cube
rubiks-cube
New contributor
New contributor
New contributor
asked 8 hours ago
Chuck WolberChuck Wolber
1434 bronze badges
1434 bronze badges
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I think:
2 solved opposite layers and 3 of the remaining edges (from 4) is optimal
Also
3 faces in a horseshoe and a missing edge (from 2)
This leaves:
3 orthogonal faces and 2 of the missing edges (from 3)
Beyond this:
Any combination of 4 faces involves one of the above cases.
$endgroup$
2
$begingroup$
Maybe I'm misunderstanding something, but about the first one, don't you mean layers (so the complete 2/3 -sided cubies) instead of faces (a side of 3x3 stickers)? If not, how would you differentiate from a solved cube and let's say this cube? The white/yellow faces are solved, as well as the four edges in the middle layer.
$endgroup$
– Kevin Cruijssen
7 hours ago
1
$begingroup$
@KevinCruijssen; good point, I've fixed it.
$endgroup$
– JonMark Perry
7 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Chuck Wolber is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f86916%2fminimum-effort-to-detect-a-solved-rubiks-cube%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I think:
2 solved opposite layers and 3 of the remaining edges (from 4) is optimal
Also
3 faces in a horseshoe and a missing edge (from 2)
This leaves:
3 orthogonal faces and 2 of the missing edges (from 3)
Beyond this:
Any combination of 4 faces involves one of the above cases.
$endgroup$
2
$begingroup$
Maybe I'm misunderstanding something, but about the first one, don't you mean layers (so the complete 2/3 -sided cubies) instead of faces (a side of 3x3 stickers)? If not, how would you differentiate from a solved cube and let's say this cube? The white/yellow faces are solved, as well as the four edges in the middle layer.
$endgroup$
– Kevin Cruijssen
7 hours ago
1
$begingroup$
@KevinCruijssen; good point, I've fixed it.
$endgroup$
– JonMark Perry
7 hours ago
add a comment |
$begingroup$
I think:
2 solved opposite layers and 3 of the remaining edges (from 4) is optimal
Also
3 faces in a horseshoe and a missing edge (from 2)
This leaves:
3 orthogonal faces and 2 of the missing edges (from 3)
Beyond this:
Any combination of 4 faces involves one of the above cases.
$endgroup$
2
$begingroup$
Maybe I'm misunderstanding something, but about the first one, don't you mean layers (so the complete 2/3 -sided cubies) instead of faces (a side of 3x3 stickers)? If not, how would you differentiate from a solved cube and let's say this cube? The white/yellow faces are solved, as well as the four edges in the middle layer.
$endgroup$
– Kevin Cruijssen
7 hours ago
1
$begingroup$
@KevinCruijssen; good point, I've fixed it.
$endgroup$
– JonMark Perry
7 hours ago
add a comment |
$begingroup$
I think:
2 solved opposite layers and 3 of the remaining edges (from 4) is optimal
Also
3 faces in a horseshoe and a missing edge (from 2)
This leaves:
3 orthogonal faces and 2 of the missing edges (from 3)
Beyond this:
Any combination of 4 faces involves one of the above cases.
$endgroup$
I think:
2 solved opposite layers and 3 of the remaining edges (from 4) is optimal
Also
3 faces in a horseshoe and a missing edge (from 2)
This leaves:
3 orthogonal faces and 2 of the missing edges (from 3)
Beyond this:
Any combination of 4 faces involves one of the above cases.
edited 7 hours ago
answered 8 hours ago
JonMark PerryJonMark Perry
24.7k6 gold badges46 silver badges107 bronze badges
24.7k6 gold badges46 silver badges107 bronze badges
2
$begingroup$
Maybe I'm misunderstanding something, but about the first one, don't you mean layers (so the complete 2/3 -sided cubies) instead of faces (a side of 3x3 stickers)? If not, how would you differentiate from a solved cube and let's say this cube? The white/yellow faces are solved, as well as the four edges in the middle layer.
$endgroup$
– Kevin Cruijssen
7 hours ago
1
$begingroup$
@KevinCruijssen; good point, I've fixed it.
$endgroup$
– JonMark Perry
7 hours ago
add a comment |
2
$begingroup$
Maybe I'm misunderstanding something, but about the first one, don't you mean layers (so the complete 2/3 -sided cubies) instead of faces (a side of 3x3 stickers)? If not, how would you differentiate from a solved cube and let's say this cube? The white/yellow faces are solved, as well as the four edges in the middle layer.
$endgroup$
– Kevin Cruijssen
7 hours ago
1
$begingroup$
@KevinCruijssen; good point, I've fixed it.
$endgroup$
– JonMark Perry
7 hours ago
2
2
$begingroup$
Maybe I'm misunderstanding something, but about the first one, don't you mean layers (so the complete 2/3 -sided cubies) instead of faces (a side of 3x3 stickers)? If not, how would you differentiate from a solved cube and let's say this cube? The white/yellow faces are solved, as well as the four edges in the middle layer.
$endgroup$
– Kevin Cruijssen
7 hours ago
$begingroup$
Maybe I'm misunderstanding something, but about the first one, don't you mean layers (so the complete 2/3 -sided cubies) instead of faces (a side of 3x3 stickers)? If not, how would you differentiate from a solved cube and let's say this cube? The white/yellow faces are solved, as well as the four edges in the middle layer.
$endgroup$
– Kevin Cruijssen
7 hours ago
1
1
$begingroup$
@KevinCruijssen; good point, I've fixed it.
$endgroup$
– JonMark Perry
7 hours ago
$begingroup$
@KevinCruijssen; good point, I've fixed it.
$endgroup$
– JonMark Perry
7 hours ago
add a comment |
Chuck Wolber is a new contributor. Be nice, and check out our Code of Conduct.
Chuck Wolber is a new contributor. Be nice, and check out our Code of Conduct.
Chuck Wolber is a new contributor. Be nice, and check out our Code of Conduct.
Chuck Wolber is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Puzzling Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f86916%2fminimum-effort-to-detect-a-solved-rubiks-cube%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown