Changeset 27 for java/FramclipsePlugin
- Timestamp:
- 07/01/09 16:39:09 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/FramclipsePlugin/src/main/resources/framscript.xml
r13 r27 151 151 <element name="numparts" type="integer"/> 152 152 <element name="orient" type="Orient"> 153 <description><![CDATA[ by convention the creature orientation is equal to its first part orientation]]></description>153 <description><![CDATA[By convention, the orientation of the creature is equal to the orientation of its first Part]]></description> 154 154 </element> 155 155 <element name="othermask" type="integer" min="0" max="2147483647" default="0"/> … … 175 175 <element name="signals" type="CreatureSignals"/> 176 176 <element name="size_x" type="float"> 177 <description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including the imaginary part sizes (Part.s, usually 1.0). A creature consisting of a single default part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius).177 <description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including the imaginary part sizes (Part.s, usually 1.0). A creature consisting of a single default Part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius). 178 178 See also: Creature.moveAbs]]></description> 179 179 </element> … … 242 242 243 243 origin (pos_x,pos_y,pos_z) = (-1,-1,-1) 244 size (size_x,size_y,size_z) = ( 2,1,1)244 size (size_x,size_y,size_z) = (3,2,2) 245 245 246 246 The following example places the bottom of a creature at a given location (x,y,z): … … 269 269 </element> 270 270 <element name="rotateLocal" function="true" type="void"> 271 <description><![CDATA[Rotate the creature around (local) X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation couldbe disturbed.]]></description>271 <description><![CDATA[Rotate the creature around (local) X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise further simulation can be disturbed.]]></description> 272 272 <arguments> 273 273 <argument name="x" type="float"/> … … 582 582 </element> 583 583 <element name="readUntilEOF" function="true" type="string"><arguments/></element> 584 <element name="system" function="true" type="integer"> 585 <description><![CDATA[Invokes a system command, returns its return code (0 usually means it was completed successfully) 586 587 Example: 588 File.system("wget",["-O","/tmp/filename","http://example.com/file"]);]]></description> 589 <arguments> 590 <argument name="executable" type="string"/> 591 <argument name="string arguments" type="Vector"/> 592 </arguments> 593 </element> 584 594 <element name="writeComment" function="true" type="void"> 585 595 <arguments> … … 651 661 <element name="name" type="string"/> 652 662 <element name="size" type="integer"> 653 <description><![CDATA[In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype. popsizfield to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype.]]></description>663 <description><![CDATA[In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype.instances field to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype.]]></description> 654 664 </element> 655 665 <element name="totalpop" type="integer"> 656 <description><![CDATA[Takes into account the Genotype. popsizfield (which may give the total number of instances depending on the experiment definition)]]></description>666 <description><![CDATA[Takes into account the Genotype.instances field (which may give the total number of instances depending on the experiment definition)]]></description> 657 667 </element> 658 668 <element name="addGeno" function="true" type="Genotype"> … … 716 726 </element> 717 727 <element name="addPerformanceFromCreature" function="true" type="void"> 718 <description><![CDATA[Updates the current Genotype's performance values merging them with the current Creture's performance. It assumes the Genotype. popsizhas a reasonable value and performs the proper weighting. Use your own function instead if these conditions are not met in your experiment.]]></description>728 <description><![CDATA[Updates the current Genotype's performance values merging them with the current Creture's performance. It assumes the Genotype.instances has a reasonable value and performs the proper weighting. Use your own function instead if these conditions are not met in your experiment.]]></description> 719 729 <arguments/></element> 720 730 <element name="clear" function="true" type="void"> … … 745 755 </element> 746 756 <element name="deleteOne" function="true" type="void"> 747 <description><![CDATA[delete one individual from the gene pool = decrease popsiz and delete the genotype if the popsizgoes to 0]]></description>757 <description><![CDATA[delete one individual from the gene pool = decrease 'instances' and delete the genotype if the 'instances' goes to 0]]></description> 748 758 <arguments> 749 759 <argument name="genotype index" type="integer"/> … … 1140 1150 </element> 1141 1151 <element name="neuadd_Fuzzy" type="integer" min="0" max="1"> 1142 <description><![CDATA[Refer to publications to learn about this neuron1152 <description><![CDATA[Refer to publications to learn more about this neuron. 1143 1153 1144 1154 Characteristics: … … 1155 1165 </element> 1156 1166 <element name="neuadd_VEye" type="integer" min="0" max="1"> 1157 <description><![CDATA[Characteristics: 1167 <description><![CDATA[Refer to publications to learn more about this neuron. 1168 1169 Characteristics: 1158 1170 uses single input 1159 1171 provides output value … … 1173 1185 </element> 1174 1186 <element name="neuadd_VMotor" type="integer" min="0" max="1"> 1175 <description><![CDATA[Must be connected to the VEye and properly set up. 1187 <description><![CDATA[Must be connected to the VEye and properly set up. Refer to publications to learn more about this neuron. 1176 1188 1177 1189 Characteristics: … … 1411 1423 <element name="fit" type="float"/> 1412 1424 <element name="fit2" type="float"> 1413 <description><![CDATA[Fitnes shifted by (avg-n*stddev)]]></description>1425 <description><![CDATA[Fitness shifted by (avg-n*stddev)]]></description> 1414 1426 </element> 1415 1427 <element name="geno" type="Geno"> … … 1421 1433 <description><![CDATA[Additional information or comments]]></description> 1422 1434 </element> 1423 <element name="instances" type="integer"/> 1435 <element name="instances" type="integer"> 1436 <description><![CDATA[Copies of this genotype]]></description> 1437 </element> 1424 1438 <element name="isValid" type="integer" min="0" max="1"/> 1425 1439 <element name="lifespan" type="float"> … … 1427 1441 </element> 1428 1442 <element name="name" type="string"/> 1429 <element name="nncon" type="float"> 1430 <description><![CDATA[(deprecated) old name for numconnections]]></description> 1431 </element> 1432 <element name="nnsiz" type="float"> 1433 <description><![CDATA[(deprecated) old name for numneurons]]></description> 1434 </element> 1443 <element name="nncon" type="float"/> 1444 <element name="nnsiz" type="float"/> 1435 1445 <element name="num" type="integer"/> 1436 1446 <element name="numconnections" type="float"/> … … 1438 1448 <element name="numneurons" type="float"/> 1439 1449 <element name="numparts" type="float"/> 1440 <element name="popsiz" type="integer"> 1441 <description><![CDATA[(deprecated) old name for instances]]></description> 1442 </element> 1450 <element name="popsiz" type="integer"/> 1443 1451 <element name="simi" type="float"/> 1444 <element name="strjoints" type="float"> 1445 <description><![CDATA[(deprecated) old name for numjoints]]></description> 1446 </element> 1447 <element name="strsiz" type="float"> 1448 <description><![CDATA[(deprecated) old name for numparts]]></description> 1449 </element> 1452 <element name="strjoints" type="float"/> 1453 <element name="strsiz" type="float"/> 1450 1454 <element name="uid" type="string"> 1451 1455 <description><![CDATA[Unique identifier]]></description> … … 1486 1490 <element name="name" type="string"/> 1487 1491 <element name="size" type="integer"> 1488 <description><![CDATA[In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype. popsizfield to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype.]]></description>1492 <description><![CDATA[In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype.instances field to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype.]]></description> 1489 1493 </element> 1490 1494 <element name="totalpop" type="integer"> 1491 <description><![CDATA[Takes into account the Genotype. popsizfield (which may give the total number of instances depending on the experiment definition)]]></description>1495 <description><![CDATA[Takes into account the Genotype.instances field (which may give the total number of instances depending on the experiment definition)]]></description> 1492 1496 </element> 1493 1497 <element name="addGeno" function="true" type="Genotype"> … … 2488 2492 There are 2 kinds of data you can receive: 2489 2493 1. aggregating functions (receive and receiveFilter) calculate the overall power of the received signal (based on the distance and the source power). 2490 2. receiveSet and receiveSingle fetch the individual Signal object(s) so it is possible to transmit something else than just a single number (by using Signal.value) and do more sophisticated processing.2494 2. receiveSet and receiveSingle fetch the individual Signal object(s) so it is possible to transmit something else than just a single number (by using Signal.value) and do more sophisticated processing. 2491 2495 2492 2496 Creating: Use "add" in Creature.signals, Neuro.signals, or World.signals.]]></description> … … 2883 2887 </element> 2884 2888 <element name="neuadd_Fuzzy" type="integer" min="0" max="1"> 2885 <description><![CDATA[Refer to publications to learn about this neuron2889 <description><![CDATA[Refer to publications to learn more about this neuron. 2886 2890 2887 2891 Characteristics: … … 2898 2902 </element> 2899 2903 <element name="neuadd_VEye" type="integer" min="0" max="1"> 2900 <description><![CDATA[Characteristics: 2904 <description><![CDATA[Refer to publications to learn more about this neuron. 2905 2906 Characteristics: 2901 2907 uses single input 2902 2908 provides output value … … 2916 2922 </element> 2917 2923 <element name="neuadd_VMotor" type="integer" min="0" max="1"> 2918 <description><![CDATA[Must be connected to the VEye and properly set up. 2924 <description><![CDATA[Must be connected to the VEye and properly set up. Refer to publications to learn more about this neuron. 2919 2925 2920 2926 Characteristics: … … 3127 3133 </element> 3128 3134 <element name="ncl_Fuzzy" type="integer" min="0" max="1"> 3129 <description><![CDATA[Refer to publications to learn about this neuron3135 <description><![CDATA[Refer to publications to learn more about this neuron. 3130 3136 3131 3137 Characteristics: … … 3142 3148 </element> 3143 3149 <element name="ncl_VEye" type="integer" min="0" max="1"> 3144 <description><![CDATA[Characteristics: 3150 <description><![CDATA[Refer to publications to learn more about this neuron. 3151 3152 Characteristics: 3145 3153 uses single input 3146 3154 provides output value … … 3160 3168 </element> 3161 3169 <element name="ncl_VMotor" type="integer" min="0" max="1"> 3162 <description><![CDATA[Must be connected to the VEye and properly set up. 3170 <description><![CDATA[Must be connected to the VEye and properly set up. Refer to publications to learn more about this neuron. 3163 3171 3164 3172 Characteristics: … … 4452 4460 <element name="fit" type="float"/> 4453 4461 <element name="fit2" type="float"> 4454 <description><![CDATA[Fitnes shifted by (avg-n*stddev)]]></description>4462 <description><![CDATA[Fitness shifted by (avg-n*stddev)]]></description> 4455 4463 </element> 4456 4464 <element name="geno" type="Geno"> … … 4462 4470 <description><![CDATA[Additional information or comments]]></description> 4463 4471 </element> 4464 <element name="instances" type="integer"/> 4472 <element name="instances" type="integer"> 4473 <description><![CDATA[Copies of this genotype]]></description> 4474 </element> 4465 4475 <element name="isValid" type="integer" min="0" max="1"/> 4466 4476 <element name="lifespan" type="float"> … … 4468 4478 </element> 4469 4479 <element name="name" type="string"/> 4470 <element name="nncon" type="float"> 4471 <description><![CDATA[(deprecated) old name for numconnections]]></description> 4472 </element> 4473 <element name="nnsiz" type="float"> 4474 <description><![CDATA[(deprecated) old name for numneurons]]></description> 4475 </element> 4480 <element name="nncon" type="float"/> 4481 <element name="nnsiz" type="float"/> 4476 4482 <element name="num" type="integer"/> 4477 4483 <element name="numconnections" type="float"/> … … 4479 4485 <element name="numneurons" type="float"/> 4480 4486 <element name="numparts" type="float"/> 4481 <element name="popsiz" type="integer"> 4482 <description><![CDATA[(deprecated) old name for instances]]></description> 4483 </element> 4487 <element name="popsiz" type="integer"/> 4484 4488 <element name="simi" type="float"/> 4485 <element name="strjoints" type="float"> 4486 <description><![CDATA[(deprecated) old name for numjoints]]></description> 4487 </element> 4488 <element name="strsiz" type="float"> 4489 <description><![CDATA[(deprecated) old name for numparts]]></description> 4490 </element> 4489 <element name="strjoints" type="float"/> 4490 <element name="strsiz" type="float"/> 4491 4491 <element name="uid" type="string"> 4492 4492 <description><![CDATA[Unique identifier]]></description> … … 4566 4566 <element name="numparts" type="integer"/> 4567 4567 <element name="orient" type="Orient"> 4568 <description><![CDATA[ by convention the creature orientation is equal to its first part orientation]]></description>4568 <description><![CDATA[By convention, the orientation of the creature is equal to the orientation of its first Part]]></description> 4569 4569 </element> 4570 4570 <element name="othermask" type="integer" min="0" max="2147483647" default="0"/> … … 4590 4590 <element name="signals" type="CreatureSignals"/> 4591 4591 <element name="size_x" type="float"> 4592 <description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including the imaginary part sizes (Part.s, usually 1.0). A creature consisting of a single default part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius).4592 <description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including the imaginary part sizes (Part.s, usually 1.0). A creature consisting of a single default Part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius). 4593 4593 See also: Creature.moveAbs]]></description> 4594 4594 </element> … … 4657 4657 4658 4658 origin (pos_x,pos_y,pos_z) = (-1,-1,-1) 4659 size (size_x,size_y,size_z) = ( 2,1,1)4659 size (size_x,size_y,size_z) = (3,2,2) 4660 4660 4661 4661 The following example places the bottom of a creature at a given location (x,y,z): … … 4684 4684 </element> 4685 4685 <element name="rotateLocal" function="true" type="void"> 4686 <description><![CDATA[Rotate the creature around (local) X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation couldbe disturbed.]]></description>4686 <description><![CDATA[Rotate the creature around (local) X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise further simulation can be disturbed.]]></description> 4687 4687 <arguments> 4688 4688 <argument name="x" type="float"/> … … 5143 5143 There are 2 kinds of data you can receive: 5144 5144 1. aggregating functions (receive and receiveFilter) calculate the overall power of the received signal (based on the distance and the source power). 5145 2. receiveSet and receiveSingle fetch the individual Signal object(s) so it is possible to transmit something else than just a single number (by using Signal.value) and do more sophisticated processing.5145 2. receiveSet and receiveSingle fetch the individual Signal object(s) so it is possible to transmit something else than just a single number (by using Signal.value) and do more sophisticated processing. 5146 5146 5147 5147 Creating: Use "add" in Creature.signals, Neuro.signals, or World.signals.]]></description>
Note: See TracChangeset
for help on using the changeset viewer.