Skip to content

This repository contains my solutions for Programming Homework about Directed Graphs for CMPE 224/343 - Spring 2024.

License

Notifications You must be signed in to change notification settings

sancakerkan/DirectedGraphProjects

Repository files navigation

Applications on Directed Graphs

This repository contains my solutions for Programming Homework for CMPE 224/343 - Spring 2024.

Table of Contents

Overview

In this programming homework, I implemented solutions for two distinct problems using graph data structures. Problem 1 involves creating a directed graph and finding two-step paths from a given starting point. Problem 2 requires reading graph data from a text file, identifying non-connected neurons, and printing relevant graph information.

Problem Statements

File Structure

The repository is structured as follows:

  • DirectedGraphProjects/: Root directory for the homework assignment.
    • Q1. Finding Two-Step Paths/: Contains the Java source files for Problem 1.
    • Q2. Identifying Non-Connected Neurons/: Contains the Java source files for Problem 2.

How to Use

  1. Clone the repository to your local machine.
  2. Navigate to the appropriate directory for the problem you want to work on (Q1. Finding Two-Step Paths for Problem 1, Q2. Identifying Non-Connected Neurons for Problem 2).
  3. Compile the Java source files.
  4. Ensure that the input text files (HW2_Q1_text.txt for Problem 1, HW2_Q2_text.txt for Problem 2) are in the appropriate directory before running the code.
  5. Run the main program to execute the solution.

Testing

Specific test cases were used to validate the functionality of the programs. Details of the testing process and outcomes can be found in the REPORT.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository contains my solutions for Programming Homework about Directed Graphs for CMPE 224/343 - Spring 2024.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages