|
From: <mm...@us...> - 2012-12-10 09:57:20
|
Revision: 3309
http://dmcs.svn.sourceforge.net/dmcs/?rev=3309&view=rev
Author: mmsc
Date: 2012-12-10 09:57:14 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Add script to create all tables.
Added Paths:
-----------
dmcs/branches/dmcs1.5/examples/test/tables.sh
Added: dmcs/branches/dmcs1.5/examples/test/tables.sh
===================================================================
--- dmcs/branches/dmcs1.5/examples/test/tables.sh (rev 0)
+++ dmcs/branches/dmcs1.5/examples/test/tables.sh 2012-12-10 09:57:14 UTC (rev 3309)
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+#TOPOLOGIES="tree diamond zigzag ring"
+TOPOLOGIES="diamond ring"
+INPUTEXT="out1 out2"
+
+echo "\begin{landscape}" > tables-all.tex
+
+for topo in $TOPOLOGIES ; do
+ for inputext in $INPUTEXT ; do
+ python tables.py --topo=$topo --inp=$inputext
+ cat table-$topo-$inputext.tex >> tables-all.tex
+ echo "" >> tables-all.tex
+ echo "" >> tables-all.tex
+ echo "" >> tables-all.tex
+ done
+done
+
+echo "\end{landscape}" >> tables-all.tex
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|