Skip to content

Just-Hussain/relations-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This was the programming assignement of the Discrete Structures course at KFUPM.

The idea is to read the relation matrix from a .txt file and analyze it to check its properites.

This code is a mess, i know!

That`s what happens when i try to code something without first really studying it. I took the general idea of everything and got to work. What i did in 300 lines for the Hasse Diagram can be accomplished in WAY less. I actually forgot that i even have a matrix that i can process in much simpler ways. Instead, i wrote a structure to store the matrix in THEN process the stucture rather than the matrix, which resulted in an absolute mess. Tryin to solve any problem just complicated it further, so yeah xD.

HOW TO

  • It takes a .txt file with the following structure:
    3

1 2 3

1 0 1
0 1 0
0 0 1
- Provide the absolute path to the files in the constructor.

About

ICS254 | 191 | Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages