You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qhga 1a7f32b9db
feat: Klausur SS2018
3 years ago
src feat: Klausur SS2018 3 years ago
.dir-locals.el feat: rauschfilter + mandelbrot 3 years ago
.gitignore feat: RGB Histogram 3 years ago
README.md feat: Gauss 3 years ago
pom.xml feat: javafx dependency added, Rauschfilter (partially working) 3 years ago

README.md

How to run

Right now, I am to lazy to create an appropriate cli. Therefore, it is that hacky. Sorry...

# Device selected by Devices.java (One has to know the selection in advance though...)
# DEFAULT = 1
DEVICE=1

# The different targets in App.java
# 0 = Informational output
# 10 = All PrimeNumber related implementations at once
# 20 = All Reduce related implementations at once
# 21 - 25 = Reduce1 - Reduce5 respectively
# 30 = All Prefix related implementations at once
# 31 - 32 = Prefix1 - Prefix2 respectively
# 40 = Rauschfilter (Spawns a javafx window)
# 50 = Mandelbrot (Spawns a javafx window)
# 60 = RGBHistogramm (Spawns a javafx window)
# 70 = Radixsort
# 80 = Matrix Multiplication
# 90 = Gauss Matrix
# DEFAULT = 0
TARGET=31

# Parameter for various tasks (e.g. if N should be shifted 3 times, MULTI_PARAM should be 3)
# Targes 2X and 3X depend on this parameter (1 << MULTI_PARAM)
# Target 4X (N to the left and right of x_0)
# Target 50 Zoom Factor (20 should be used to get good results)
# Target 60 filename of a picture (Place in folder $PROJECT_ROOT/pictures/my_pic.jpg) [jpg,bmp,png]
# Target 70 Array lenth (N)
# Target 80 Matrices height and width (NxN)
# Target 90 Nothing
# DEFAULT = 25 / "lena.bmp"
MULTI_PARAM=3

mvn -B clean compile assembly:single && java -jar target/*.jar $DEVICE $TARGET $MULTI_PARAM