Skip to content

venkatonjava/graph-algos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Algos

A Java library implementing classic graph algorithms for traversal, connectivity, and pathfinding. Useful for learning, teaching, and integrating graph logic into larger applications.

Features

  • Breadth First Traversal
  • Depth First Traversal
  • Connected Component Problems
  • Island Problem
  • Has Path Problem
  • Shortest Path Problem

Project Structure

graph-algos/
├── pom.xml
├── README.md
├── src/
│   ├── main/
│   │   └── java/
│   │       └── graph/algos/
│   │           ├── breadth/first/
│   │           ├── connected/
│   │           ├── depth/
│   │           └── haspath/
│   └── test/
│       └── DepthFristTraversalTest.java
└── target/

Prerequisites

  • Java 8 or higher
  • Maven

Build Instructions

Clone the repository and build using Maven:

mvn clean install

Usage Example

Import the relevant classes in your Java project and use the algorithms as needed. Example:

import graph.algos.breadth.first.BreadthFirstTraversal;
// ...existing code...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages