Skip to content

tonylxm/graph-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Calculator

Project for SOFTENG 281 (Object-Oriented Programming) in Part II of my Software Engineering degree @The University of Auckland. I scored 100% for this project (functionality + OO Design + codestyle).

Built With

  • Java
  • JUnit (for unit testing)

Project Requirements

  • Represent graphs using object-oriented concepts
  • Implement my own data structures and understand their time & space complexity
    • allow for O(1) insertion of a vertex that has been discovered
    • O(1) removal of a vertex to be visited
  • Unit testing with JUnit testing framework to write my own test cases
  • Javadocs comments for best practice documentation

image

Getting Started

Try my graph calculator out for yourself! Clone the repository using git and open the project in your preferred Java IDE:

  git clone https://github.com/your-username/graph-algorithms.git

Personal Learnings

  • Graph traversal algorithms BFS and DFS (both iterative and recursive implementations) and their differences
  • Graph theory and calculating graph relations: symmetry, reflexivity, transitivity and equivalence classes

Future Improvements

  • Integration of more graph algorithms e.g. Dijkstra's algorithm
  • Support for weighted graphs
  • Implementation of graph visualization

image

About

Graph Calculator with BFS and DFS - SOFTENG 281 Project 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages