Difference between revisions of "Source Code"
From Krupczak.org
(→Concentric Circles Layout) |
|||
Line 9: | Line 9: | ||
== Concentric Circles Layout == | == Concentric Circles Layout == | ||
− | I wrote this Java/Swing class, for use in conjunction with the [http://www.jpgrah.org JGraph] toolkit, to layout vertices in concentric circles. Nodes are placed within concentric circles based on the number of | + | I wrote this Java/Swing class, for use in conjunction with the [http://www.jpgrah.org JGraph] toolkit, to layout vertices in concentric circles. Nodes are placed within concentric circles based on the number of neighbors they connect to -- most to least are placed inner to outer. |
* [[media:ConcentricCirclesLayout.java|ConcentricCirclesLayout.java]] | * [[media:ConcentricCirclesLayout.java|ConcentricCirclesLayout.java]] | ||
* [[media:GraphCellComparator.java|GraphCellComparator.java]] | * [[media:GraphCellComparator.java|GraphCellComparator.java]] |
Revision as of 22:14, 3 August 2008
Java Sudoku Puzzle Solver
I wrote a Java program to solve Sudoku puzzles. It uses a recursive brute-force algorithm to try all possible combinations.
I wrote a Java/Swing GUI front end for my Java Sudoku puzzle solver. Its currently fairly crude.
This Java program shows how to use the above programs.
Concentric Circles Layout
I wrote this Java/Swing class, for use in conjunction with the JGraph toolkit, to layout vertices in concentric circles. Nodes are placed within concentric circles based on the number of neighbors they connect to -- most to least are placed inner to outer.