Skip to content

An approach about the NP-Hard problem: Partition Into Perfect Matchings, in which I worked in the class of Complexity and Algorithms, in Universidad del Norte, which I wanted to share with the world.

Notifications You must be signed in to change notification settings

spolo96/Partition-Into-Perfect-Matchings-Graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Partition-Into-Perfect-Matchings-Graph

An approach about the NP-Hard problem: Partition Into Perfect Matchings, in which I worked in the class of Complexity and Algorithms, in Universidad del Norte, which I wanted to share with the world.

Description of the Problem:

In the mathematical discipline of graph theory, a matching or independent edge set in a graph is a set of edges without common vertices. A perfect matching (a.k.a. 1-factor) is a matching which matches all vertices of the graph. That is, every vertex of the graph is incident to exactly one edge of the matching.

Usage

Click within the black border of the rectangle to create a node. Click two nodes (it gets yellow when clicked) to create an edge between the two. Create a graph and then go press the button "Perfect Matching" to see if the Perfect Matching exist.

Limitations

A simple determinant method was implemented in the initial version of the task to get the Tutte Matrix and the program works better with complete graphs. A complete graph is a graph in which every edge is adjacent to every other edge of the graph.

Further notes

  • A better determinant method can be implemented to remove the complete graph restriction.

About

An approach about the NP-Hard problem: Partition Into Perfect Matchings, in which I worked in the class of Complexity and Algorithms, in Universidad del Norte, which I wanted to share with the world.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages