private void Oll() { OllPattern p = new OllPattern(); Algorithm oll = p.FindBestMatch(Pattern.FromRubik(this.Rubik), CubeFlag.TopLayer, PatternFilter.SameFlipCount); if (oll != null) { SolverAlgorithm(oll); // else no oll algorithm required } }
private void Oll() { OllPattern p = new OllPattern(); Algorithm oll = p.FindBestMatch(Pattern.FromRubik(this.Rubik), CubeFlag.TopLayer, PatternFilter.SameFlipCount); if (oll != null) SolverAlgorithm(oll); // else no oll algorithm required }