Mercurial > hg > Members > tatsuki > Alice
comparison scripts/aquarium.sh @ 135:2f401fd70311 working
create No Graphic aquarium
author | sugi |
---|---|
date | Thu, 16 Aug 2012 19:57:10 +0900 |
parents | scripts/fishBeta_run.sh@26b4b18c51fa |
children | b51d3bf971e7 |
comparison
equal
deleted
inserted
replaced
134:53aff28cde6b | 135:2f401fd70311 |
---|---|
1 #!/bin/bash | |
2 max=$1 | |
3 child_num=$2 | |
4 ruby ./topology/treen.rb $1 $2 > ./topology/tree.dot | |
5 dot -Tpng ./topology/tree.dot > ./topology/tree.png | |
6 #open ./topology/tree.png | |
7 java -cp ../Alice.jar alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot -log ./output/manager.log -level debug > ./output/std_manager.log & | |
8 | |
9 cnt=0 | |
10 while [ $cnt -lt $max ] | |
11 do | |
12 java -cp ../Alice.jar alice.test.topology.aquarium.FishMovementTopology -host `hostname` -port 10000 -p `expr 20000 + $cnt` -log ./output/modelbeta${cnt}.log -level debug > ./output/std_modelbeta${cnt}.log & | |
13 cnt=`expr $cnt + 1` | |
14 done | |
15 wait |