Changeset 769
- Timestamp:
- 03/30/18 01:56:04 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/Framclipse/com.framsticks.framclipse/res/framscript.xml
r717 r769 649 649 </type> 650 650 <type name="EnergyParticles" context="Global context"> 651 <element name=" lifespan_min" type="integer" min="1" max="100" default="20">651 <element name="enpa_lifespan_min" type="integer" min="1" max="100" default="20"> 652 652 <description><![CDATA[Particle's lifespan is a random number taken from the specified range [min,max]]]></description> 653 653 </element> 654 <element name=" lifespan_max" type="integer" min="1" max="100" default="30">654 <element name="enpa_lifespan_max" type="integer" min="1" max="100" default="30"> 655 655 <description><![CDATA[Particle's lifespan is a random number taken from the specified range [min,max]]]></description> 656 656 </element> 657 <element name=" amount_min" type="float" min="0" max="1000" default="0.5">657 <element name="enpa_amount_min" type="float" min="0" max="1000" default="1.0"> 658 658 <description><![CDATA[A particle is emitted if the amount of energy transferred in a single step exceeds this threshold]]></description> 659 659 </element> 660 <element name=" amount_max" type="float" min="0.01" max="1000" default="5.0">660 <element name="enpa_amount_max" type="float" min="0.01" max="1000" default="5.0"> 661 661 <description><![CDATA[A maximum amount of energy a single particle can represent. If energy transferred in a single simulation step exceeds this amount, more particles are created.]]></description> 662 662 </element> 663 <element name=" step_maxparticles" type="integer" min="1" max="100" default="5">663 <element name="enpa_step_maxparticles" type="integer" min="1" max="100" default="5"> 664 664 <description><![CDATA[Limit the number of particles created in a single step for each energy transfer]]></description> 665 665 </element> 666 <element name=" random_pos" type="float" min="0" max="1" default="0.3">666 <element name="enpa_random_pos" type="float" min="0" max="1" default="0.3"> 667 667 <description><![CDATA[The amount of random shift used for individual particles (uniform distribution)]]></description> 668 668 </element> 669 <element name=" turn" type="float" min="0" max="1" default="0.15">669 <element name="enpa_turn" type="float" min="0" max="1" default="0.15"> 670 670 <description><![CDATA[Ignore (0) or directly follow (1) the potentially moving target of a particle. Intermediate values create momentum effect as if the target was gradually adjusted.]]></description> 671 671 </element> 672 <element name=" speedup" type="float" min="0" max="1" default="0.05">672 <element name="enpa_speedup" type="float" min="0" max="1" default="0.05"> 673 673 <description><![CDATA[Increase particle speed by this factor in each simulation step. This can help reach moving targets (along with "Turn towards target").]]></description> 674 674 </element> 675 <element name=" fade" type="float" min="0" max="1" default="0.9">675 <element name="enpa_fade" type="float" min="0" max="1" default="0.9"> 676 676 <description><![CDATA[Gradually decrease particle size before it disappears when its energy transfer has ended while the particle was on its way. The remaining energy amount is multiplied by this factor in each step. 0 means: disappear immediately, 1 means: don't decrease the size at all. Note that these parameters only concern visualization and the actual energy was already transferred.]]></description> 677 677 </element> 678 <element name=" total_limit" type="integer" min="10" max="10000" default="1000">678 <element name="enpa_total_limit" type="integer" min="10" max="10000" default="1000"> 679 679 <description><![CDATA[Limit the total number of existing energy particles (to save performance)]]></description> 680 </element> 681 <element name="enpa_display_min" type="float" min="0" max="1" default="0.2"> 682 <description><![CDATA[Visible particle size at minimum energy]]></description> 683 </element> 684 <element name="enpa_display_max" type="float" min="0" max="1" default="0.3"> 685 <description><![CDATA[Visible particle size at maximum energy]]></description> 680 686 </element> 681 687 </type> … … 793 799 <description><![CDATA[Returns file contents if it has been buffered.]]></description> 794 800 <arguments/></element> 795 <element name="exists" function="true" type="integer" min="0" max="1"flags="32">801 <element name="exists" function="true" type="integer" flags="32"> 796 802 <description><![CDATA[Sample: 797 803 File.exists("walking.gen") -> returns 0 or 1.]]></description> … … 864 870 Returns the Genotype object or null if not found.]]></description> 865 871 <arguments> 866 <argument name=" genotype object or geno object or string genotype" type="untyped"/>872 <argument name="Genotype object or Geno object or string genotype" type="untyped"/> 867 873 </arguments> 868 874 </element> … … 884 890 Deprecated. Use the more versatile GenePool.add() instead of this function.]]></description> 885 891 <arguments> 886 <argument name="genotype"type="Geno"/>892 <argument type="Geno"/> 887 893 </arguments> 888 894 </element> … … 898 904 Returns the created Genotype.]]></description> 899 905 <arguments> 900 <argument name=" geno object or string genotype" type="untyped"/>906 <argument name="Geno object or string genotype" type="untyped"/> 901 907 </arguments> 902 908 </element> … … 929 935 <arguments> 930 936 <argument name="minimum similarity" type="float"/> 931 <argument name="target geno" type="Geno"/>937 <argument name="target" type="Geno"/> 932 938 </arguments> 933 939 </element> … … 939 945 <arguments> 940 946 <argument name="minimum similarity" type="float"/> 941 <argument name="target geno" type="Geno"/>947 <argument name="target" type="Geno"/> 942 948 </arguments> 943 949 </element> … … 1198 1204 <description><![CDATA[]]></description> 1199 1205 </element> 1206 <element name="genoper_fn" type="integer" min="0" max="0" flags="65"> 1207 <description><![CDATA[]]></description> 1208 </element> 1200 1209 <element name="neuadd_N" type="integer" min="0" max="1"> 1201 1210 <description><![CDATA[Standard neuron … … 1625 1634 <element name="f4_mut_exmod" type="string" max="30"> 1626 1635 <description><![CDATA[Modifiers that will not be added nor deleted during mutation 1627 (all: LlRrCcQqFfMmIiEeWwAaSs)]]></description>1636 (all: ,LlRrCcQqFfMmIiEeWwAaSs)]]></description> 1628 1637 </element> 1629 1638 <element name="f9_mut" type="float" min="0" max="1" default="0.1"> 1630 1639 <description><![CDATA[How many genes should be mutated during single mutation (1=all genes, 0.1=ten percent)]]></description> 1631 1640 </element> 1632 <element name="fF_xover" type="float" min="0 " max="0.5" default="0.5">1641 <element name="fF_xover" type="float" min="0.5" max="1" default="0.5"> 1633 1642 <description><![CDATA[0.5 => children are averaged parents. 1634 0.2 => children are only 20% different from parents. 1635 0 => each child is identical to one parent (no crossover).]]></description> 1643 0.8 => children are only 20% different from parents. 1644 1.0 => each child is identical to one parent (no crossover).]]></description> 1645 </element> 1646 <element name="fn_xover" type="float" min="0.5" max="1" default="0.9"> 1647 <description><![CDATA[0.5 => children are averaged parents. 1648 0.8 => children are only 20% different from parents. 1649 1.0 => each child is identical to one parent (no crossover).]]></description> 1650 </element> 1651 <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]"> 1652 <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description> 1653 </element> 1654 <element name="fn_mut_bound_high" type="string" default="[10.0, 10.0]"> 1655 <description><![CDATA[A vector of higher bounds (one real value for each variable)]]></description> 1656 </element> 1657 <element name="fn_mut_stddev" type="string" default="[0.1, 0.1]"> 1658 <description><![CDATA[A vector of standard deviations (one real value for each variable)]]></description> 1636 1659 </element> 1637 1660 </type> … … 1700 1723 </element> 1701 1724 <element name="getConverted" function="true" type="Geno" flags="256"> 1725 <arguments> 1726 <argument name="format" type="string"/> 1727 </arguments> 1728 </element> 1729 <element name="getConvertedWithCheckpoints" function="true" type="Geno" flags="256"> 1730 <description><![CDATA[See also Model.newWithCheckpoints()]]></description> 1702 1731 <arguments> 1703 1732 <argument name="format" type="string"/> … … 1831 1860 <element name="newFromGeno" function="true" type="Genotype" flags="32"> 1832 1861 <arguments> 1833 <argument name="geno"type="Geno"/>1862 <argument type="Geno"/> 1834 1863 </arguments> 1835 1864 </element> 1836 1865 <element name="newFromCreature" function="true" type="Genotype" flags="32"> 1837 1866 <arguments> 1838 <argument name="creature"type="Creature"/>1867 <argument type="Creature"/> 1839 1868 </arguments> 1840 1869 </element> … … 1991 2020 <element name="stam" type="float" min="0" max="1" default="0.25"/> 1992 2021 <element name="i" type="string"/> 1993 <element name="Vstyle" type="string" max="-1"default="joint"/>2022 <element name="Vstyle" type="string" default="joint"/> 1994 2023 <element name="vr" type="float" min="0" max="1" default="1.0"/> 1995 2024 <element name="vg" type="float" min="0" max="1" default="1.0" flags="1024"/> … … 2225 2254 </arguments> 2226 2255 </element> 2256 <element name="newWithCheckpoints" function="true" type="Model"> 2257 <description><![CDATA[Creates a Model with the "Checkpoints" option enabled. Genotype converters supporting Checkpoints provide a sequence of Models that reflects development stages of the creature (this sequence is used purely for debugging and visualization of phenotype growth/development). Checkpoint Models can be accessed using getCheckpoint(i) for i ranging from 0 to numcheckpoints-1. Models created without the Checkpoint option and Models coming from unsupported converters have numcheckpoints=0.]]></description> 2258 <arguments> 2259 <argument name="Geno object or string genotype" type="untyped"/> 2260 </arguments> 2261 </element> 2227 2262 <element name="numparts" type="integer" flags="259"/> 2228 2263 <element name="numjoints" type="integer" flags="259"/> … … 2255 2290 </element> 2256 2291 <element name="bboxSize" type="XYZ" flags="257"/> 2292 <element name="numcheckpoints" type="integer" flags="259"/> 2293 <element name="getCheckpoint" function="true" type="Model" flags="288"> 2294 <description><![CDATA[Checkpoint Model objects are only valid as long as the parent Model object exists. 2295 See also: Model.newWithCheckpoints() 2296 2297 // incorrect usage - calling getCheckpoint() on a temporary object: 2298 var c=Model.newWithCheckpoints("XXX").getCheckpoint(1).genotype.geno; 2299 2300 // correct usage - keeping the parent Model reference in 'm': 2301 var m=Model.newWithCheckpoints("XXX"); 2302 var c=m.getCheckpoint(1).genotype.geno; 2303 ]]></description> 2304 <arguments> 2305 <argument name="index" type="integer"/> 2306 </arguments> 2307 </element> 2308 <element name="shape_type" type="integer" min="0" max="3" flags="259"/> 2309 <element name="solid_model" type="Model" flags="259"> 2310 <description><![CDATA[Conversion of this Model to solid shapes. Note! Only available when this Model has shape_type==2 (Ball-and-stick).]]></description> 2311 </element> 2257 2312 </type> 2258 2313 <type name="ModelGeometry" context="Global context"> … … 2530 2585 <element name="d" type="string"/> 2531 2586 <element name="i" type="string"/> 2532 <element name="Vstyle" type="string" max="-1"default="neuro"/>2587 <element name="Vstyle" type="string" default="neuro"/> 2533 2588 <element name="getInputCount" type="integer" flags="3"/> 2534 2589 <element name="getInputNeuroDef" function="true" type="NeuroDef"> … … 3032 3087 <element name="rz" type="float" flags="1024"/> 3033 3088 <element name="i" type="string"/> 3034 <element name="Vstyle" type="string" max="-1"default="part"/>3089 <element name="Vstyle" type="string" default="part"/> 3035 3090 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/> 3036 3091 <element name="vr" type="float" min="0" max="1" default="1.0"/> … … 3192 3247 <description><![CDATA[Delete the creature (remove it without executing the onKill event). Removing creatures inside some event handlers (e.g. onCollision) might be unsafe.]]></description> 3193 3248 <arguments> 3194 <argument name=" creature object or index" type="untyped"/>3249 <argument name="Creature object or index" type="untyped"/> 3195 3250 </arguments> 3196 3251 </element> … … 3198 3253 <description><![CDATA[Kill the creature (remove it and execute its onKill handler). Killing creatures inside some event handlers (e.g. onCollision) might be unsafe. The recommended and safe way of killing a creature is by setting its energy to 0.]]></description> 3199 3254 <arguments> 3200 <argument name=" creature object or index" type="integer"/>3255 <argument name="Creature object or index" type="untyped"/> 3201 3256 </arguments> 3202 3257 </element> … … 3621 3676 <description><![CDATA[Creatures grown with warnings will not be simulated. This helps prevent the propagation of faulty genes, because genotypes that cause warnings when interpreted will not reproduce.]]></description> 3622 3677 </element> 3678 <element name="vmdebug" type="integer" min="0" max="1"/> 3623 3679 <element name="resetToDefaults" function="true" type="void"> 3624 3680 <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description> … … 3832 3888 <description><![CDATA[]]></description> 3833 3889 </element> 3890 <element name="genoper_fn" type="integer" min="0" max="0" flags="65"> 3891 <description><![CDATA[]]></description> 3892 </element> 3834 3893 <element name="neuadd_N" type="integer" min="0" max="1"> 3835 3894 <description><![CDATA[Standard neuron … … 4259 4318 <element name="f4_mut_exmod" type="string" max="30"> 4260 4319 <description><![CDATA[Modifiers that will not be added nor deleted during mutation 4261 (all: LlRrCcQqFfMmIiEeWwAaSs)]]></description>4320 (all: ,LlRrCcQqFfMmIiEeWwAaSs)]]></description> 4262 4321 </element> 4263 4322 <element name="f9_mut" type="float" min="0" max="1" default="0.1"> 4264 4323 <description><![CDATA[How many genes should be mutated during single mutation (1=all genes, 0.1=ten percent)]]></description> 4265 4324 </element> 4266 <element name="fF_xover" type="float" min="0 " max="0.5" default="0.5">4325 <element name="fF_xover" type="float" min="0.5" max="1" default="0.5"> 4267 4326 <description><![CDATA[0.5 => children are averaged parents. 4268 0.2 => children are only 20% different from parents. 4269 0 => each child is identical to one parent (no crossover).]]></description> 4327 0.8 => children are only 20% different from parents. 4328 1.0 => each child is identical to one parent (no crossover).]]></description> 4329 </element> 4330 <element name="fn_xover" type="float" min="0.5" max="1" default="0.9"> 4331 <description><![CDATA[0.5 => children are averaged parents. 4332 0.8 => children are only 20% different from parents. 4333 1.0 => each child is identical to one parent (no crossover).]]></description> 4334 </element> 4335 <element name="fn_mut_bound_low" type="string" default="[-10.0, -10.0]"> 4336 <description><![CDATA[A vector of lower bounds (one real value for each variable)]]></description> 4337 </element> 4338 <element name="fn_mut_bound_high" type="string" default="[10.0, 10.0]"> 4339 <description><![CDATA[A vector of higher bounds (one real value for each variable)]]></description> 4340 </element> 4341 <element name="fn_mut_stddev" type="string" default="[0.1, 0.1]"> 4342 <description><![CDATA[A vector of standard deviations (one real value for each variable)]]></description> 4270 4343 </element> 4271 4344 <element name="genkonw0" type="integer" min="0" max="1"> … … 4285 4358 </element> 4286 4359 <element name="genkonw5" type="integer" min="0" max="1"> 4360 <description><![CDATA[]]></description> 4361 </element> 4362 <element name="genkonw6" type="integer" min="0" max="1"> 4287 4363 <description><![CDATA[]]></description> 4288 4364 </element> … … 4811 4887 <description><![CDATA[Creatures grown with warnings will not be simulated. This helps prevent the propagation of faulty genes, because genotypes that cause warnings when interpreted will not reproduce.]]></description> 4812 4888 </element> 4889 <element name="vmdebug" type="integer" min="0" max="1"/> 4813 4890 <element name="resetToDefaults" function="true" type="void"> 4814 4891 <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description> … … 4861 4938 <description><![CDATA[Also calls stop() if the simulator is running. Events assocated with the simulator being deleted are cancelled, so the expdef will not see the usual onSlaveStop.]]></description> 4862 4939 <arguments> 4863 <argument name=" index_or_object" type="untyped"/>4940 <argument name="slave index or slave Simulator object reference" type="untyped"/> 4864 4941 </arguments> 4865 4942 </element> … … 5581 5658 <element name="d" type="string"/> 5582 5659 <element name="i" type="string"/> 5583 <element name="Vstyle" type="string" max="-1"default="neuro"/>5660 <element name="Vstyle" type="string" default="neuro"/> 5584 5661 <element name="getInputCount" type="integer" flags="3"/> 5585 5662 <element name="getInputNeuroDef" function="true" type="NeuroDef"> … … 5807 5884 <element name="newFromGeno" function="true" type="Genotype" flags="32"> 5808 5885 <arguments> 5809 <argument name="geno"type="Geno"/>5886 <argument type="Geno"/> 5810 5887 </arguments> 5811 5888 </element> 5812 5889 <element name="newFromCreature" function="true" type="Genotype" flags="32"> 5813 5890 <arguments> 5814 <argument name="creature"type="Creature"/>5891 <argument type="Creature"/> 5815 5892 </arguments> 5816 5893 </element> … … 6329 6406 <element name="stam" type="float" min="0" max="1" default="0.25"/> 6330 6407 <element name="i" type="string"/> 6331 <element name="Vstyle" type="string" max="-1"default="joint"/>6408 <element name="Vstyle" type="string" default="joint"/> 6332 6409 <element name="vr" type="float" min="0" max="1" default="1.0"/> 6333 6410 <element name="vg" type="float" min="0" max="1" default="1.0" flags="1024"/> … … 6342 6419 <type name="m" context="Visual style definition"> 6343 6420 <element name="se" type="float" flags="1024"/> 6344 <element name="Vstyle" type="string" max="-1"/>6421 <element name="Vstyle" type="string"/> 6345 6422 </type> 6346 6423 <type name="Material" context="Visual style definition"> … … 6397 6474 <element name="d" type="string"/> 6398 6475 <element name="i" type="string"/> 6399 <element name="Vstyle" type="string" max="-1"default="neuro"/>6476 <element name="Vstyle" type="string" default="neuro"/> 6400 6477 <element name="getInputCount" type="integer" flags="3"/> 6401 6478 <element name="getInputNeuroDef" function="true" type="NeuroDef"> … … 6436 6513 <element name="rz" type="float" flags="1024"/> 6437 6514 <element name="i" type="string"/> 6438 <element name="Vstyle" type="string" max="-1"default="part"/>6515 <element name="Vstyle" type="string" default="part"/> 6439 6516 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/> 6440 6517 <element name="vr" type="float" min="0" max="1" default="1.0"/> … … 6807 6884 <description><![CDATA[Adds a number of columns, described as FIELD_NAME/WIDTH, columns are separated by "," (comma). Existing column definitions are not removed. Usually you will need to call "clear()" before "prepare".]]></description> 6808 6885 <arguments> 6809 <argument name="Object"type="Object"/>6810 <argument name=" Column Descriptions" type="string"/>6886 <argument type="Object"/> 6887 <argument name="column descriptions" type="string"/> 6811 6888 </arguments> 6812 6889 </element> … … 6814 6891 <description><![CDATA[Returns the formatted string taking data from the supplied object.]]></description> 6815 6892 <arguments> 6816 <argument name="Object"type="Object"/>6893 <argument type="Object"/> 6817 6894 </arguments> 6818 6895 </element> … … 6823 6900 <description><![CDATA[Low level call, adds a single column. "prepare" is better.]]></description> 6824 6901 <arguments> 6825 <argument name=" Field#" type="integer"/>6826 <argument name=" Column width" type="integer"/>6902 <argument name="field index" type="integer"/> 6903 <argument name="column width" type="integer"/> 6827 6904 </arguments> 6828 6905 </element>
Note: See TracChangeset
for help on using the changeset viewer.