Giter Club home page Giter Club logo

graph-proj's Introduction

graph-proj

MATH-3150 final project : Maximum Matchings

This final project implements option 4 given in my graph theory class: to implement an augmenting path algorithm, and to apply it to get a maximum matching of a bipartite graph.

important places:

  • cmd/main.go - where the interactive program is, try running that by calling 'go run main.go' or 'go build'
  • graph/graph.go - some graph data structures implemented in Go. The main ones are AdjBGraph (Adjacency Matrix Bipartite Graphs), AdjVertexSet (a vertex set of an adjacency matrix), and AdjMatching (matchings of AdjBGraph's)
  • graph/algorithms.go - where the main algorithms (AugmentingPath, MaximumMatching) are implemented. This is where the meat is.

installing:

you need go to build from source.

go to the cmd folder, then type 'go build' to get it built on your system!

some sample visuals

This program also creates visuals so you can easily see what is going on It outputs in LaTeX and as PDF

Here are some of the main examples I tested:

  • textbook example: textbook

  • interesting small example that required using an augmenting path with length larger than 1 weird_case

  • big example: K10,10 k10,10

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.