Skip to content

Commit

Permalink
1.1.0 + demo App
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuszgromada committed Apr 16, 2016
1 parent eff1066 commit feffbf9
Show file tree
Hide file tree
Showing 81 changed files with 150 additions and 234 deletions.
Binary file added CURRENT/Janet-Sudoku-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -64,6 +64,7 @@ namespace org.mariuszgromada.math.janetsudoku.demoapp {
*
* @version 1.0.0
*/
[CLSCompliant(true)]
public sealed class JanetConsole {
/**
* Reads integer from keyboard.
Expand All @@ -75,6 +76,7 @@ public sealed class JanetConsole {
try {
consoleInt = int.Parse(line);
} catch (Exception e) {
e.GetHashCode();
consoleInt = -1;
}
return consoleInt;
Expand Down
Expand Up @@ -68,6 +68,7 @@ namespace org.mariuszgromada.math.janetsudoku.demoapp {
*
* @version 1.0.0
*/
[CLSCompliant(true)]
public class JanetSudoku {
/**
* Demo app version.
Expand Down Expand Up @@ -167,6 +168,7 @@ public class JanetSudoku {
case MenuData.LOAD_FROM_FILE: loadFromFile(); break;
case MenuData.LOAD_EXAMPLE: loadFromExample(); break;
case MenuData.LOAD_EMPTY_PUZZLE: trackPuzzleUndo(); puzzle = SudokuStore.boardCopy(SudokuPuzzles.PUZZLE_EMPTY); break;
case MenuData.LOAD_LIST_EXAMPLES: listPuzzleExamples(); break;
case MenuData.UNDO: performPuzzleUndo(); break;
case MenuData.REDO: performPuzzleRedo(); break;
default: incorrectSelection(); break;
Expand Down Expand Up @@ -215,6 +217,16 @@ public class JanetSudoku {
JanetConsole.println(">>> !!! Incorrect example number !!! <<<");
}
}
/**
* Prints puzzle examples identifiers along with difficulty rating.
*/
private void listPuzzleExamples() {
JanetConsole.println("");
for (int i = 0; i < SudokuPuzzles.NUMBER_OF_PUZZLE_EXAMPLES; i++) {
JanetConsole.println(">>> Example nr: " + i + ", rating = " + (int)SudokuPuzzles.getPuzzleExampleRating(i));
}
JanetConsole.println("");
}
/*
* ========================================
* Generate Menu
Expand Down Expand Up @@ -288,7 +300,7 @@ public class JanetSudoku {
* @see SudokuGenerator#PARAM_DO_NOT_TRANSFORM
* @see SudokuGenerator#generate()
*/
public void generateFromExample() {
private void generateFromExample() {
loadFromExample();
generateFromCurrentPuzzle();
}
Expand All @@ -300,7 +312,7 @@ public class JanetSudoku {
* @see SudokuGenerator#PARAM_DO_NOT_TRANSFORM
* @see SudokuGenerator#generate()
*/
public void generateFromCurrentPuzzle() {
private void generateFromCurrentPuzzle() {
generator = new SudokuGenerator(puzzle, SudokuGenerator.PARAM_DO_NOT_TRANSFORM);
setGeneratorOptions();
int[,] generated = generator.generate();
Expand Down Expand Up @@ -456,7 +468,7 @@ public class JanetSudoku {
*
* @see SudokuSolver#checkIfUniqueSolution()
*/
public void evaluateSolutions() {
private void evaluateSolutions() {
solver = new SudokuSolver(puzzle);
int solutionsInfo = solver.checkIfUniqueSolution();
JanetConsole.println(">>>");
Expand All @@ -472,11 +484,16 @@ public class JanetSudoku {
*
* @see SudokuStore#calculatePuzzleRating(int[,])
*/
public void ratePuzzleDifficulty() {
private void ratePuzzleDifficulty() {
int rating = SudokuStore.calculatePuzzleRating(puzzle);
JanetConsole.println(">>>");
JanetConsole.println(">>> Puzzle rating: " + rating);
JanetConsole.println(">>>");
if (rating >= 0) {
JanetConsole.println(">>>");
JanetConsole.println(">>> Puzzle rating: " + rating);
JanetConsole.println(">>>");
} else {
JanetConsole.println(">>> !!! Error code: " + rating + " !!! <<<");
JanetConsole.println(">>> " + ErrorCodes.getErrorDescription(rating));
}
}
/*
* ========================================
Expand Down Expand Up @@ -527,19 +544,23 @@ public class JanetSudoku {
*
* @see SudokuSolver#findAllSolutions()
*/
public void solveFindAll() {
private void solveFindAll() {
solver = new SudokuSolver(puzzle);
setSolverOptions();
int solutionsNumber = solver.findAllSolutions();
JanetConsole.println(">>>>>>>> Solution found: " + solutionsNumber);
JanetConsole.println(">>>>>>>> Solutions found: " + solutionsNumber);
if (solutionsNumber > 0) {
List<SudokuBoard> solutions = solver.getAllSolutionsList();
for (int i = 0; i < solutionsNumber; i++) {
SudokuBoard solution = solutions[i];
JanetConsole.println(">>>>> Solution nr: " + i);
JanetConsole.println(">>>>> Solution nr: " + i + "/" + solutionsNumber);
JanetConsole.println(">>>>> Path nr: " + solution.pathNumber);
JanetConsole.println(">>>>> Computing time: " + solver.getComputingTime() + " s.");
SudokuStore.consolePrintBoard(solution.board);
JanetConsole.println(">>>>>");
JanetConsole.println(">>>>> Hit enter o to continue (non empty line will cancel).");
String line = JanetConsole.readLine();
if (line.Length > 0) break;
}
} else {
JanetConsole.println(solver.getMessages());
Expand All @@ -553,7 +574,7 @@ public class JanetSudoku {
/**
* Saves current puzzle in the txt file.
*
* @see SudokuStore#saveBoard(int[,], String, String)
* @see SudokuStore#saveBoard(int[,], String)
*/
private void savePuzzle() {
JanetConsole.print("File path: ");
Expand All @@ -564,7 +585,7 @@ public class JanetSudoku {
JanetConsole.println(">>> !!! Error - file already exists !!! <<<");
return;
}
bool puzzleSaved = SudokuStore.saveBoard(puzzle, "Janet-Sudoku Demo App");
bool puzzleSaved = SudokuStore.saveBoard(puzzle, filePath);
if (puzzleSaved == false)
JanetConsole.println(">>> !!! Error while saving !!! <<<");
}
Expand Down
Expand Up @@ -120,13 +120,15 @@ internal sealed class MenuData {
internal const int LOAD_FROM_FILE = 3;
internal const int LOAD_EXAMPLE = 4;
internal const int LOAD_EMPTY_PUZZLE = 5;
internal const int LOAD_LIST_EXAMPLES = 6;
internal static String[] LOAD_CONTENT = {
/* 0 */ menuItem1(RETURN, "Return to main menu")
/* 1 */ , menuItem1(UNDO, "Puzzle undo")
/* 2 */ , menuItem1(REDO, "Puzzle redo")
/* 3 */ , menuItem1(LOAD_FROM_FILE, "Load from file")
/* 4 */ , menuItem1(LOAD_EXAMPLE, "Load example")
/* 5 */ , menuItem1(LOAD_EMPTY_PUZZLE, "Load empty puzzle")
/* 6 */ , menuItem1(LOAD_LIST_EXAMPLES, "List puzzle examples")
};
/**
* Main menu
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/allclasses-frame.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:50 CEST 2016 -->
<title>All Classes</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/allclasses-noframe.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:50 CEST 2016 -->
<title>All Classes</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/constant-values.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>Constant Field Values</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/deprecated-list.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:50 CEST 2016 -->
<title>Deprecated List</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/help-doc.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:50 CEST 2016 -->
<title>API Help</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-1.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>A-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-10.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>L-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-11.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>M-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-12.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>N-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-13.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>O-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-14.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>P-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
7 changes: 1 addition & 6 deletions CURRENT/doc/index-files/index-15.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>R-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down Expand Up @@ -111,11 +111,6 @@ <h2 class="title">R</h2>
<dd>
<div class="block">Random number generator for n returning random number between 1, 2, ... n.</div>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html#ratePuzzleDifficulty--">ratePuzzleDifficulty()</a></span> - Method in class org.mariuszgromada.math.janetsudoku.demoapp.<a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html" title="class in org.mariuszgromada.math.janetsudoku.demoapp">JanetSudoku</a></dt>
<dd>
<div class="block">Rate puzzle difficulty meaning as number of closed routes (number of
wrong guesses).</div>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetConsole.html#readInt--">readInt()</a></span> - Static method in class org.mariuszgromada.math.janetsudoku.demoapp.<a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetConsole.html" title="class in org.mariuszgromada.math.janetsudoku.demoapp">JanetConsole</a></dt>
<dd>
<div class="block">Reads integer from keyboard.</div>
Expand Down
6 changes: 1 addition & 5 deletions CURRENT/doc/index-files/index-16.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>S-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down Expand Up @@ -161,10 +161,6 @@ <h2 class="title">S</h2>
<dd>
<div class="block">Method starts solving procedure.</div>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html#solveFindAll--">solveFindAll()</a></span> - Method in class org.mariuszgromada.math.janetsudoku.demoapp.<a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html" title="class in org.mariuszgromada.math.janetsudoku.demoapp">JanetSudoku</a></dt>
<dd>
<div class="block">Solves current puzzle.</div>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/SudokuSolver.html#SOLVING_STATE_NOT_STARTED">SOLVING_STATE_NOT_STARTED</a></span> - Static variable in class org.mariuszgromada.math.janetsudoku.<a href="../org/mariuszgromada/math/janetsudoku/SudokuSolver.html" title="class in org.mariuszgromada.math.janetsudoku">SudokuSolver</a></dt>
<dd>
<div class="block">Sudoku solving not initiated.</div>
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-17.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:50 CEST 2016 -->
<title>T-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-18.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:24 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:50 CEST 2016 -->
<title>V-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-2.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>B-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-3.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>C-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-4.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>D-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
6 changes: 1 addition & 5 deletions CURRENT/doc/index-files/index-5.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>E-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down Expand Up @@ -112,10 +112,6 @@ <h2 class="title">E</h2>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/ErrorCodes.html#ErrorCodes--">ErrorCodes()</a></span> - Constructor for class org.mariuszgromada.math.janetsudoku.<a href="../org/mariuszgromada/math/janetsudoku/ErrorCodes.html" title="class in org.mariuszgromada.math.janetsudoku">ErrorCodes</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html#evaluateSolutions--">evaluateSolutions()</a></span> - Method in class org.mariuszgromada.math.janetsudoku.demoapp.<a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html" title="class in org.mariuszgromada.math.janetsudoku.demoapp">JanetSudoku</a></dt>
<dd>
<div class="block">Verifies solution existence</div>
</dd>
</dl>
<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">J</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">R</a>&nbsp;<a href="index-16.html">S</a>&nbsp;<a href="index-17.html">T</a>&nbsp;<a href="index-18.html">V</a>&nbsp;</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
Expand Down
2 changes: 1 addition & 1 deletion CURRENT/doc/index-files/index-6.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>F-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
12 changes: 1 addition & 11 deletions CURRENT/doc/index-files/index-7.html
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 00:22:23 CEST 2016 -->
<!-- Generated by javadoc (1.8.0_73) on Sat Apr 16 13:40:49 CEST 2016 -->
<title>G-Index</title>
<meta name="date" content="2016-04-16">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down Expand Up @@ -78,16 +78,6 @@ <h2 class="title">G</h2>
<dd>
<div class="block">Sudoku puzzle generator.</div>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html#generateFromCurrentPuzzle--">generateFromCurrentPuzzle()</a></span> - Method in class org.mariuszgromada.math.janetsudoku.demoapp.<a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html" title="class in org.mariuszgromada.math.janetsudoku.demoapp">JanetSudoku</a></dt>
<dd>
<div class="block">Generates puzzle based on current puzzle
(different puzzle, same solution).</div>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html#generateFromExample--">generateFromExample()</a></span> - Method in class org.mariuszgromada.math.janetsudoku.demoapp.<a href="../org/mariuszgromada/math/janetsudoku/demoapp/JanetSudoku.html" title="class in org.mariuszgromada.math.janetsudoku.demoapp">JanetSudoku</a></dt>
<dd>
<div class="block">Generates puzzle based on provided puzzle example
(different puzzle, same solution).</div>
</dd>
<dt><span class="memberNameLink"><a href="../org/mariuszgromada/math/janetsudoku/SudokuStore.html#generatePermutation-int-">generatePermutation(int)</a></span> - Static method in class org.mariuszgromada.math.janetsudoku.<a href="../org/mariuszgromada/math/janetsudoku/SudokuStore.html" title="class in org.mariuszgromada.math.janetsudoku">SudokuStore</a></dt>
<dd>
<div class="block">Permutation generator assuming permuting
Expand Down

0 comments on commit feffbf9

Please sign in to comment.