Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: sudoku using graph coloring algorithm

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default sudoku using graph coloring algorithm

    Hi, ca anyone suggest idea regarding graph coloring algorithm and how to use it to generate sudoku game


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: sudoku using graph coloring algorithm

    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.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: sudoku using graph coloring algorithm

    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 ?

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: sudoku using graph coloring algorithm

    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

Similar Threads

  1. Java Bar graph takes user input to create graph?
    By kenjiro310 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 31st, 2011, 07:37 AM
  2. How to make a graph like this
    By sugarhigh in forum AWT / Java Swing
    Replies: 1
    Last Post: August 27th, 2010, 09:05 AM
  3. [SOLVED] Coloring Pixels
    By Javajava in forum Java SE APIs
    Replies: 2
    Last Post: July 7th, 2010, 04:02 PM
  4. Sudoku
    By mgutierrez19 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 30th, 2009, 10:09 PM
  5. Sudoku Solver
    By MysticDeath in forum Java Theory & Questions
    Replies: 5
    Last Post: September 19th, 2009, 09:33 PM