[Avida-cvs] avida/current/source/main CVS commit
Dusan Misevic
dule123 at users.sourceforge.net
Thu Aug 19 11:18:20 PDT 2004
Update of /cvsroot/avida/avida/current/source/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24024/source/main
Modified Files:
analyze.cc
Log Message:
Added more functionality to finding lineages in sexuals:
ANALYZE_SEX_LINEAGE [lin_type] [parent_method]
This command extract the mother, it's mother, etc, all the way to the ancestor,
only immediate father is extracted (i.e. no info about fathers parents is shown).
The second option, parent_method, determines which parent is considered the
"mother" in each particular recombination. If parent_method is
"rec_region_size" :
"mother" (dominant parent) is the parent contributing
more code to the offspring genome (default)
"genome_size" :
"mother" (dominant parent) is the longer parent
This also avoids the slightly weird circumstance when in the same mating,
organism A is mother to one and parent to another offspring. However,
organism's gender role can still reverse between matings.
More information about the Avida-cvs
mailing list