Changeset 1222


Ignore:
Timestamp:
04/17/23 03:02:09 (12 months ago)
Author:
sz
Message:

updated for the Framsticks version 5.0rc26 (genetic operator changes, Population.canAdd(), MessageCatcher? improvements)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/Framclipse/com.framsticks.framclipse/res/framscript.xml

    r1188 r1222  
    241241                </element>
    242242                <element name="centerOfGravity" type="XYZ" flags="3">
    243                         <description><![CDATA[Only updated once every 'perfperiod' steps! See http://www.framsticks.com/a/al_params.html#exper-perfcalc]]></description>
     243                        <description><![CDATA[See http://www.framsticks.com/a/al_params.html#exper-perfcalc]]></description>
    244244                </element>
    245245                <element name="numparts" type="integer" flags="3"/>
     
    16621662The i="mi=md" combination is allowed.]]></description>
    16631663                </element>
    1664                 <element name="f0_p_new" type="float" min="0" max="100" default="5.0">
    1665                         <description><![CDATA[]]></description>
    1666                 </element>
    1667                 <element name="f0_p_del" type="float" min="0" max="100" default="5.0">
    1668                         <description><![CDATA[]]></description>
    1669                 </element>
    1670                 <element name="f0_p_swp" type="float" min="0" max="100" default="10.0">
    1671                         <description><![CDATA[]]></description>
    1672                 </element>
    1673                 <element name="f0_p_pos" type="float" min="0" max="100" default="10.0">
     1664                <element name="f0_p_new" type="float" min="0" max="100" default="4.0">
     1665                        <description><![CDATA[]]></description>
     1666                </element>
     1667                <element name="f0_p_del" type="float" min="0" max="100" default="4.0">
     1668                        <description><![CDATA[]]></description>
     1669                </element>
     1670                <element name="f0_p_swp" type="float" min="0" max="100" default="1.0">
     1671                        <description><![CDATA[]]></description>
     1672                </element>
     1673                <element name="f0_p_pos" type="float" min="0" max="100" default="4.0">
    16741674                        <description><![CDATA[]]></description>
    16751675                </element>
     
    16771677                        <description><![CDATA[Density only has an influence under water]]></description>
    16781678                </element>
    1679                 <element name="f0_p_frc" type="float" min="0" max="100" default="10.0">
    1680                         <description><![CDATA[]]></description>
    1681                 </element>
    1682                 <element name="f0_p_ing" type="float" min="0" max="100" default="10.0">
     1679                <element name="f0_p_frc" type="float" min="0" max="100" default="1.0">
     1680                        <description><![CDATA[]]></description>
     1681                </element>
     1682                <element name="f0_p_ing" type="float" min="0" max="100" default="1.0">
    16831683                        <description><![CDATA[]]></description>
    16841684                </element>
     
    16861686                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    16871687                </element>
    1688                 <element name="f0_j_new" type="float" min="0" max="100" default="5.0">
    1689                         <description><![CDATA[]]></description>
    1690                 </element>
    1691                 <element name="f0_j_del" type="float" min="0" max="100" default="5.0">
     1688                <element name="f0_j_new" type="float" min="0" max="100" default="3.0">
     1689                        <description><![CDATA[]]></description>
     1690                </element>
     1691                <element name="f0_j_del" type="float" min="0" max="100" default="3.0">
    16921692                        <description><![CDATA[]]></description>
    16931693                </element>
     
    16951695                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    16961696                </element>
    1697                 <element name="f0_j_stf" type="float" min="0" max="100" default="10.0">
    1698                         <description><![CDATA[]]></description>
    1699                 </element>
    1700                 <element name="f0_j_rsf" type="float" min="0" max="100" default="10.0">
     1697                <element name="f0_j_stf" type="float" min="0" max="100" default="1.0">
     1698                        <description><![CDATA[]]></description>
     1699                </element>
     1700                <element name="f0_j_rsf" type="float" min="0" max="100" default="1.0">
    17011701                        <description><![CDATA[]]></description>
    17021702                </element>
     
    17101710                        <description><![CDATA[]]></description>
    17111711                </element>
    1712                 <element name="f0_n_new" type="float" min="0" max="100" default="5.0">
    1713                         <description><![CDATA[]]></description>
    1714                 </element>
    1715                 <element name="f0_n_del" type="float" min="0" max="100" default="5.0">
    1716                         <description><![CDATA[]]></description>
    1717                 </element>
    1718                 <element name="f0_n_prp" type="float" min="0" max="100" default="10.0">
    1719                         <description><![CDATA[]]></description>
    1720                 </element>
    1721                 <element name="f0_c_new" type="float" min="0" max="100" default="5.0">
    1722                         <description><![CDATA[]]></description>
    1723                 </element>
    1724                 <element name="f0_c_del" type="float" min="0" max="100" default="5.0">
    1725                         <description><![CDATA[]]></description>
    1726                 </element>
    1727                 <element name="f0_c_wei" type="float" min="0" max="100" default="10.0">
     1712                <element name="f0_n_new" type="float" min="0" max="100" default="3.0">
     1713                        <description><![CDATA[]]></description>
     1714                </element>
     1715                <element name="f0_n_del" type="float" min="0" max="100" default="3.0">
     1716                        <description><![CDATA[]]></description>
     1717                </element>
     1718                <element name="f0_n_prp" type="float" min="0" max="100" default="1.0">
     1719                        <description><![CDATA[]]></description>
     1720                </element>
     1721                <element name="f0_c_new" type="float" min="0" max="100" default="2.0">
     1722                        <description><![CDATA[]]></description>
     1723                </element>
     1724                <element name="f0_c_del" type="float" min="0" max="100" default="2.0">
     1725                        <description><![CDATA[]]></description>
     1726                </element>
     1727                <element name="f0_c_wei" type="float" min="0" max="100" default="2.0">
    17281728                        <description><![CDATA[]]></description>
    17291729                </element>
     
    18171817
    18181818f1 uses a two-point crossing over.
    1819 If this option is turned on, cut points will be selected proportionally to neural genes.
     1819If this option is turned on, cut points will be selected proportionally to neural genes in both parents, and a similar number of characters will be exchanged if possible.
    18201820Thus, if both parents have the same number of neurons, then this will be preserved in their children.]]></description>
    18211821                </element>
    1822                 <element name="f1_smX" type="float" min="0" max="100" default="2.0"/>
    1823                 <element name="f1_smJunct" type="float" min="0" max="100" default="2.0"/>
    1824                 <element name="f1_smComma" type="float" min="0" max="100" default="0.5"/>
    1825                 <element name="f1_smModif" type="float" min="0" max="100" default="2.5">
     1822                <element name="f1_smX" type="float" min="0" max="100" default="4.0"/>
     1823                <element name="f1_smJunct" type="float" min="0" max="100" default="1.0"/>
     1824                <element name="f1_smComma" type="float" min="0" max="100" default="1.0"/>
     1825                <element name="f1_smModif" type="float" min="0" max="100" default="4.0">
    18261826                        <description><![CDATA[Modifiers: LlRrCcQqFfMmIiEeWwAaSsDdGgBb]]></description>
    18271827                </element>
     
    18301830(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBb)]]></description>
    18311831                </element>
    1832                 <element name="f1_nmNeu" type="float" min="0" max="100" default="2.0">
     1832                <element name="f1_nmNeu" type="float" min="0" max="100" default="4.0">
    18331833                        <description><![CDATA[Adds a (connected) neuron or removes a neuron]]></description>
    18341834                </element>
    1835                 <element name="f1_nmConn" type="float" min="0" max="100" default="1.5">
     1835                <element name="f1_nmConn" type="float" min="0" max="100" default="1.0">
    18361836                        <description><![CDATA[]]></description>
    18371837                </element>
     
    18391839                        <description><![CDATA[]]></description>
    18401840                </element>
    1841                 <element name="f1_nmWei" type="float" min="0" max="100" default="1.0"/>
    1842                 <element name="f1_nmVal" type="float" min="0" max="100" default="1.5"/>
     1841                <element name="f1_nmWei" type="float" min="0" max="100" default="2.0"/>
     1842                <element name="f1_nmVal" type="float" min="0" max="100" default="1.0"/>
    18431843                <element name="f2_mutAddOper" type="float" min="0" max="1" default="0.4">
    18441844                        <description><![CDATA[]]></description>
     
    18901890                </element>
    18911891                <element name="f4_mut_add" type="float" min="0" max="100" default="50.0">
    1892                         <description><![CDATA[mutation: probability of adding a node]]></description>
     1892                        <description><![CDATA[Mutation: probability of adding a node]]></description>
    18931893                </element>
    18941894                <element name="f4_mut_add_div" type="float" min="0" max="100" default="20.0">
    1895                         <description><![CDATA[add node mutation: probability of adding a division]]></description>
     1895                        <description><![CDATA[Add node mutation: probability of adding a division]]></description>
    18961896                </element>
    18971897                <element name="f4_mut_add_conn" type="float" min="0" max="100" default="15.0">
    1898                         <description><![CDATA[add node mutation: probability of adding a neural connection]]></description>
     1898                        <description><![CDATA[Add node mutation: probability of adding a neural connection]]></description>
    18991899                </element>
    19001900                <element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5.0">
    1901                         <description><![CDATA[add node mutation: probability of adding a neuron property/modifier]]></description>
     1901                        <description><![CDATA[Add node mutation: probability of adding a neuron property/modifier]]></description>
    19021902                </element>
    19031903                <element name="f4_mut_add_rep" type="float" min="0" max="100" default="10.0">
    1904                         <description><![CDATA[add node mutation: probability of adding a repetition]]></description>
     1904                        <description><![CDATA[Add node mutation: probability of adding a repetition]]></description>
    19051905                </element>
    19061906                <element name="f4_mut_add_simp" type="float" min="0" max="100" default="50.0">
    1907                         <description><![CDATA[add node mutation: probability of adding a random, simple gene]]></description>
     1907                        <description><![CDATA[Add node mutation: probability of adding a random, simple gene]]></description>
    19081908                </element>
    19091909                <element name="f4_mut_del" type="float" min="0" max="100" default="20.0">
    1910                         <description><![CDATA[mutation: probability of deleting a node]]></description>
     1910                        <description><![CDATA[Mutation: probability of deleting a node]]></description>
    19111911                </element>
    19121912                <element name="f4_mut_mod" type="float" min="0" max="100" default="30.0">
    1913                         <description><![CDATA[mutation: probability of changing a node]]></description>
     1913                        <description><![CDATA[Mutation: probability of changing a node]]></description>
     1914                </element>
     1915                <element name="f4_mut_modneu_type" type="float" min="0" max="100" default="10.0">
     1916                        <description><![CDATA[Neuron mutation: probability of changing its type]]></description>
     1917                </element>
     1918                <element name="f4_mut_modneu_conn" type="float" min="0" max="100" default="30.0">
     1919                        <description><![CDATA[Neuron mutation: probability of changing its connection]]></description>
     1920                </element>
     1921                <element name="f4_mut_modneu_weight" type="float" min="0" max="100" default="60.0">
     1922                        <description><![CDATA[Neuron mutation: probability of changing its weight]]></description>
     1923                </element>
     1924                <element name="f4_mut_neu_nonsensors" type="float" min="0" max="100" default="100.0">
     1925                        <description><![CDATA[[Experimental] Neuron mutation: probability of using as an input to another neuron not only sensors, but also other neurons (more diversity) that require no inputs]]></description>
    19141926                </element>
    19151927                <element name="f4_mut_exmod" type="string" max="30">
     
    27742786                <element name="store" type="integer" min="0" max="2" default="0" flags="256"/>
    27752787                <element name="error_count" type="integer" flags="257"/>
     2788                <element name="error_warning_count" type="integer" flags="257"/>
     2789                <element name="error_warning_info_count" type="integer" flags="257"/>
    27762790                <element name="warning_count" type="integer" flags="257"/>
    27772791                <element name="info_count" type="integer" flags="257"/>
     
    38073821                        </arguments>
    38083822                </element>
     3823                <element name="canAdd" function="true" type="integer" flags="34">
     3824                        <description><![CDATA[Check if the creature could be built from the supplied argument, as if add() was called - this is equivalent to add()ing a creature and immediately removing it, but without the side effects of onBorn().
     3825The mandatory second argument means: -1=obey the current simulator setting for "Don't simulate genotypes with warnings", 0=warnings during creature building are acceptable, 1=treat such warnings as a build failure (cannot add).
     3826Errors/warnings are emitted like in add(), unless mute=1.]]></description>
     3827                        <arguments>
     3828                                <argument name="Genotype object or Geno object or string genotype or CreatureSnapshot object" type="untyped"/>
     3829                                <argument name="treat warnings as errors" type="integer"/>
     3830                                <argument name="mute" type="integer"/>
     3831                        </arguments>
     3832                </element>
    38093833                <element name="findUID" function="true" type="integer" flags="34">
    38103834                        <arguments>
     
    48884912The i="mi=md" combination is allowed.]]></description>
    48894913                </element>
    4890                 <element name="f0_p_new" type="float" min="0" max="100" default="5.0">
    4891                         <description><![CDATA[]]></description>
    4892                 </element>
    4893                 <element name="f0_p_del" type="float" min="0" max="100" default="5.0">
    4894                         <description><![CDATA[]]></description>
    4895                 </element>
    4896                 <element name="f0_p_swp" type="float" min="0" max="100" default="10.0">
    4897                         <description><![CDATA[]]></description>
    4898                 </element>
    4899                 <element name="f0_p_pos" type="float" min="0" max="100" default="10.0">
     4914                <element name="f0_p_new" type="float" min="0" max="100" default="4.0">
     4915                        <description><![CDATA[]]></description>
     4916                </element>
     4917                <element name="f0_p_del" type="float" min="0" max="100" default="4.0">
     4918                        <description><![CDATA[]]></description>
     4919                </element>
     4920                <element name="f0_p_swp" type="float" min="0" max="100" default="1.0">
     4921                        <description><![CDATA[]]></description>
     4922                </element>
     4923                <element name="f0_p_pos" type="float" min="0" max="100" default="4.0">
    49004924                        <description><![CDATA[]]></description>
    49014925                </element>
     
    49034927                        <description><![CDATA[Density only has an influence under water]]></description>
    49044928                </element>
    4905                 <element name="f0_p_frc" type="float" min="0" max="100" default="10.0">
    4906                         <description><![CDATA[]]></description>
    4907                 </element>
    4908                 <element name="f0_p_ing" type="float" min="0" max="100" default="10.0">
     4929                <element name="f0_p_frc" type="float" min="0" max="100" default="1.0">
     4930                        <description><![CDATA[]]></description>
     4931                </element>
     4932                <element name="f0_p_ing" type="float" min="0" max="100" default="1.0">
    49094933                        <description><![CDATA[]]></description>
    49104934                </element>
     
    49124936                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    49134937                </element>
    4914                 <element name="f0_j_new" type="float" min="0" max="100" default="5.0">
    4915                         <description><![CDATA[]]></description>
    4916                 </element>
    4917                 <element name="f0_j_del" type="float" min="0" max="100" default="5.0">
     4938                <element name="f0_j_new" type="float" min="0" max="100" default="3.0">
     4939                        <description><![CDATA[]]></description>
     4940                </element>
     4941                <element name="f0_j_del" type="float" min="0" max="100" default="3.0">
    49184942                        <description><![CDATA[]]></description>
    49194943                </element>
     
    49214945                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    49224946                </element>
    4923                 <element name="f0_j_stf" type="float" min="0" max="100" default="10.0">
    4924                         <description><![CDATA[]]></description>
    4925                 </element>
    4926                 <element name="f0_j_rsf" type="float" min="0" max="100" default="10.0">
     4947                <element name="f0_j_stf" type="float" min="0" max="100" default="1.0">
     4948                        <description><![CDATA[]]></description>
     4949                </element>
     4950                <element name="f0_j_rsf" type="float" min="0" max="100" default="1.0">
    49274951                        <description><![CDATA[]]></description>
    49284952                </element>
     
    49364960                        <description><![CDATA[]]></description>
    49374961                </element>
    4938                 <element name="f0_n_new" type="float" min="0" max="100" default="5.0">
    4939                         <description><![CDATA[]]></description>
    4940                 </element>
    4941                 <element name="f0_n_del" type="float" min="0" max="100" default="5.0">
    4942                         <description><![CDATA[]]></description>
    4943                 </element>
    4944                 <element name="f0_n_prp" type="float" min="0" max="100" default="10.0">
    4945                         <description><![CDATA[]]></description>
    4946                 </element>
    4947                 <element name="f0_c_new" type="float" min="0" max="100" default="5.0">
    4948                         <description><![CDATA[]]></description>
    4949                 </element>
    4950                 <element name="f0_c_del" type="float" min="0" max="100" default="5.0">
    4951                         <description><![CDATA[]]></description>
    4952                 </element>
    4953                 <element name="f0_c_wei" type="float" min="0" max="100" default="10.0">
     4962                <element name="f0_n_new" type="float" min="0" max="100" default="3.0">
     4963                        <description><![CDATA[]]></description>
     4964                </element>
     4965                <element name="f0_n_del" type="float" min="0" max="100" default="3.0">
     4966                        <description><![CDATA[]]></description>
     4967                </element>
     4968                <element name="f0_n_prp" type="float" min="0" max="100" default="1.0">
     4969                        <description><![CDATA[]]></description>
     4970                </element>
     4971                <element name="f0_c_new" type="float" min="0" max="100" default="2.0">
     4972                        <description><![CDATA[]]></description>
     4973                </element>
     4974                <element name="f0_c_del" type="float" min="0" max="100" default="2.0">
     4975                        <description><![CDATA[]]></description>
     4976                </element>
     4977                <element name="f0_c_wei" type="float" min="0" max="100" default="2.0">
    49544978                        <description><![CDATA[]]></description>
    49554979                </element>
     
    50435067
    50445068f1 uses a two-point crossing over.
    5045 If this option is turned on, cut points will be selected proportionally to neural genes.
     5069If this option is turned on, cut points will be selected proportionally to neural genes in both parents, and a similar number of characters will be exchanged if possible.
    50465070Thus, if both parents have the same number of neurons, then this will be preserved in their children.]]></description>
    50475071                </element>
    5048                 <element name="f1_smX" type="float" min="0" max="100" default="2.0"/>
    5049                 <element name="f1_smJunct" type="float" min="0" max="100" default="2.0"/>
    5050                 <element name="f1_smComma" type="float" min="0" max="100" default="0.5"/>
    5051                 <element name="f1_smModif" type="float" min="0" max="100" default="2.5">
     5072                <element name="f1_smX" type="float" min="0" max="100" default="4.0"/>
     5073                <element name="f1_smJunct" type="float" min="0" max="100" default="1.0"/>
     5074                <element name="f1_smComma" type="float" min="0" max="100" default="1.0"/>
     5075                <element name="f1_smModif" type="float" min="0" max="100" default="4.0">
    50525076                        <description><![CDATA[Modifiers: LlRrCcQqFfMmIiEeWwAaSsDdGgBb]]></description>
    50535077                </element>
     
    50565080(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBb)]]></description>
    50575081                </element>
    5058                 <element name="f1_nmNeu" type="float" min="0" max="100" default="2.0">
     5082                <element name="f1_nmNeu" type="float" min="0" max="100" default="4.0">
    50595083                        <description><![CDATA[Adds a (connected) neuron or removes a neuron]]></description>
    50605084                </element>
    5061                 <element name="f1_nmConn" type="float" min="0" max="100" default="1.5">
     5085                <element name="f1_nmConn" type="float" min="0" max="100" default="1.0">
    50625086                        <description><![CDATA[]]></description>
    50635087                </element>
     
    50655089                        <description><![CDATA[]]></description>
    50665090                </element>
    5067                 <element name="f1_nmWei" type="float" min="0" max="100" default="1.0"/>
    5068                 <element name="f1_nmVal" type="float" min="0" max="100" default="1.5"/>
     5091                <element name="f1_nmWei" type="float" min="0" max="100" default="2.0"/>
     5092                <element name="f1_nmVal" type="float" min="0" max="100" default="1.0"/>
    50695093                <element name="f2_mutAddOper" type="float" min="0" max="1" default="0.4">
    50705094                        <description><![CDATA[]]></description>
     
    51165140                </element>
    51175141                <element name="f4_mut_add" type="float" min="0" max="100" default="50.0">
    5118                         <description><![CDATA[mutation: probability of adding a node]]></description>
     5142                        <description><![CDATA[Mutation: probability of adding a node]]></description>
    51195143                </element>
    51205144                <element name="f4_mut_add_div" type="float" min="0" max="100" default="20.0">
    5121                         <description><![CDATA[add node mutation: probability of adding a division]]></description>
     5145                        <description><![CDATA[Add node mutation: probability of adding a division]]></description>
    51225146                </element>
    51235147                <element name="f4_mut_add_conn" type="float" min="0" max="100" default="15.0">
    5124                         <description><![CDATA[add node mutation: probability of adding a neural connection]]></description>
     5148                        <description><![CDATA[Add node mutation: probability of adding a neural connection]]></description>
    51255149                </element>
    51265150                <element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5.0">
    5127                         <description><![CDATA[add node mutation: probability of adding a neuron property/modifier]]></description>
     5151                        <description><![CDATA[Add node mutation: probability of adding a neuron property/modifier]]></description>
    51285152                </element>
    51295153                <element name="f4_mut_add_rep" type="float" min="0" max="100" default="10.0">
    5130                         <description><![CDATA[add node mutation: probability of adding a repetition]]></description>
     5154                        <description><![CDATA[Add node mutation: probability of adding a repetition]]></description>
    51315155                </element>
    51325156                <element name="f4_mut_add_simp" type="float" min="0" max="100" default="50.0">
    5133                         <description><![CDATA[add node mutation: probability of adding a random, simple gene]]></description>
     5157                        <description><![CDATA[Add node mutation: probability of adding a random, simple gene]]></description>
    51345158                </element>
    51355159                <element name="f4_mut_del" type="float" min="0" max="100" default="20.0">
    5136                         <description><![CDATA[mutation: probability of deleting a node]]></description>
     5160                        <description><![CDATA[Mutation: probability of deleting a node]]></description>
    51375161                </element>
    51385162                <element name="f4_mut_mod" type="float" min="0" max="100" default="30.0">
    5139                         <description><![CDATA[mutation: probability of changing a node]]></description>
     5163                        <description><![CDATA[Mutation: probability of changing a node]]></description>
     5164                </element>
     5165                <element name="f4_mut_modneu_type" type="float" min="0" max="100" default="10.0">
     5166                        <description><![CDATA[Neuron mutation: probability of changing its type]]></description>
     5167                </element>
     5168                <element name="f4_mut_modneu_conn" type="float" min="0" max="100" default="30.0">
     5169                        <description><![CDATA[Neuron mutation: probability of changing its connection]]></description>
     5170                </element>
     5171                <element name="f4_mut_modneu_weight" type="float" min="0" max="100" default="60.0">
     5172                        <description><![CDATA[Neuron mutation: probability of changing its weight]]></description>
     5173                </element>
     5174                <element name="f4_mut_neu_nonsensors" type="float" min="0" max="100" default="100.0">
     5175                        <description><![CDATA[[Experimental] Neuron mutation: probability of using as an input to another neuron not only sensors, but also other neurons (more diversity) that require no inputs]]></description>
    51405176                </element>
    51415177                <element name="f4_mut_exmod" type="string" max="30">
     
    75217557                </element>
    75227558                <element name="centerOfGravity" type="XYZ" flags="3">
    7523                         <description><![CDATA[Only updated once every 'perfperiod' steps! See http://www.framsticks.com/a/al_params.html#exper-perfcalc]]></description>
     7559                        <description><![CDATA[See http://www.framsticks.com/a/al_params.html#exper-perfcalc]]></description>
    75247560                </element>
    75257561                <element name="numparts" type="integer" flags="3"/>
Note: See TracChangeset for help on using the changeset viewer.