added java gitignore and copied files to PA008

This commit is contained in:
Ziad Arafat committed 2023-04-26 13:41:08 -06:00
1 parent ef5ce9651f
commit 9b0dcb8c67
4 files changed
+50

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*
+14
View File
@@ -0,0 +1,14 @@
red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
# Variables so its easy to make changes if I need to (it ended up being helpful)
all: test
test: concurrency.py
@echo "${green}For N = 4${reset}"
python3 concurrency.py 4
@echo "${green}For N = 8${reset}"
python3 concurrency.py 8
@echo "${green}For N = 16${reset}"
python3 concurrency.py 16
+12
View File
@@ -0,0 +1,12 @@
## Usage
### Testing the code
1. Execute the code for N=4,8,16
1. `make`
### Executing The python program alone
1. `python3 concurrency.py N`
1. Where N is the size of the NxN matrix
View File
Whitespace-only changes.