Changeset 327
- Timestamp:
- 02/06/15 00:58:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/FramclipsePlugin/src/main/resources/framscript.xml
r313 r327 393 393 <type name="CreatureSnapshot" context="Global context"> 394 394 <description><![CDATA[A data object consisting of the same fields as the serialized Creature. Typically used for reading a Creature back from a file, then Population.add(snapshot_object) creates the Creature object from the snapshot.]]></description> 395 <element name="new" function="true" type="Creature"><arguments/></element> 395 396 <element name="name" type="string"/> 396 397 <element name="genotype" type="string"/> … … 1980 1981 <arguments/></element> 1981 1982 </type> 1983 <type name="ModelSimilarity" context="Global context"> 1984 <description><![CDATA[Evaluates morphological dissimilarity. More information: 1985 http://www.framsticks.com/node/795 1986 http://www.framsticks.com/node/890]]></description> 1987 <element name="simil_method" type="integer" min="0" max="1" default="0"> 1988 <description><![CDATA[]]></description> 1989 </element> 1990 <element name="simil_parts" type="float" min="0" max="100" default="0.0"> 1991 <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description> 1992 </element> 1993 <element name="simil_partdeg" type="float" min="0" max="100" default="1.0"> 1994 <description><![CDATA[]]></description> 1995 </element> 1996 <element name="simil_neuro" type="float" min="0" max="100" default="0.5"> 1997 <description><![CDATA[]]></description> 1998 </element> 1999 <element name="evaluateDistance" function="true" type="float" flags="34"> 2000 <description><![CDATA[Calculates dissimilarity between two models created from Geno objects.]]></description> 2001 <arguments> 2002 <argument type="Geno"/> 2003 <argument type="Geno"/> 2004 </arguments> 2005 </element> 2006 </type> 2007 <type name="ModelSymmetry" context="Global context"> 2008 <description><![CDATA[Calculates bilateral symmetry. Details are described in http://www.framsticks.com/node/808]]></description> 2009 <element name="calculateSymmetry" function="true" type="float" flags="32"> 2010 <description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using default precision parameters (symPosSteps,symAlphaSteps,symBetaSteps). Returns the symmetry plane, too (sets symResultA,B,C,D). 2011 Note: may take a long time for large creatures.]]></description> 2012 <arguments> 2013 <argument name="model" type="Model"/> 2014 </arguments> 2015 </element> 2016 <element name="calculateSymmetry2" function="true" type="float" flags="32"> 2017 <description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using specified precision parameters. Returns the symmetry plane, too (sets symResultA,B,C,D). 2018 Note: may take a long time for large creatures.]]></description> 2019 <arguments> 2020 <argument name="model" type="Model"/> 2021 <argument name="posSteps" type="integer"/> 2022 <argument name="alphaSteps" type="integer"/> 2023 <argument name="betaSteps" type="integer"/> 2024 </arguments> 2025 </element> 2026 <element name="calculateSymmetryForPlane" function="true" type="float" flags="32"> 2027 <description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model and given a specific plane defined by coefficients A, B, C, D.]]></description> 2028 <arguments> 2029 <argument name="model" type="Model"/> 2030 <argument name="A" type="float"/> 2031 <argument name="B" type="float"/> 2032 <argument name="C" type="float"/> 2033 <argument name="D" type="float"/> 2034 </arguments> 2035 </element> 2036 <element name="symPosSteps" type="integer" min="2" max="50" default="10"> 2037 <description><![CDATA[Default number of samples per stick length]]></description> 2038 </element> 2039 <element name="symAlphaSteps" type="integer" min="2" max="50" default="20"> 2040 <description><![CDATA[Default number of samples per full angle (#1)]]></description> 2041 </element> 2042 <element name="symBetaSteps" type="integer" min="2" max="50" default="20"> 2043 <description><![CDATA[Default number of samples per full angle (#2)]]></description> 2044 </element> 2045 <element name="symResultA" type="float" flags="35"/> 2046 <element name="symResultB" type="float" flags="35"/> 2047 <element name="symResultC" type="float" flags="35"/> 2048 <element name="symResultD" type="float" flags="35"/> 2049 </type> 1982 2050 <type name="Neuro" context="Global context"> 1983 2051 <description><![CDATA[Live Neuron object.]]></description> … … 4194 4262 <element name="minjoint" type="float" min="0" max="100" default="0.0"/> 4195 4263 <element name="maxjoint" type="float" min="0" max="100" default="2.0"/> 4196 </type>4197 <type name="Similarity" context="Global context">4198 <description><![CDATA[Evaluates morphological dissimilarity. Read about details:4199 http://www.framsticks.com/node/7954200 http://www.framsticks.com/node/890]]></description>4201 <element name="simil_method" type="integer" min="0" max="1" default="0">4202 <description><![CDATA[]]></description>4203 </element>4204 <element name="simil_parts" type="float" min="0" max="100" default="0.0">4205 <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description>4206 </element>4207 <element name="simil_partdeg" type="float" min="0" max="100" default="1.0">4208 <description><![CDATA[]]></description>4209 </element>4210 <element name="simil_neuro" type="float" min="0" max="100" default="0.5">4211 <description><![CDATA[]]></description>4212 </element>4213 <element name="evaluateDistance" function="true" type="float" flags="34">4214 <description><![CDATA[Calculates dissimilarity between two models created from Geno objects.]]></description>4215 <arguments>4216 <argument type="Geno"/>4217 <argument type="Geno"/>4218 </arguments>4219 </element>4220 4264 </type> 4221 4265 <type name="Simulator" context="Global context"> … … 4708 4752 String.format("%t",Math.time) -> ="Sun Apr 29 19:22:02 2007" 4709 4753 String.format("%T",Math.time) -> ="2007-05-29 19:22:02" 4710 String.format("x=%d%%",100) -> ="100%" 4711 ]]></description> 4754 String.format("x=%d%%",100) -> ="100%"]]></description> 4712 4755 <arguments> 4713 4756 <argument name="format_string" type="string"/> … … 4716 4759 </element> 4717 4760 <element name="parseInt" function="true" type="integer"> 4761 <description><![CDATA[If the supplied string is not an integer, returns 0 and posts an error message.]]></description> 4718 4762 <arguments> 4719 4763 <argument type="string"/> … … 4721 4765 </element> 4722 4766 <element name="parseFloat" function="true" type="float"> 4767 <description><![CDATA[If the supplied string is not a number, returns 0.0 and posts an error message.]]></description> 4768 <arguments> 4769 <argument type="string"/> 4770 </arguments> 4771 </element> 4772 <element name="parseNumber" function="true" type="untyped"> 4773 <description><![CDATA[Returns an integer, a floating point, or null if the string cannot be parsed as a number. 4774 The 'typeof' operator can be used to distinguish between an integer and a floating point value: 4775 typeof String.parseNumber("qwerty") is 0 4776 typeof String.parseNumber("1234") is 1 4777 typeof String.parseNumber("3.14") is 2.]]></description> 4723 4778 <arguments> 4724 4779 <argument type="string"/> … … 4773 4828 </arguments> 4774 4829 </element> 4775 </type>4776 <type name="Symmetry" context="Global context">4777 <description><![CDATA[Calculates bilateral symmetry. Details are described in http://www.framsticks.com/node/808]]></description>4778 <element name="calculateSymmetry" function="true" type="float" flags="32">4779 <description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using default precision parameters (symPosSteps,symAlphaSteps,symBetaSteps). Returns the symmetry plane, too (sets symResultA,B,C,D).4780 Note: may take a long time for large creatures.]]></description>4781 <arguments>4782 <argument name="model" type="Model"/>4783 </arguments>4784 </element>4785 <element name="calculateSymmetry2" function="true" type="float" flags="32">4786 <description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model using specified precision parameters. Returns the symmetry plane, too (sets symResultA,B,C,D).4787 Note: may take a long time for large creatures.]]></description>4788 <arguments>4789 <argument name="model" type="Model"/>4790 <argument name="posSteps" type="integer"/>4791 <argument name="alphaSteps" type="integer"/>4792 <argument name="betaSteps" type="integer"/>4793 </arguments>4794 </element>4795 <element name="calculateSymmetryForPlane" function="true" type="float" flags="32">4796 <description><![CDATA[Returns bilateral symmetry (0.0 .. 1.0) for a given Model and given a specific plane defined by coefficients A, B, C, D.]]></description>4797 <arguments>4798 <argument name="model" type="Model"/>4799 <argument name="A" type="float"/>4800 <argument name="B" type="float"/>4801 <argument name="C" type="float"/>4802 <argument name="D" type="float"/>4803 </arguments>4804 </element>4805 <element name="symPosSteps" type="integer" min="2" max="50" default="10">4806 <description><![CDATA[Default number of samples per stick length]]></description>4807 </element>4808 <element name="symAlphaSteps" type="integer" min="2" max="50" default="20">4809 <description><![CDATA[Default number of samples per full angle (#1)]]></description>4810 </element>4811 <element name="symBetaSteps" type="integer" min="2" max="50" default="20">4812 <description><![CDATA[Default number of samples per full angle (#2)]]></description>4813 </element>4814 <element name="symResultA" type="float" flags="35"/>4815 <element name="symResultB" type="float" flags="35"/>4816 <element name="symResultC" type="float" flags="35"/>4817 <element name="symResultD" type="float" flags="35"/>4818 4830 </type> 4819 4831 <type name="UserScripts" context="Global context"> … … 5905 5917 <element name="symmetryplane" type="integer" min="0" max="1" default="0" flags="192"> 5906 5918 <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies). 5907 Use scripting and the Symmetry class to compute symmetry accurately.]]></description> 5919 Use scripting and the ModelSymmetry class to compute symmetry accurately. 5920 Details of the symmetry estimation procedure are described in http://www.framsticks.com/node/808]]></description> 5908 5921 </element> 5909 5922 </type> … … 5974 5987 <element name="symmetryplane" type="integer" min="0" max="1" default="0" flags="192"> 5975 5988 <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies). 5976 Use scripting and the Symmetry class to compute symmetry accurately.]]></description> 5989 Use scripting and the ModelSymmetry class to compute symmetry accurately. 5990 Details of the symmetry estimation procedure are described in http://www.framsticks.com/node/808]]></description> 5977 5991 </element> 5978 5992 </type> … … 6498 6512 <element name="symmetryplane" type="integer" min="0" max="1" default="0" flags="192"> 6499 6513 <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies). 6500 Use scripting and the Symmetry class to compute symmetry accurately.]]></description> 6514 Use scripting and the ModelSymmetry class to compute symmetry accurately. 6515 Details of the symmetry estimation procedure are described in http://www.framsticks.com/node/808]]></description> 6501 6516 </element> 6502 6517 </type>
Note: See TracChangeset
for help on using the changeset viewer.