Commit 983bd45c authored by Vladislav Perepelkin's avatar Vladislav Perepelkin
Browse files

checkpoint

parent 722bcd2e
Pipeline #54 canceled with stages
......@@ -5,13 +5,13 @@ collide.c
hpprp
move/*.png
move/*.txt
move/*.xls
rest/*.png
rest/*.txt
rest/*.xls
density/*.png
density/*.txt
density/*.xls
*.avi
......
#!/bin/sh
export WIDTH=500
export HEIGHT=600
export ITERS=101
export WIDTH=3000
export HEIGHT=3000
export ITERS=2500
export INIT1=0.7 INIT2=0.7 INIT4=0.7 INIT8=0.7
export INIT16=0.25 INIT32=0 INIT64=0 INIT128=0
......@@ -10,8 +10,8 @@ export SOURCE_WIDTH=20
export SRC1=1 SRC2=1 SRC4=1 SRC8=1
export SRC16=0.75 SRC32=0 SRC64=0 SRC128=0
export SAVE_PERIOD=50
export AVERAGING_RADIUS=1
export ENSEMBLE_SIZE=2
export AVERAGING_RADIUS=15
export ENSEMBLE_SIZE=10
export PROB_MAIN="0.1"
export PROB_SEC="0.1" ; system/conduct.sh
......
#!/usr/bin/python
# Scans '$1' forder for *.xls files and puts them in alphabetical order into one file '$2' line by line
import sys, os
xls_dir=sys.argv[1]
out_path=sys.argv[2]
files=[f for f in os.listdir(xls_dir) if f.endswith('.xls')]
fl=open(out_path, 'w')
for f in files:
lines=open(os.path.join(xls_dir, f)).readlines()
for l in lines:
j, val=l.split('\t')
fl.write(val.strip() + '\t')
fl.write('\n')
fl.close()
......@@ -9,20 +9,20 @@
# environment variables:
# PROB_MAIN
make purge
date
make purge 2>err
python system/gen_rules.py \
5-5=$PROB_MAIN 10-16=$PROB_MAIN 16-10=$PROB_MAIN \
5-10=$PROB_SEC 10-5=$PROB_SEC 16-5=$PROB_SEC \
> rules.txt || exit 1
> rules.txt 2>err || exit 1
python system/gen_config_flatwave.py > config.c || exit 1
python system/gen_config_flatwave.py 2>err > config.c || exit 1
echo "EXPERIMENT: PROB_MAIN=$PROB_MAIN PROB_SEC=$PROB_SEC"
make run
make run 2>err
cwd=$PWD
mkdir exp
mkdir exp 2>err
cd density
python ../system/build_max.py *.xls > $cwd/exp/exp_${PROB_MAIN}_${PROB_SEC}.xls
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment