Skip to content

Commit

Permalink
Rename draft to 'LayeredRandomization'
Browse files Browse the repository at this point in the history
Avoids implication that this comes close to Random State quality
  • Loading branch information
gregorbg committed Nov 16, 2022
1 parent c1fbe98 commit 8a5b154
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.Random;
import java.util.logging.Level;

public class OuterRandomCubePuzzle extends CubePuzzle {
public class LayeredRandomizationCubePuzzle extends CubePuzzle {
private final ThreadLocal<ThreeByThreeCubePuzzle> threeScrambler;
private final ThreadLocal<TwoByTwoCubePuzzle> twoScrambler;

Expand All @@ -17,7 +17,7 @@ public class OuterRandomCubePuzzle extends CubePuzzle {
// to centers will be scrambled.
private static final int EXCLUDE_OUTER_LAYERS = 1;

public OuterRandomCubePuzzle(int size) {
public LayeredRandomizationCubePuzzle(int size) {
super(size);

this.threeScrambler = new ThreadLocal<ThreeByThreeCubePuzzle>() {
Expand All @@ -37,12 +37,12 @@ protected TwoByTwoCubePuzzle initialValue() {

@Override
public String getLongName() {
return super.getLongName() + " (outer-random)";
return super.getLongName() + " (layered randomization)";
}

@Override
public String getShortName() {
return super.getShortName() + "or";
return super.getShortName() + "lrand";
}

@Override
Expand Down

0 comments on commit 8a5b154

Please sign in to comment.