Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-335

[Graph] Graph Coloring: Backtracking algorithm

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Graph
    • Labels:
      None

      Description

      Here is an little enhancement for graph coloring problem. I implemented an bruteforce algorithm that uses the backtracking technique to find the exact solution for the m-coloring problem (m is the maximum number of usable colors).

        Attachments

        1. GraphColoring-BackTrackingAlgo-Added-Set.patch
          36 kB
          Marco Speranza
        2. GraphColoring-BackTrackingAlgo-Fixed.patch
          33 kB
          Marco Speranza
        3. GraphColoring-BackTrackingAlgo-Snd-Fixed.patch
          36 kB
          Marco Speranza

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              marco.speranza Marco Speranza
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: