Hi, ca anyone suggest idea regarding graph coloring algorithm and how to use it to generate sudoku game
Printable View
Hi, ca anyone suggest idea regarding graph coloring algorithm and how to use it to generate sudoku game
That's not really how this works. Do you have a specific idea in mind? What have you tried? Why are you doing this?
We can answer specific questions about specific code, but we can't really answer general questions like this one, other than to point you to google.
My idea -
To mark each number as different color that is there will be 9 colors which can be counted as vertex coloring and than use backtracking and recursive algorithm to generate sudoku.. is it feasible ?
Did you try google? As long as you wade through ALL your crossposts you might find something.
http://www.javaprogrammingforums.com...s-posting.html
And there is at least one easier way to create a Sudoku than a recursive backtracking algorithm