Coder Social home page Coder Social logo

dhimitrimano / 343-3-graph Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 16 KB

Implements a Graph object, which creates a graph from an input file and uses several graph algorithms, in C++.

Shell 20.19% C++ 79.81%
algorithms algorithms-and-data-structures cpp graph

343-3-graph's Introduction

Graph

Graph class with several graph algorithms including Depth-First Search, Breadth-First Search, Dijkstra's Shortest Path, Minimum Spanning Tree using Prim's Algorithm, and Minimum Spanning Tree using Kruskal's Algorithm.

cpp files

  • graph.h, graph.cpp: Graph class
  • graphtest.cpp: Test functions
  • main.cpp: A generic main file to call testAll() to run all tests

Warnings

  • 'graph.cpp:319:37: warning: unused parameter ‘startLabel’ [-Wunused-parameter]': This warning in mstKruskal exists because professor Pisan accidentally made the function signature the same as that of mstPrim. We were told not to change the function, so I did not.
  • 'graph.cpp:319:37: error: parameter 'startLabel' is unused [misc-unused-parameters,-warnings-as-errors]': This warning is also a biproduct of that accident.

Unexecuted Code

All code that was never executed is related to nonexistent files being passed in.

Credits:
Shell scripts, text files, and starter code provided by Yusuf Pisan
Graph class implementation by Dhimitri Mano

343-3-graph's People

Contributors

dhimitrimano avatar

Watchers

 avatar

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.