I added several new features to SPARK.
1. Information about links and related commands was added to SPARK-PL
Dictionary
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N2079E
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N206E8
2. New command 'fprint' which prints a text into a file.
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N203E7
New command 'create-new-file'.
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N2034E
3. Data layers can be colored with multiple colors. Go to Model->Data
Layer Properties and click 'Colors' button. A new dialog will appear,
where additional colors can be specified. For each additional color,
its relative position (with respect to min value and max value) can be
given in percents. The default value is 50%.
See samples/Fractals/Fractals.xml model as an example of using
additional colors.
4. A tool for running batch runs without any user interface is
implemented. It is called BatchRunner and can be executed using the
following command (run it from the 'lib' folder in the SPARK
distribution)
java -cp spark.jar org.spark.runtime.external.tools.BatchRunner
parameters.xml
Alternatively, run 'spark-batches.bat parameters.xml' from the 'lib'
folder.
Here, the file 'parameters.xml' is any xml file which contains
information about batch runs. Example
<batches>
<model path = "samples/Worms/output/Model.xml">
<batch ticks = "1000" repetitions = "1"/>
<batch ticks = "100" repetitions = "2" save-data = "true" data-file
= "test">
<parameter name = "Worm speed" start = "1" end = "10" step = "1.5"/
>
</batch>
</model>
</batches>
All paths inside this file should be relative to the location of this
xml file itself.
I'll write additional documentation later.
Alexey
What is a link? I searched through all the docs in the latest release of SPARK, but couldn't find anything on links in the tutorials. Is this a built-in function for a physical link between agents, such as the spring agents in older models? If so, isn't a link a type in itself - why is there a separate assignment for link-type?
Thanks,
- Joyeeta
________________________________________
From: spark-us...@googlegroups.com [spark-us...@googlegroups.com] On Behalf Of Alexey [solovye...@gmail.com]
Sent: Sunday, January 31, 2010 3:39 PM
To: SPARK Users Group
Subject: New features
Hello all,
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N2079E
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N206E8
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N203E7
New command 'create-new-file'.
http://www.pitt.edu/~cirm/spark/docs/SPARK-PL%20Dictionary.html#N2034E
Alexey
--
You received this message because you are subscribed to the Google Groups "SPARK Users Group" group.
To post to this group, send email to spark-us...@googlegroups.com.
To unsubscribe from this group, send email to spark-users-gr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spark-users-group?hl=en.