Giter VIP home page Giter VIP logo

stefanutti / maps-coloring-python Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 4.0 27.4 MB

Four color theorem, Guthrie, Kempe, Tait and other people and stuff

Home Page: https://4coloring.wordpress.com/

License: GNU General Public License v3.0

Python 91.44% Roff 7.72% Shell 0.14% Jupyter Notebook 0.01% HTML 0.69%
mathematics graph-algorithms graph-coloring graph-theory 4ct theorem-proving four-color-theorem

maps-coloring-python's People

Contributors

deepsourcebot avatar greenvulcano avatar stefanutti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

maps-coloring-python's Issues

Get rid of Sage

Get rid of Sage
Get rid of Sage
Get rid of Sage
Get rid of Sage
Get rid of Sage
...
Get rid of Sage

Generate a planar embedding representation of a graph without using sage graph.faces()

Sage:

  • Return the faces of an embedded graph.
  • A combinatorial embedding of a graph is a clockwise ordering of the neighbors of each vertex. From this information one can define the faces of the embedding, which is what this method returns
    • [[(0, 1), (1, 2), (2, 0)], [(3, 2), (2, 1), (1, 3)], [(2, 3), (3, 0), (0, 2)], [(0, 3), (3, 1), (1, 0)]]

New implementation without sage:

  • TBD

Split the 4ct.py in two: "4ct-create-map.py" + "4ct-color-map.py"

4ct-create-map.sage.py

  • Generate a planar map using sage with the planar() algorithm

4ct.py

  • Color the map starting from the planar representation of it, without depending on sage (which is very large)
    • This way external programs can produce maps for the 4ct.py that implements the coloring algorithm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.