Commit Graph

15 Commits

Author SHA1 Message Date
85dd40e64e shouldn't be here 2023-05-22 15:39:32 +02:00
23767a9ad7 heavy refactoring and findArticulations now works 2023-05-22 15:38:54 +02:00
5b72916732 made findComponents work
It took way too long, now onto fixing bridges and articulations
2023-05-16 19:20:56 +02:00
4cbb79fcac optimized calculateProperties
centre is also now an ArrayList
2023-05-16 14:05:19 +02:00
e1aa04e33c findComponents still broken
I only have to figure out how to get rid of duplicate components
2023-05-16 13:17:01 +02:00
d690dd69d8 removed file paths 2023-05-15 17:30:13 +02:00
62206a962b switched to ArrayLists
The methods findComponents, findBridges and findArticulations are broken.
The main problem lies with findComponents.
2023-05-15 17:25:15 +02:00
a66c6af575 unimportant changes 2023-05-15 15:29:53 +02:00
6dff42fe3c finished implementing findBridges method
Still very much stuck at figuring out how to find all arcticualtions in a graph
2023-05-14 00:16:01 +02:00
295f6f688b In the middle of something 2023-04-28 23:54:45 +02:00
acedb7ddb8 about 50% done 2023-04-25 13:39:10 +02:00
f2202f7ed9 progress 2023-04-20 22:25:48 +02:00
27e79eb1f6 Done, don't ask how (#2) 2023-03-17 15:37:26 +01:00
9baabad4d4 Completed reading in the CSV (#1)
* Created Matrix class

Created Matrix class with an empty main method

* Created Matrix class

Created Matrix class with an empty main method

* Created importCSV method

Created the empty method importCSV

* Completed importCSV method

Added BufferedReader with FileReader surrounded by a try/catch

* Added file parameter

Added it so I don't have a hardcoded file location

* Removed line variable

It just wasn't needed

* Created TestMatrix class

For now only has one test for the importCSV method

* Created empty printCSV method

gonna use it to print out the array which contains the array

* ReAdded line variable

It was needed after all

* Made result a global variable

So it can be used by other methods

* Array now initialized with correct size

I still don't know how to put the csv into the array tough

* done

don't ask how
2023-03-17 15:31:57 +01:00
8c31d48b2e Initial commit 2023-02-27 23:46:29 +01:00