-
Notifications
You must be signed in to change notification settings - Fork 24
Archivists
Archivists collect, maintain, record and retrieve data. Different types of Archivist record data in different formats and levels of granularity.
Click here for information relating to the contents of output files.
- DataMap
- Archivists save data stored in organisms DataMaps. Any data added to a DataMap will by default be recorded.
- non-DataMap
- Archivists have special rules for recording other types of objects. These are automatically configured by the particular objects in question(i.e. genomes have their own output rules which are defined by the type of genome you are using).
% ARCHIVIST outputMethod = Default # (string) output method, [Default, LODwAP (Line of Decent with Aggressive Pruning), SSwD (SnapShot with Delay)]The Default Archivist records pop.csv and max.csv.
The default Archivist can also be setup to save snapshotData and snapshotGenome files. A snapshot stores data for the entire population as it exists at a given interval. snapshotData files also contain linage data which can be used to graph phylogenies.
% ARCHIVIST_DEFAULT maxFileName = max.csv # (string) name of max file (saves data on organism with max "score" as determined by Optimizer) popFileColumns = [] # (string) data to be saved into average file (must be values that can generate an average). If empty, MABE will try to figure it out popFileName = pop.csv # (string) name of population data file (saves population averages) realtimeSequence = :10 # (string) How often to write to realtime data files. (format: x = single value, x-y = x to y, x-y:z = x to y on x, :z = from 0 to # updates on z, x:z = from x to 'updates' on z) e.g. '1-100:10, 200, 300:100' snapshotDataFilePrefix = snapshotData # (string) prefix for name of snapshot data file snapshotDataSequence = :100 # (string) How often to save a realtime snapshot data file. (format: x = single value, x-y = x to y, x-y:z = x to y on x, :z = from 0 # to updates on z, x:z = from x to 'updates' on z) e.g. '1-100:10, 200, 300:100' snapshotOrganismFilePrefix = snapshotOrganisms # (string) prefix for name of snapshot organism file snapshotOrganismSequence = :1000 # (string) How often to save a realtime snapshot genome file. (format: x = single value, x-y = x to y, x-y:z = x to y on x, :z = from # 0 to updates on z, x:z = from x to 'updates' on z) e.g. '1-100:10, 200, 300:100' writeMaxFile = 1 # (bool) Save data to Max file? writePopFile = 1 # (bool) Save data to average file? writeSnapshotDataFiles = 0 # (bool) if true, snapshot data files will be written (with all non genome data for entire population) writeSnapshotOrganismsFiles = 0 # (bool) if true, snapshot organism files will be written (with all organisms for entire population)Both "Line of Decent with Aggressive Pruning" (LODwAP) and "Snapshot with Delay" (SSwD) Archivists extend the Default Archivist, so even if you are using one of these archivists, you can still generate pop, max, snapshotData and snapshotGenome files.
LODwAP extends the Default Archivist (i.e. all of the Default Archivist parameters are still in use).
Line of descent defines the kinship relation between an individual and the individual's progenitors. Given an organism, the line of descent is the list containing that organisms parent and their parents' parent, and their parents' parents' parent... etc. LODwAP saves data for organisms on the Line of Descent. To save memory, LODwAP periodically checks to see if there has been coalescence (that is, is there an unsaved organism in the line of decsent with only one offspring on LOD), and outputs any information up to the coalescence (after which LODwAP can erase the now unneeded data from memory).
LOD can not be used with sexual reproduction as a simple Line of Descent can not be computed when organisms have more than one parent.
If speciation occurs in a LODwAP run this will not be visible in the output files. One species LOD will be visible and all others will be lost. In addition, if speciation occurs in a long run, it may cause memory issues (because coalescence will not occur, data can not be saved to disk and deleted from memory!)
In addition to the files generated by the default archivist, LODwAP also saves:
- LOD_data.csv
- contains data for organisms on the line of descent. LOD_data.csv will contain one line for each update being recorded (as defined by dataSequence)
- LOD_organism.csv
- contains data (any data related to genomes, brains which can not be found in parameters) for organisms on the line of descent. LOD_organism.csv will contain one line for each update being recorded (as defined by genome_interval)
% ARCHIVIST_LODWAP dataFileName = LOD_data.csv # (string) name of genome file (stores genomes for line of decent) dataSequence = :100 # (string) How often to write to data file. (format: x = single value, x-y = x to y, x-y:z = x to y on x, :z = from 0 to updates on z, # x:z = from x to 'updates' on z) e.g. '1-100:10, 200, 300:100' genomeFileName = LOD_organism.csv # (string) name of data file (stores everything but genomes) organismSequence = :1000 # (string) How often to write genome file. (format: x = single value, x-y = x to y, x-y:z = x to y on x, :z = from 0 to updates on z, # x:z = from x to 'updates' on z) e.g. '1-100:10, 200, 300:100' pruneInterval = 100 # (int) How often to attempt to prune LOD and actually write out to files terminateAfter = 100 # (int) how long to run after updates (to get allow time for coalescence) writeDataFile = 1 # (bool) if true, a data file will be written writeOrganismFile = 1 # (bool) if true, a organism file will be written
SSwD extends the Default Archivist (i.e. all of the Default Archivist parameters are still in use).
The Snapshot with Delay Archivist generates the same type of data found in the default Snapshot files(snapshotData_[update].csv and snapshotGenome_[update].csv), but before writing data and genome files, some number of updates are allowed to run (the delay). Only organisms who have surviving offspring after the delay are saved to file.
The SSwD Archivist provides pruned ancestry, which can be used to generate pruned phylogenies. This pruning process removes short branches from the phylogeny which are generally not interesting and also take up a lot of disk space.
% ARCHIVIST_SSWD cleanupInterval = 100 # (int) How often to cleanup old checkpoints dataDelay = 10 # (int) when using Snap Shot with Delay output Method, how long is the delay before saving data dataFilePrefix = SSwD_data # (string) name of genome file (stores genomes) dataSequence = :100 # (string) when to save a data file (format: x = single value, x-y = x to y, x-y:z = x to y on x, :z = from 0 to updates on z, x:z = # from x to 'updates' on z) e.g. '1-100:10, 200, 300:100' organismDelay = 10 # (int) when using Snap Shot with Delay output Method, how long is the delay before saving organisms organismFilePrefix = SSwD_organism # (string) name of data file (stores everything but organism file data) organismSequence = :1000 # (string) when to save a organism file (format: x = single value, x-y = x to y, x-y:z = x to y on x, :z = from 0 to updates on z, x:z # = from x to 'updates' on z) e.g. '1-100:10, 200, 300:100' writeDataFiles = 1 # (bool) if true, data files will be written writeOrganismFiles = 1 # (bool) if true, genome files will be written
- Default
- If you are only interested in basic information and/or if you want snapshots with all data.
- LODwAP
- If you are only interested in the "best" evolved organism and their ancestors and reproduction is asexual
- SSwD
- If you are interested in being able to analyse phylogeny and/or diversity, and want a good general idea about what's happening, but don't want to deal with absolutely all of the data!
home
welcome
MABE Parameter Widget
Installation and quick start
license
citations
release notes
developer contributions
consistency testing
Using MABE
Using Settings Files
Output Files
Creating Graphs with python
MABE framework
Defining Update
Brains
Markov Brain
Neuron Gate
Wire Brain
Human Brain
ConstantValues Brain
CGP Brain
Genetic Programing Brain
Artificial Neural Networks
Brains Structure and Connectome
Genomes
Circular Genome
Multi Genome
Genome Handlers
Genome Value Conversions
Organisms
Groups
Archivists
popFileColumns
Optimizers
Lexicase Optimizer
Worlds
Berry World
ComplexiPhi World
MultiThreadTemplate World
Utilities
DataMap
Parameters
Parameters Name Space
Adding Parameters to Code
ParametersTable
MTree
sequence function
Population Loading
PythonTools
MBuild
MGraph
MQ
findRelatedness
generatePhylogeny
Information Theory Tools
Brain States and Life Times
TimeSeries
Entropy Functions
Smearing
Fragmentation
State to State
Brain Infomation Tools
ProcessingTools