The Framsticks simulator.
| type and name | description | comments |
printfunction |
print information message | One argument: message to be printed |
messagefunction |
print message | The second argument can be:
-1 = debugging message
0 = information
1 = warning
2 = error
3 = critical error |
loadfunction |
load | Load experiment file |
importfunction |
import | Load some data from file. The second argument selects what section(s) will be loaded:
1 - experiment
2 - genotypes
4 - simulator parameters
8 - genotype group settings
16 - populations settings
32 - new groups will be created for imported genotypes/populations |
savefunction |
save | save experiment file |
exportfunction |
export | save some data to file. arguments:
- filename
- flags: composed of the following bit values:
1 - experiment
2 - genotypes
4 - simulator parameters
8 - simulator stats
16 - genotype group settings
32 - populations settings
64 - do autosave
- selected genotype group
- selected population |
stopfunction |
stop simulation | |
stepfunction |
do single simulation step | |
expdefstring |
Experiment definition | |
expdef_titlestring |
Title | |
expdef_infomultiline string |
Description | |
initfunction |
Initialize experiment | |
loadexpdeffunction |
Reload experiment definition | |
usercodemultiline string |
User script | This script overrides the experiment definition |
autosaveperiodinteger, 0 .. 100000 |
Save backup | Save simulation state once every n-th event
(events are defined by the script. For 'standard.expdef' it is after each death).
Save EXPT file first to initialize name for autosave files. |
overwriteinteger, 0 .. 1 (false/true) |
Overwrite | Overwite existing files or create their backups |
filecomminteger, 0 .. 1 (false/true) |
Show file comments | Send comments encountered in opened files to the message window |
autosavefunction |
Trigger autosave now | |
createrrinteger, 0 .. 2 0 = Ignore1 = Show summary2 = Show details |
Object creation errors | |
importchkinteger, 0 .. 1 (false/true) |
Check imported genotypes | |
loadchkinteger, 0 .. 1 (false/true) |
Check genotypes loaded from experiment | |
groupchkinteger, 0 .. 1 (false/true) |
Check genotypes added to groups | |
newfunction |
create new Simulator | |
worldobject field |
world object | |
livelibobject field |
live library object | |
genolibobject field |
genotype library object | |