Changeset 313
- Timestamp:
- 01/26/15 11:41:13 (10 years ago)
- Location:
- java/FramclipsePlugin/src/main/resources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
java/FramclipsePlugin/src/main/resources/framscript.dtd
r108 r313 24 24 <!ATTLIST element deprecated (false|true) "false"> 25 25 <!ATTLIST element default CDATA #IMPLIED> 26 <!ATTLIST element flags CDATA #IMPLIED> 26 27 27 28 <!-- important difference: no <arguments> tag means the argument number is not known -
java/FramclipsePlugin/src/main/resources/framscript.xml
r309 r313 28 28 <description><![CDATA[General visual style properties.]]></description> 29 29 <element name="style" type="string"/> 30 <element name="name" type="string" />31 <element name="info" type="string" />32 <element name="code" type="string" />33 <element name="streload" function="true" />34 <element name="rebuild" function="true" />30 <element name="name" type="string" flags="19"/> 31 <element name="info" type="string" flags="19"/> 32 <element name="code" type="string" flags="35"/> 33 <element name="streload" function="true" flags="2"/> 34 <element name="rebuild" function="true" flags="34"/> 35 35 <element name="tex" type="integer" min="0" max="2" default="1"/> 36 36 <element name="smooth" type="integer" min="0" max="1" default="1"/> … … 40 40 <description><![CDATA[Properties of a show for the Framsticks Theater (from the *.show file).]]></description> 41 41 <element name="show" type="string"/> 42 <element name="name" type="string" />43 <element name="info" type="string" />44 <element name="dispinfo" type="integer" min="0" max="2" />45 <element name="userspeed" type="integer" min="0" max="5" default="3" />46 <element name="showlog" type="integer" min="0" max="1" />47 <element name="code" type="string" />48 <element name="expdef" type="string" />49 <element name="reload" function="true" />50 <element name="dummy" function="true" >42 <element name="name" type="string" flags="50"/> 43 <element name="info" type="string" flags="50"/> 44 <element name="dispinfo" type="integer" min="0" max="2" flags="2"/> 45 <element name="userspeed" type="integer" min="0" max="5" default="3" flags="2"/> 46 <element name="showlog" type="integer" min="0" max="1" flags="2"/> 47 <element name="code" type="string" flags="34"/> 48 <element name="expdef" type="string" flags="34"/> 49 <element name="reload" function="true" flags="2"/> 50 <element name="dummy" function="true" flags="2"> 51 51 <description><![CDATA[This is the empty item in the Theater's menu]]></description> 52 52 </element> 53 <element name="about" function="true" />54 <element name="regname" type="string" />55 <element name="prev_show" type="string" />56 <element name="mode" type="integer" min="0" max="2" />57 <element name="switchmode" type="integer" min="0" max="3" />58 <element name="switchtime" type="integer" min="0" max="9999" >53 <element name="about" function="true" flags="34"/> 54 <element name="regname" type="string" flags="35"/> 55 <element name="prev_show" type="string" flags="35"/> 56 <element name="mode" type="integer" min="0" max="2" flags="35"/> 57 <element name="switchmode" type="integer" min="0" max="3" flags="32"/> 58 <element name="switchtime" type="integer" min="0" max="9999" flags="32"> 59 59 <description><![CDATA[time between switching (seconds)]]></description> 60 60 </element> 61 <element name="switchshows" type="string" >61 <element name="switchshows" type="string" flags="32"> 62 62 <description><![CDATA[names of the shows participating in automatic switching (comma separated). Use * as a wildcard.]]></description> 63 63 </element> 64 <element name="includeshows" type="string" >64 <element name="includeshows" type="string" flags="32"> 65 65 <description><![CDATA[names of shows included in the show menu. Use * as a wildcard.]]></description> 66 66 </element> 67 <element name="excludeshows" type="string" >67 <element name="excludeshows" type="string" flags="32"> 68 68 <description><![CDATA[names of shows excluded from the show menu. Use * as a wildcard.]]></description> 69 69 </element> … … 88 88 <type name="CheckpointEvent" context="Global context"> 89 89 <description><![CDATA[CheckpointEvent]]></description> 90 <element name="index" type="integer" />91 <element name="slave" type="Simulator" />92 <element name="ticks" type="integer" />93 <element name="data" type="untyped" />90 <element name="index" type="integer" flags="1"/> 91 <element name="slave" type="Simulator" flags="1"/> 92 <element name="ticks" type="integer" flags="1"/> 93 <element name="data" type="untyped" flags="1"/> 94 94 </type> 95 95 <type name="Collision" context="Global context"> 96 96 <description><![CDATA[Used in collision handlers (On___Collision). Contains the detailed information about the colliding parts (Part1,Part2 and their associated MechParts and Creatures). See the onFoodCollision() function in standard.expdef]]></description> 97 <element name="Part1" type="Object" />98 <element name="Part2" type="Object" />99 <element name="MechPart1" type="Object" />100 <element name="MechPart2" type="Object" />101 <element name="Creature1" type="Object" />102 <element name="Creature2" type="Object" />97 <element name="Part1" type="Object" flags="1"/> 98 <element name="Part2" type="Object" flags="1"/> 99 <element name="MechPart1" type="Object" flags="1"/> 100 <element name="MechPart2" type="Object" flags="1"/> 101 <element name="Creature1" type="Object" flags="1"/> 102 <element name="Creature2" type="Object" flags="1"/> 103 103 </type> 104 104 <type name="CrCollision" context="Global context"> 105 105 <description><![CDATA[Used in creature collision handlers (On___CrCollision).]]></description> 106 <element name="Creature1" type="Object" />107 <element name="Creature2" type="Object" />106 <element name="Creature1" type="Object" flags="1"/> 107 <element name="Creature2" type="Object" flags="1"/> 108 108 </type> 109 109 <type name="Creature" context="Global context"> … … 113 113 See also: Population.]]></description> 114 114 <element name="name" type="string"/> 115 <element name="genotype" type="string" />115 <element name="genotype" type="string" flags="1"/> 116 116 <element name="info" type="string"> 117 117 <description><![CDATA[Additional info or comments]]></description> 118 118 </element> 119 <element name="group" type="untyped" deprecated="true" >119 <element name="group" type="untyped" deprecated="true" flags="8227"> 120 120 <description><![CDATA[Deprecated. Use population instead.]]></description> 121 121 </element> 122 <element name="population" type="untyped" />123 <element name="index" type="integer" >122 <element name="population" type="untyped" flags="35"/> 123 <element name="index" type="integer" flags="35"> 124 124 <description><![CDATA[Note that the index changes depending on the current creature position in the population. Use Creature.uid if you need a permanent identifier that persists through the entire object lifetime.]]></description> 125 125 </element> 126 126 <element name="gnum" type="integer"/> 127 <element name="buildproblems" type="integer" />127 <element name="buildproblems" type="integer" flags="34"/> 128 128 <element name="energ0" type="float"/> 129 129 <element name="idleen" type="float"/> … … 144 144 <description><![CDATA[Enable/disable detection of self-collisions (within a creature body). They can only occur when using the ODE simulation engine. If enabled, the creature will have its sticks collide during lifespan.]]></description> 145 145 </element> 146 <element name="selfcolstate" function="true" type="integer" >146 <element name="selfcolstate" function="true" type="integer" flags="32"> 147 147 <description><![CDATA[Current self-collision state. In old versions this was a field, not a function.]]></description> 148 148 <arguments/></element> … … 155 155 <element name="vertpos" type="float"/> 156 156 <element name="vertvel" type="float"/> 157 <element name="pos_x" type="float" >157 <element name="pos_x" type="float" flags="3"> 158 158 <description><![CDATA[(pos_x,pos_y,pos_z) is the point of minimal coordinates ("bottom left corner") of the creature, including imaginary Part sizes (Part.s, usually 1.0). See also: Creature.moveAbs]]></description> 159 159 </element> 160 <element name="pos_y" type="float" >160 <element name="pos_y" type="float" flags="3"> 161 161 <description><![CDATA[See Creature.pos_x]]></description> 162 162 </element> 163 <element name="pos_z" type="float" >163 <element name="pos_z" type="float" flags="3"> 164 164 <description><![CDATA[See Creature.pos_x]]></description> 165 165 </element> 166 <element name="size_x" type="float" >166 <element name="size_x" type="float" flags="3"> 167 167 <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). 168 168 See also: Creature.moveAbs]]></description> 169 169 </element> 170 <element name="size_y" type="float" >170 <element name="size_y" type="float" flags="3"> 171 171 <description><![CDATA[See Creature.size_x]]></description> 172 172 </element> 173 <element name="size_z" type="float" >173 <element name="size_z" type="float" flags="3"> 174 174 <description><![CDATA[See Creature.size_x]]></description> 175 175 </element> 176 <element name="center_x" type="float" >176 <element name="center_x" type="float" flags="1"> 177 177 <description><![CDATA[Center of gravity]]></description> 178 178 </element> 179 <element name="center_y" type="float" >179 <element name="center_y" type="float" flags="1"> 180 180 <description><![CDATA[Center of gravity]]></description> 181 181 </element> 182 <element name="center_z" type="float" >182 <element name="center_z" type="float" flags="1"> 183 183 <description><![CDATA[Center of gravity]]></description> 184 184 </element> 185 <element name="numparts" type="integer" />186 <element name="numjoints" type="integer" />187 <element name="numneurons" type="integer" />185 <element name="numparts" type="integer" flags="3"/> 186 <element name="numjoints" type="integer" flags="3"/> 187 <element name="numneurons" type="integer" flags="3"/> 188 188 <element name="user1" type="untyped"/> 189 189 <element name="user2" type="untyped"/> 190 190 <element name="user3" type="untyped"/> 191 <element name="move" function="true" type="void" >191 <element name="move" function="true" type="void" flags="32"> 192 192 <description><![CDATA[Shift the creature by a given vector.]]></description> 193 193 <arguments> … … 197 197 </arguments> 198 198 </element> 199 <element name="moveAbs" function="true" type="void" >199 <element name="moveAbs" function="true" type="void" flags="32"> 200 200 <description><![CDATA[Moves the creature so that its origin (pos_x,pos_y,pos_z) is placed at the given location. The origin is the point of minimal coordinates ("bottom left corner"), including imaginary part sizes (Part.s, usually 1.0). 201 201 Assuming a simple single-stick creature "X" having parts at (0,0,0) and (1,0,0), … … 213 213 </arguments> 214 214 </element> 215 <element name="moveLocal" function="true" type="void" >215 <element name="moveLocal" function="true" type="void" flags="32"> 216 216 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> 217 217 <arguments> … … 221 221 </arguments> 222 222 </element> 223 <element name="localToWorld" function="true" type="XYZ" >223 <element name="localToWorld" function="true" type="XYZ" flags="32"> 224 224 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> 225 225 <arguments> … … 229 229 </arguments> 230 230 </element> 231 <element name="worldToLocal" function="true" type="XYZ" >231 <element name="worldToLocal" function="true" type="XYZ" flags="32"> 232 232 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> 233 233 <arguments> … … 237 237 </arguments> 238 238 </element> 239 <element name="orient" type="Orient" >239 <element name="orient" type="Orient" flags="33"> 240 240 <description><![CDATA[By convention, the orientation of the creature is equal to the orientation of its first Part]]></description> 241 241 </element> 242 <element name="rotate" function="true" type="void" >242 <element name="rotate" function="true" type="void" flags="32"> 243 243 <description><![CDATA[Rotate the creature around 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> 244 244 <arguments> … … 248 248 </arguments> 249 249 </element> 250 <element name="rotateLocal" function="true" type="void" >250 <element name="rotateLocal" function="true" type="void" flags="32"> 251 251 <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> 252 252 <arguments> … … 256 256 </arguments> 257 257 </element> 258 <element name="drive" type="XYZ" >258 <element name="drive" type="XYZ" flags="34"> 259 259 <description><![CDATA[Measured in global coordinates]]></description> 260 260 </element> 261 <element name="localDrive" type="XYZ" >261 <element name="localDrive" type="XYZ" flags="34"> 262 262 <description><![CDATA[Measured in local coordinates, that is, with respect to the current orientation of the creature. 263 263 See also: Creature.orient]]></description> 264 264 </element> 265 <element name="getPart" function="true" type="Part" >265 <element name="getPart" function="true" type="Part" flags="32"> 266 266 <arguments> 267 267 <argument name="index" type="integer"/> 268 268 </arguments> 269 269 </element> 270 <element name="getJoint" function="true" type="Joint" >270 <element name="getJoint" function="true" type="Joint" flags="32"> 271 271 <arguments> 272 272 <argument name="index" type="integer"/> 273 273 </arguments> 274 274 </element> 275 <element name="getNeuroDef" function="true" type="NeuroDef" >275 <element name="getNeuroDef" function="true" type="NeuroDef" flags="32"> 276 276 <arguments> 277 277 <argument name="index" type="integer"/> 278 278 </arguments> 279 279 </element> 280 <element name="getMechPart" function="true" type="MechPart" >280 <element name="getMechPart" function="true" type="MechPart" flags="32"> 281 281 <arguments> 282 282 <argument name="index" type="integer"/> 283 283 </arguments> 284 284 </element> 285 <element name="getMechJoint" function="true" type="MechJoint" >285 <element name="getMechJoint" function="true" type="MechJoint" flags="32"> 286 286 <arguments> 287 287 <argument name="index" type="integer"/> 288 288 </arguments> 289 289 </element> 290 <element name="getNeuro" function="true" type="Neuro" >290 <element name="getNeuro" function="true" type="Neuro" flags="32"> 291 291 <arguments> 292 292 <argument name="index" type="integer"/> 293 293 </arguments> 294 294 </element> 295 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" />296 <element name="othermask" type="integer" min="0" max="2147483647" default="0" />297 <element name="currentGeometryAsF0" function="true" type="string" ><arguments/></element>298 <element name="geno" type="Geno" >295 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" flags="32"/> 296 <element name="othermask" type="integer" min="0" max="2147483647" default="0" flags="32"/> 297 <element name="currentGeometryAsF0" function="true" type="string" flags="32"><arguments/></element> 298 <element name="geno" type="Geno" flags="35"> 299 299 <description><![CDATA[Source genotype for this creature]]></description> 300 300 </element> 301 <element name="model" type="Model" >301 <element name="model" type="Model" flags="35"> 302 302 <description><![CDATA[Source Model for this creature]]></description> 303 303 </element> 304 <element name="liveModel" type="Model" >304 <element name="liveModel" type="Model" flags="35"> 305 305 <description><![CDATA[A Model object that is a copy of the current (temporary) geometry of this creature]]></description> 306 306 </element> 307 <element name="uid" type="string" />308 <element name="signals" type="CreatureSignals" />309 <element name="boundingBoxCollisions" function="true" type="integer" >307 <element name="uid" type="string" flags="33"/> 308 <element name="signals" type="CreatureSignals" flags="35"/> 309 <element name="boundingBoxCollisions" function="true" type="integer" flags="34"> 310 310 <description><![CDATA[Checks approximate collisions for the selected creature. 311 311 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ). … … 341 341 </arguments> 342 342 </element> 343 <element name="addProperty" function="true" type="Signal" >343 <element name="addProperty" function="true" type="Signal" flags="256"> 344 344 <description><![CDATA[Create a signal that automatically reflects one of the creature's properties (i.e. its power is equal to the property value). 345 345 Example: … … 388 388 </arguments> 389 389 </element> 390 <element name="size" type="integer" />391 <element name="clear" function="true" type="void" ><arguments/></element>390 <element name="size" type="integer" flags="1"/> 391 <element name="clear" function="true" type="void" flags="1"><arguments/></element> 392 392 </type> 393 393 <type name="CreatureSnapshot" context="Global context"> … … 437 437 <element name="user2" type="untyped"/> 438 438 <element name="user3" type="untyped"/> 439 <element name="orient" type="Orient" >439 <element name="orient" type="Orient" flags="32"> 440 440 <description><![CDATA[By convention, the orientation of the creature is equal to the orientation of its first Part]]></description> 441 441 </element> 442 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" />443 <element name="othermask" type="integer" min="0" max="2147483647" default="0" />444 <element name="uid" type="string" />442 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" flags="32"/> 443 <element name="othermask" type="integer" min="0" max="2147483647" default="0" flags="32"/> 444 <element name="uid" type="string" flags="32"/> 445 445 </type> 446 446 <type name="Dictionary" context="Global context"> … … 450 450 var i; 451 451 for(i=0;i<d.size;i++) Simulator.print(d.getKey(i)+" is "+d.get(i));]]></description> 452 <element name="clear" function="true" type="void" ><arguments/></element>453 <element name="size" type="integer" />454 <element name="remove" function="true" type="void" >452 <element name="clear" function="true" type="void" flags="256"><arguments/></element> 453 <element name="size" type="integer" flags="257"/> 454 <element name="remove" function="true" type="void" flags="256"> 455 455 <arguments> 456 456 <argument name="key" type="untyped"/> 457 457 </arguments> 458 458 </element> 459 <element name="get" function="true" type="untyped" >459 <element name="get" function="true" type="untyped" flags="256"> 460 460 <arguments> 461 461 <argument name="key" type="untyped"/> 462 462 </arguments> 463 463 </element> 464 <element name="getKey" function="true" type="string" >464 <element name="getKey" function="true" type="string" flags="256"> 465 465 <arguments> 466 466 <argument name="index" type="integer"/> 467 467 </arguments> 468 468 </element> 469 <element name="set" function="true" type="void" >469 <element name="set" function="true" type="void" flags="256"> 470 470 <arguments> 471 471 <argument name="key" type="untyped"/> … … 473 473 </arguments> 474 474 </element> 475 <element name="find" function="true" type="string" >475 <element name="find" function="true" type="string" flags="256"> 476 476 <description><![CDATA[returns the element key or null if not found]]></description> 477 477 <arguments> … … 480 480 </element> 481 481 <element name="new" function="true" type="Dictionary"><arguments/></element> 482 <element name="toString" type="string" />482 <element name="toString" type="string" flags="257"/> 483 483 </type> 484 484 <type name="File" context="Global context"> 485 485 <description><![CDATA[Provides read/write access to the filesystem. Can be used in the experiment definition to save the experiment state (onExpSave) or any other information. Files are created in the "data/scripts_output" subdirectory, which is either near the Framsticks executable (if this subdirectory is writable) or in your user Documents directory.]]></description> 486 <element name="name" type="string" />487 <element name="path" type="string" />486 <element name="name" type="string" flags="1"/> 487 <element name="path" type="string" flags="1"/> 488 488 <element name="info" type="string"/> 489 <element name="writeNameObject" function="true" type="void" >489 <element name="writeNameObject" function="true" type="void" flags="32"> 490 490 <arguments> 491 491 <argument name="name" type="string"/> … … 493 493 </arguments> 494 494 </element> 495 <element name="writeObject" function="true" type="void" >495 <element name="writeObject" function="true" type="void" flags="32"> 496 496 <arguments> 497 497 <argument type="Object"/> 498 498 </arguments> 499 499 </element> 500 <element name="writeObjectBegin" function="true" type="void" >500 <element name="writeObjectBegin" function="true" type="void" flags="32"> 501 501 <arguments> 502 502 <argument type="Object"/> 503 503 </arguments> 504 504 </element> 505 <element name="writeObjectField" function="true" type="void" >505 <element name="writeObjectField" function="true" type="void" flags="32"> 506 506 <arguments> 507 507 <argument type="Object"/> … … 509 509 </arguments> 510 510 </element> 511 <element name="writeObjectFields" function="true" type="void" >511 <element name="writeObjectFields" function="true" type="void" flags="32"> 512 512 <arguments> 513 513 <argument type="Object"/> 514 514 </arguments> 515 515 </element> 516 <element name="writeObjectFieldForce" function="true" type="void" >516 <element name="writeObjectFieldForce" function="true" type="void" flags="32"> 517 517 <arguments> 518 518 <argument type="Object"/> … … 520 520 </arguments> 521 521 </element> 522 <element name="writeObjectFieldsForce" function="true" type="void" >522 <element name="writeObjectFieldsForce" function="true" type="void" flags="32"> 523 523 <arguments> 524 524 <argument type="Object"/> 525 525 </arguments> 526 526 </element> 527 <element name="writeObjectEnd" function="true" type="void" ><arguments/></element>528 <element name="writeString" function="true" type="void" >527 <element name="writeObjectEnd" function="true" type="void" flags="32"><arguments/></element> 528 <element name="writeString" function="true" type="void" flags="32"> 529 529 <arguments> 530 530 <argument name="anything" type="untyped"/> 531 531 </arguments> 532 532 </element> 533 <element name="writeComment" function="true" type="void" >533 <element name="writeComment" function="true" type="void" flags="32"> 534 534 <arguments> 535 535 <argument name="anything" type="string"/> 536 536 </arguments> 537 537 </element> 538 <element name="readLine" function="true" type="string" ><arguments/></element>539 <element name="readObject" function="true" type="void" >538 <element name="readLine" function="true" type="string" flags="32"><arguments/></element> 539 <element name="readObject" function="true" type="void" flags="32"> 540 540 <arguments> 541 541 <argument type="Object"/> 542 542 </arguments> 543 543 </element> 544 <element name="EOF" type="integer" min="0" max="1" />545 <element name="readUntilEOF" function="true" type="string" ><arguments/></element>546 <element name="getContents" function="true" type="string" >544 <element name="EOF" type="integer" min="0" max="1" flags="33"/> 545 <element name="readUntilEOF" function="true" type="string" flags="32"><arguments/></element> 546 <element name="getContents" function="true" type="string" flags="32"> 547 547 <description><![CDATA[Shortcut to: var f=File.open(filename); c=f.readUntilEOF(); f.close(); return c;]]></description> 548 548 <arguments> … … 550 550 </arguments> 551 551 </element> 552 <element name="create" function="true" type="File" >552 <element name="create" function="true" type="File" flags="32"> 553 553 <arguments> 554 554 <argument name="filename" type="string"/> … … 556 556 </arguments> 557 557 </element> 558 <element name="createDirect" function="true" type="File" >558 <element name="createDirect" function="true" type="File" flags="32"> 559 559 <arguments> 560 560 <argument name="filename" type="string"/> … … 562 562 </arguments> 563 563 </element> 564 <element name="append" function="true" type="File " >564 <element name="append" function="true" type="File " flags="32"> 565 565 <arguments> 566 566 <argument name="filename" type="string"/> … … 568 568 </arguments> 569 569 </element> 570 <element name="appendDirect" function="true" type="File " >570 <element name="appendDirect" function="true" type="File " flags="32"> 571 571 <arguments> 572 572 <argument name="filename" type="string"/> … … 574 574 </arguments> 575 575 </element> 576 <element name="flush" function="true" type="void" >576 <element name="flush" function="true" type="void" flags="32"> 577 577 <description><![CDATA[Useful for unbuffered disk files only (openDirect, appendDirect)]]></description> 578 578 <arguments/></element> 579 <element name="open" function="true" type="File " >579 <element name="open" function="true" type="File " flags="32"> 580 580 <arguments> 581 581 <argument name="filename" type="string"/> 582 582 </arguments> 583 583 </element> 584 <element name="new" function="true" type="File " ><arguments/></element>585 <element name="newFromString" function="true" type="File " >584 <element name="new" function="true" type="File " flags="32"><arguments/></element> 585 <element name="newFromString" function="true" type="File " flags="32"> 586 586 <arguments> 587 587 <argument name="text" type="string"/> 588 588 </arguments> 589 589 </element> 590 <element name="close" function="true" type="string" >590 <element name="close" function="true" type="string" flags="32"> 591 591 <description><![CDATA[returns file contents if it has been buffered]]></description> 592 592 <arguments/></element> 593 <element name="exists" function="true" type="integer" min="0" max="1" >593 <element name="exists" function="true" type="integer" min="0" max="1" flags="32"> 594 594 <description><![CDATA[Sample: 595 595 File.exists("default.sim") -> return 0 or 1]]></description> 596 596 <arguments/></element> 597 <element name="pathseparator" type="string" />598 <element name="system" function="true" type="integer" >597 <element name="pathseparator" type="string" flags="33"/> 598 <element name="system" function="true" type="integer" flags="32"> 599 599 <description><![CDATA[Invokes a system command and returns its exit code (0 usually means the command was completed successfully). 600 600 … … 610 610 <description><![CDATA[GenePool objects are accessed by GenePools[index], or Genotype.genepool and created by GenePools.addGroup(). Usage of the static GenePool object is no longer recommended. See also: GenePools]]></description> 611 611 <element name="name" type="string"/> 612 <element name="index" type="integer" />613 <element name="size" type="integer" >612 <element name="index" type="integer" flags="35"/> 613 <element name="size" type="integer" flags="3"> 614 614 <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> 615 615 </element> 616 <element name="totalpop" type="integer" >616 <element name="totalpop" type="integer" flags="3"> 617 617 <description><![CDATA[Takes into account the Genotype.instances field (which may give the total number of instances depending on the experiment definition).]]></description> 618 618 </element> … … 631 631 better than the average one.]]></description> 632 632 </element> 633 <element name="get" function="true" type="Genotype" >633 <element name="get" function="true" type="Genotype" flags="34"> 634 634 <arguments> 635 635 <argument name="index" type="integer"/> 636 636 </arguments> 637 637 </element> 638 <element name="findGeno" function="true" type="integer" deprecated="true" >638 <element name="findGeno" function="true" type="integer" deprecated="true" flags="8226"> 639 639 <description><![CDATA[Finds the Genotype matching the supplied Geno object. 640 640 returns genotype index or -1 if not found. … … 644 644 </arguments> 645 645 </element> 646 <element name="findGenotype" function="true" type="Genotype" >646 <element name="findGenotype" function="true" type="Genotype" flags="34"> 647 647 <description><![CDATA[Finds the Genotype matching the supplied Genotype object, Geno object, or genotype string. 648 648 returns genotype object or null if not found.]]></description> … … 651 651 </arguments> 652 652 </element> 653 <element name="findUID" function="true" type="integer" >653 <element name="findUID" function="true" type="integer" flags="34"> 654 654 <arguments> 655 655 <argument name="uid" type="string"/> 656 656 </arguments> 657 657 </element> 658 <element name="addGeno" function="true" type="Genotype" deprecated="true" >658 <element name="addGeno" function="true" type="Genotype" deprecated="true" flags="8226"> 659 659 <description><![CDATA[Creates a new Genotype from the supplied Geno object. 660 660 Returns the created Genotype. … … 664 664 </arguments> 665 665 </element> 666 <element name="createFromGeno" function="true" type="Genotype" deprecated="true" >666 <element name="createFromGeno" function="true" type="Genotype" deprecated="true" flags="8226"> 667 667 <description><![CDATA[same as addGeno (to comply with createFrom... convention) 668 668 Deprecated. Use the more versatile add() instead of this function.]]></description> … … 671 671 </arguments> 672 672 </element> 673 <element name="createFromString" function="true" type="Genotype" deprecated="true" >673 <element name="createFromString" function="true" type="Genotype" deprecated="true" flags="8226"> 674 674 <description><![CDATA[Uses the supplied string argument 675 675 Deprecated. Use the more versatile add() instead of this function.]]></description> … … 678 678 </arguments> 679 679 </element> 680 <element name="add" function="true" type="Genotype" >680 <element name="add" function="true" type="Genotype" flags="34"> 681 681 <description><![CDATA[Creates a new Genotype from the supplied Genotype, Geno or string. 682 682 Returns the created Genotype.]]></description> … … 685 685 </arguments> 686 686 </element> 687 <element name="worst" function="true" type="Genotype" >687 <element name="worst" function="true" type="Genotype" flags="34"> 688 688 <description><![CDATA[Returns the genotype object having the lowest fitness. Unrated genotypes (instances==0) are ranked lower than those having at least one instance.]]></description> 689 689 <arguments/></element> 690 <element name="best" function="true" type="Genotype" >690 <element name="best" function="true" type="Genotype" flags="34"> 691 691 <description><![CDATA[Returns the genotype object having the highest fitness. Unrated genotypes (instances==0) are ranked lower than those having at least one instance.]]></description> 692 692 <arguments/></element> 693 <element name="random" function="true" type="Genotype" >693 <element name="random" function="true" type="Genotype" flags="34"> 694 694 <description><![CDATA[Returns a random genotype object]]></description> 695 695 <arguments/></element> 696 <element name="roulette" function="true" type="Genotype" >696 <element name="roulette" function="true" type="Genotype" flags="34"> 697 697 <description><![CDATA[Returns a fitness-proportional genotype object]]></description> 698 698 <arguments/></element> 699 <element name="revroulette" function="true" type="Genotype" >699 <element name="revroulette" function="true" type="Genotype" flags="34"> 700 700 <description><![CDATA[Returns a reverse fitness-proportional genotype object]]></description> 701 701 <arguments/></element> 702 <element name="tournament" function="true" type="Genotype" >702 <element name="tournament" function="true" type="Genotype" flags="34"> 703 703 <description><![CDATA[Returns a tournament winner genotype object]]></description> 704 704 <arguments> … … 706 706 </arguments> 707 707 </element> 708 <element name="randomLikeGeno" function="true" type="Genotype" >708 <element name="randomLikeGeno" function="true" type="Genotype" flags="34"> 709 709 <description><![CDATA[Returns a random genotype index similar to the target genotype. Read about details: 710 710 http://www.framsticks.com/node/795 … … 715 715 </arguments> 716 716 </element> 717 <element name="rouletteLikeGeno" function="true" type="Genotype" >717 <element name="rouletteLikeGeno" function="true" type="Genotype" flags="34"> 718 718 <description><![CDATA[Returns a random genotype similar to the target genotype, fitness-proportional. Read about details: 719 719 http://www.framsticks.com/node/795 … … 724 724 </arguments> 725 725 </element> 726 <element name="delete" function="true" type="void" >726 <element name="delete" function="true" type="void" flags="34"> 727 727 <description><![CDATA[Deletes a genotype.]]></description> 728 728 <arguments> … … 730 730 </arguments> 731 731 </element> 732 <element name="deleteOne" function="true" type="void" >732 <element name="deleteOne" function="true" type="void" flags="34"> 733 733 <description><![CDATA[Deletes one individual, i.e. decreases its 'instances' and deletes the genotype if the 'instances' goes to 0.]]></description> 734 734 <arguments> … … 736 736 </arguments> 737 737 </element> 738 <element name="clear" function="true" type="void" >738 <element name="clear" function="true" type="void" flags="34"> 739 739 <description><![CDATA[Delete all genotypes. GenePools[group].clear() is equivalent to GenePools.clearGroup(group)]]></description> 740 740 <arguments/></element> 741 <element name="mergeInstances" function="true" type="void" >741 <element name="mergeInstances" function="true" type="void" flags="34"> 742 742 <description><![CDATA[Merge instances of the same genotype]]></description> 743 743 <arguments/></element> 744 <element name="splitInstances" function="true" type="void" >744 <element name="splitInstances" function="true" type="void" flags="34"> 745 745 <description><![CDATA[Split genotype instances]]></description> 746 746 <arguments/></element> 747 <element name="iterator" type="Object" />748 <element name="getStatsMin" function="true" type="float" >747 <element name="iterator" type="Object" flags="291"/> 748 <element name="getStatsMin" function="true" type="float" flags="32"> 749 749 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description> 750 750 <arguments> … … 752 752 </arguments> 753 753 </element> 754 <element name="getStatsAvg" function="true" type="float" >754 <element name="getStatsAvg" function="true" type="float" flags="32"> 755 755 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description> 756 756 <arguments> … … 758 758 </arguments> 759 759 </element> 760 <element name="getStatsMax" function="true" type="float" >760 <element name="getStatsMax" function="true" type="float" flags="32"> 761 761 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description> 762 762 <arguments> … … 779 779 g.info="my favorite genotype"; 780 780 g.moveTo(GenePools[0]);]]></description> 781 <element name="group" type="integer" deprecated="true" >781 <element name="group" type="integer" deprecated="true" flags="8226"> 782 782 <description><![CDATA[Index of the currently selected group (GenePool).]]></description> 783 783 </element> 784 <element name="size" type="integer" />785 <element name="genotype" type="integer" deprecated="true" >784 <element name="size" type="integer" flags="3"/> 785 <element name="genotype" type="integer" deprecated="true" flags="8226"> 786 786 <description><![CDATA[Index of the currently selected genotype or -1 if no genotype is selected.]]></description> 787 787 </element> 788 <element name="newGenotype" function="true" type="void" deprecated="true" >788 <element name="newGenotype" function="true" type="void" deprecated="true" flags="8226"> 789 789 <description><![CDATA[Makes a new genotype from the supplied string and select the genotype. The resulting genotype is stored in the static Genotype object detached from the genotype group. After calling this function GenePools.genotype is -1 indicating that no genotype from the group is selected. (call "copySelected" if you want to add this gentype to the genotype group).]]></description> 790 790 <arguments> … … 792 792 </arguments> 793 793 </element> 794 <element name="deleteSelected" function="true" type="void" deprecated="true" >794 <element name="deleteSelected" function="true" type="void" deprecated="true" flags="8226"> 795 795 <description><![CDATA[Deletes selected genotype from the gene pool (uses the selected genotype object).]]></description> 796 796 <arguments/></element> 797 <element name="deleteOne" function="true" type="void" deprecated="true" >797 <element name="deleteOne" function="true" type="void" deprecated="true" flags="8226"> 798 798 <description><![CDATA[Deletes one individual from the gene pool = decreases 'instances' and deletes the genotype if the 'instances' goes to 0.]]></description> 799 799 <arguments> … … 801 801 </arguments> 802 802 </element> 803 <element name="copySelected" function="true" type="void" deprecated="true" >803 <element name="copySelected" function="true" type="void" deprecated="true" flags="8226"> 804 804 <description><![CDATA[Copies the selected genotype to another group.]]></description> 805 805 <arguments> … … 807 807 </arguments> 808 808 </element> 809 <element name="getFromCreature" function="true" type="void" deprecated="true" >809 <element name="getFromCreature" function="true" type="void" deprecated="true" flags="8226"> 810 810 <description><![CDATA[Copies a genotype from the selected creature. The resulting genotype is stored in the static Genotype object detached from the genotype group.]]></description> 811 811 <arguments/></element> 812 <element name="getFromCreatureObject" function="true" type="void" deprecated="true" >812 <element name="getFromCreatureObject" function="true" type="void" deprecated="true" flags="8226"> 813 813 <description><![CDATA[Copies a genotype from the creature object passed in argument. The resulting genotype is stored in the static Genotype object detached from the genotype group.]]></description> 814 814 <arguments> … … 816 816 </arguments> 817 817 </element> 818 <element name="addPerformanceFromCreature" function="true" type="void" deprecated="true" >818 <element name="addPerformanceFromCreature" function="true" type="void" deprecated="true" flags="8226"> 819 819 <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> 820 820 <arguments/></element> 821 <element name="mutateSelected" function="true" type="void" deprecated="true" >821 <element name="mutateSelected" function="true" type="void" deprecated="true" flags="8226"> 822 822 <description><![CDATA[Mutates the selected genotype. The resulting genotype is stored in the static Genotype object detached from the genotype group. After calling this function GenePools.genotype is -1 indicating that no genotype from the group is selected.]]></description> 823 823 <arguments/></element> 824 <element name="crossoverSelected" function="true" type="void" deprecated="true" >824 <element name="crossoverSelected" function="true" type="void" deprecated="true" flags="8226"> 825 825 <description><![CDATA[Crossovers the selected genotype with another one (from the genotype group). The resulting genotype is stored in the static Genotype object detached from the genotype group. After calling this function GenePools.genotype is -1 indicating that no genotype from the group is selected.]]></description> 826 826 <arguments> … … 828 828 </arguments> 829 829 </element> 830 <element name="worst" function="true" type="integer" deprecated="true" >830 <element name="worst" function="true" type="integer" deprecated="true" flags="8226"> 831 831 <description><![CDATA[Gets worst genotype index.]]></description> 832 832 <arguments/></element> 833 <element name="random" function="true" type="integer" deprecated="true" >833 <element name="random" function="true" type="integer" deprecated="true" flags="8226"> 834 834 <description><![CDATA[Gets random genotype index.]]></description> 835 835 <arguments/></element> 836 <element name="roulette" function="true" type="integer" deprecated="true" >836 <element name="roulette" function="true" type="integer" deprecated="true" flags="8226"> 837 837 <description><![CDATA[Gets fitness-proportional genotype index.]]></description> 838 838 <arguments/></element> 839 <element name="revroulette" function="true" type="integer" deprecated="true" >839 <element name="revroulette" function="true" type="integer" deprecated="true" flags="8226"> 840 840 <description><![CDATA[Get reverse fitness-proportional genotype index.]]></description> 841 841 <arguments/></element> 842 <element name="tournament" function="true" type="integer" deprecated="true" >842 <element name="tournament" function="true" type="integer" deprecated="true" flags="8226"> 843 843 <description><![CDATA[Gets tournament winner genotype.]]></description> 844 844 <arguments> … … 846 846 </arguments> 847 847 </element> 848 <element name="randomLikeThis" function="true" type="integer" deprecated="true" >848 <element name="randomLikeThis" function="true" type="integer" deprecated="true" flags="8226"> 849 849 <description><![CDATA[Gets a random genotype index similar to the selected one.]]></description> 850 850 <arguments> … … 852 852 </arguments> 853 853 </element> 854 <element name="likeThisRoulette" function="true" type="integer" deprecated="true" >854 <element name="likeThisRoulette" function="true" type="integer" deprecated="true" flags="8226"> 855 855 <description><![CDATA[Gets a random genotype similar to the selected one, fitness-proportional.]]></description> 856 856 <arguments> … … 858 858 </arguments> 859 859 </element> 860 <element name="findGenotype" function="true" type="integer" deprecated="true" >860 <element name="findGenotype" function="true" type="integer" deprecated="true" flags="8226"> 861 861 <description><![CDATA[Finds a genotype matching the current genotype. It only makes sense when the current genotype is a result of the genetic operator.]]></description> 862 862 <arguments/></element> 863 <element name="findGenotypeForCreature" function="true" type="integer" deprecated="true" >863 <element name="findGenotypeForCreature" function="true" type="integer" deprecated="true" flags="8226"> 864 864 <description><![CDATA[Finds a genotype matching the selected creature.]]></description> 865 865 <arguments/></element> 866 <element name="addGroup" function="true" type="GenePool" >866 <element name="addGroup" function="true" type="GenePool" flags="34"> 867 867 <description><![CDATA[Adds a new gene pool.]]></description> 868 868 <arguments> … … 870 870 </arguments> 871 871 </element> 872 <element name="deleteGroup" function="true" type="void" >872 <element name="deleteGroup" function="true" type="void" flags="34"> 873 873 <description><![CDATA[Removes a gene pool.]]></description> 874 874 <arguments> … … 876 876 </arguments> 877 877 </element> 878 <element name="clear" function="true" type="void" >878 <element name="clear" function="true" type="void" flags="34"> 879 879 <description><![CDATA[Removes all gene pools except the first one.]]></description> 880 880 <arguments/></element> 881 <element name="clearGroup" function="true" type="void" deprecated="true" >881 <element name="clearGroup" function="true" type="void" deprecated="true" flags="8226"> 882 882 <description><![CDATA[GenePools[group].clear() is more "object oriented" than GenePools.clearGroup(group)]]></description> 883 883 <arguments> … … 885 885 </arguments> 886 886 </element> 887 <element name="get" function="true" type="GenePool" >887 <element name="get" function="true" type="GenePool" flags="34"> 888 888 <arguments> 889 889 <argument name="index" type="integer"/> 890 890 </arguments> 891 891 </element> 892 <element name="iterator" type="Object" />892 <element name="iterator" type="Object" flags="289"/> 893 893 </type> 894 894 <type name="GenMan" context="Global context"> 895 895 <description><![CDATA[Manages various genetic operations, using appropriate operators for the argument genotype format.]]></description> 896 <element name="gen_hist" type="integer" min="0" max="1" default="0" >896 <element name="gen_hist" type="integer" min="0" max="1" default="0" flags="2"> 897 897 <description><![CDATA[Required for phylogenetic analysis]]></description> 898 898 </element> … … 904 904 <description><![CDATA[If active, information about employed mutation method will be stored in the 'info' field of each mutated genotype.]]></description> 905 905 </element> 906 <element name="operReport" function="true" type="void" >906 <element name="operReport" function="true" type="void" flags="2"> 907 907 <description><![CDATA[Show available genetic operators]]></description> 908 908 <arguments/></element> 909 <element name="toHTML" function="true" type="string" >909 <element name="toHTML" function="true" type="string" flags="2"> 910 910 <description><![CDATA[returns genotype expressed as colored HTML]]></description> 911 911 <arguments> … … 913 913 </arguments> 914 914 </element> 915 <element name="toHTMLshort" function="true" type="string" >915 <element name="toHTMLshort" function="true" type="string" flags="2"> 916 916 <description><![CDATA[returns genotype (abbreviated if needed) expressed as colored HTML]]></description> 917 917 <arguments> … … 919 919 </arguments> 920 920 </element> 921 <element name="validate" function="true" type="Geno" >921 <element name="validate" function="true" type="Geno" flags="34"> 922 922 <description><![CDATA[returns validated (if possible) Geno object from supplied Geno]]></description> 923 923 <arguments> … … 925 925 </arguments> 926 926 </element> 927 <element name="mutate" function="true" type="Geno" >927 <element name="mutate" function="true" type="Geno" flags="34"> 928 928 <description><![CDATA[returns mutated Geno object from supplied Geno]]></description> 929 929 <arguments> … … 931 931 </arguments> 932 932 </element> 933 <element name="crossOver" function="true" type="Geno" >933 <element name="crossOver" function="true" type="Geno" flags="34"> 934 934 <description><![CDATA[returns crossed over genotype]]></description> 935 935 <arguments> … … 938 938 </arguments> 939 939 </element> 940 <element name="getSimplest" function="true" type="Geno" >940 <element name="getSimplest" function="true" type="Geno" flags="34"> 941 941 <description><![CDATA[returns the simplest genotype for a given encoding (format). 0 means f0, 4 means f4, etc.]]></description> 942 942 <arguments> … … 944 944 </arguments> 945 945 </element> 946 <element name="clear" function="true" />947 <element name="add" function="true" />948 <element name="remove" function="true" />949 <element name="addGroup" function="true" />950 <element name="removeGroup" function="true" />951 <element name="changedProperty" type="integer" />952 <element name="changedPropertyId" type="string" />953 <element name="genoper_f0" type="integer" min="0" max="0" >954 <description><![CDATA[]]></description> 955 </element> 956 <element name="genoper_f1" type="integer" min="0" max="0" >957 <description><![CDATA[]]></description> 958 </element> 959 <element name="genoper_f2" type="integer" min="0" max="0" >960 <description><![CDATA[]]></description> 961 </element> 962 <element name="genoper_f3" type="integer" min="0" max="0" >963 <description><![CDATA[]]></description> 964 </element> 965 <element name="genoper_f4" type="integer" min="0" max="0" >966 <description><![CDATA[]]></description> 967 </element> 968 <element name="genoper_f9" type="integer" min="0" max="0" >969 <description><![CDATA[]]></description> 970 </element> 971 <element name="genoper_fF" type="integer" min="0" max="0" >946 <element name="clear" function="true" flags="34"/> 947 <element name="add" function="true" flags="34"/> 948 <element name="remove" function="true" flags="34"/> 949 <element name="addGroup" function="true" flags="34"/> 950 <element name="removeGroup" function="true" flags="34"/> 951 <element name="changedProperty" type="integer" flags="35"/> 952 <element name="changedPropertyId" type="string" flags="35"/> 953 <element name="genoper_f0" type="integer" min="0" max="0" flags="65"> 954 <description><![CDATA[]]></description> 955 </element> 956 <element name="genoper_f1" type="integer" min="0" max="0" flags="65"> 957 <description><![CDATA[]]></description> 958 </element> 959 <element name="genoper_f2" type="integer" min="0" max="0" flags="65"> 960 <description><![CDATA[]]></description> 961 </element> 962 <element name="genoper_f3" type="integer" min="0" max="0" flags="65"> 963 <description><![CDATA[]]></description> 964 </element> 965 <element name="genoper_f4" type="integer" min="0" max="0" flags="65"> 966 <description><![CDATA[]]></description> 967 </element> 968 <element name="genoper_f9" type="integer" min="0" max="0" flags="65"> 969 <description><![CDATA[]]></description> 970 </element> 971 <element name="genoper_fF" type="integer" min="0" max="0" flags="65"> 972 972 <description><![CDATA[]]></description> 973 973 </element> … … 1408 1408 <type name="GenManStats" context="Global context"> 1409 1409 <description><![CDATA[Statistics for genetic operations.]]></description> 1410 <element name="gen_count" type="integer" >1411 <description><![CDATA[]]></description> 1412 </element> 1413 <element name="gen_mvalid" type="integer" >1414 <description><![CDATA[]]></description> 1415 </element> 1416 <element name="gen_mvalidated" type="integer" >1417 <description><![CDATA[]]></description> 1418 </element> 1419 <element name="gen_minvalid" type="integer" >1410 <element name="gen_count" type="integer" flags="1"> 1411 <description><![CDATA[]]></description> 1412 </element> 1413 <element name="gen_mvalid" type="integer" flags="1"> 1414 <description><![CDATA[]]></description> 1415 </element> 1416 <element name="gen_mvalidated" type="integer" flags="1"> 1417 <description><![CDATA[]]></description> 1418 </element> 1419 <element name="gen_minvalid" type="integer" flags="1"> 1420 1420 <description><![CDATA[couldn't be repaired]]></description> 1421 1421 </element> 1422 <element name="gen_mfailed" type="integer" >1422 <element name="gen_mfailed" type="integer" flags="1"> 1423 1423 <description><![CDATA[couldn't be performed]]></description> 1424 1424 </element> 1425 <element name="gen_xovalid" type="integer" >1426 <description><![CDATA[]]></description> 1427 </element> 1428 <element name="gen_xovalidated" type="integer" >1429 <description><![CDATA[]]></description> 1430 </element> 1431 <element name="gen_xoinvalid" type="integer" >1425 <element name="gen_xovalid" type="integer" flags="1"> 1426 <description><![CDATA[]]></description> 1427 </element> 1428 <element name="gen_xovalidated" type="integer" flags="1"> 1429 <description><![CDATA[]]></description> 1430 </element> 1431 <element name="gen_xoinvalid" type="integer" flags="1"> 1432 1432 <description><![CDATA[couldn't be repaired]]></description> 1433 1433 </element> 1434 <element name="gen_xofailed" type="integer" >1434 <element name="gen_xofailed" type="integer" flags="1"> 1435 1435 <description><![CDATA[couldn't be performed]]></description> 1436 1436 </element> 1437 <element name="gen_mutimpr" type="float" >1437 <element name="gen_mutimpr" type="float" flags="1"> 1438 1438 <description><![CDATA[total cumulative mutation change]]></description> 1439 1439 </element> 1440 <element name="gen_xoimpr" type="float" >1440 <element name="gen_xoimpr" type="float" flags="1"> 1441 1441 <description><![CDATA[total cumulative crossover change]]></description> 1442 1442 </element> 1443 <element name="clrstats" function="true" type="void" >1443 <element name="clrstats" function="true" type="void" flags="2"> 1444 1444 <description><![CDATA[]]></description> 1445 1445 <arguments/></element> … … 1448 1448 <description><![CDATA[All information about a single genotype. 1449 1449 This is a genetics-only object which does not contain any performance data. See also: Genotype class]]></description> 1450 <element name="name" type="string" />1451 <element name="rawgenotype" type="string" >1450 <element name="name" type="string" flags="256"/> 1451 <element name="rawgenotype" type="string" flags="257"> 1452 1452 <description><![CDATA[Genotype, excluding the format specifier]]></description> 1453 1453 </element> 1454 <element name="info" type="string" >1454 <element name="info" type="string" flags="256"> 1455 1455 <description><![CDATA[Additional information or comments]]></description> 1456 1456 </element> 1457 <element name="format" type="integer" >1457 <element name="format" type="integer" flags="257"> 1458 1458 <description><![CDATA[Genotype format]]></description> 1459 1459 </element> 1460 <element name="genotype" type="string" />1461 <element name="isValid" type="integer" min="0" max="1" />1462 <element name="getConverted" function="true" type="Geno" >1460 <element name="genotype" type="string" flags="257"/> 1461 <element name="isValid" type="integer" min="0" max="1" flags="257"/> 1462 <element name="getConverted" function="true" type="Geno" flags="256"> 1463 1463 <arguments> 1464 1464 <argument name="format" type="integer"/> 1465 1465 </arguments> 1466 1466 </element> 1467 <element name="f0genotype" type="string" >1467 <element name="f0genotype" type="string" flags="257"> 1468 1468 <description><![CDATA[converted to f0 genotype]]></description> 1469 1469 </element> … … 1482 1482 </arguments> 1483 1483 </element> 1484 <element name="autoname" type="string" />1485 <element name="toVector" type="Vector" />1484 <element name="autoname" type="string" flags="257"/> 1485 <element name="toVector" type="Vector" flags="257"/> 1486 1486 <element name="newFromVector" function="true" type="Geno"> 1487 1487 <arguments> … … 1498 1498 <description><![CDATA[Additional information or comments]]></description> 1499 1499 </element> 1500 <element name="simi" type="float" >1500 <element name="simi" type="float" flags="3"> 1501 1501 <description><![CDATA[Read about details: 1502 1502 http://www.framsticks.com/node/795 1503 1503 http://www.framsticks.com/node/890]]></description> 1504 1504 </element> 1505 <element name="energ0" type="float" />1506 <element name="strsiz" type="float" />1507 <element name="strjoints" type="float" />1508 <element name="nnsiz" type="float" />1509 <element name="nncon" type="float" />1510 <element name="numparts" type="float" />1511 <element name="numjoints" type="float" />1512 <element name="numneurons" type="float" />1513 <element name="numconnections" type="float" />1505 <element name="energ0" type="float" flags="3"/> 1506 <element name="strsiz" type="float" flags="35"/> 1507 <element name="strjoints" type="float" flags="35"/> 1508 <element name="nnsiz" type="float" flags="35"/> 1509 <element name="nncon" type="float" flags="35"/> 1510 <element name="numparts" type="float" flags="3"/> 1511 <element name="numjoints" type="float" flags="3"/> 1512 <element name="numneurons" type="float" flags="3"/> 1513 <element name="numconnections" type="float" flags="3"/> 1514 1514 <element name="num" type="integer"/> 1515 1515 <element name="gnum" type="integer"/> 1516 <element name="popsiz" type="integer" />1517 <element name="instances" type="integer" >1516 <element name="popsiz" type="integer" flags="32"/> 1517 <element name="instances" type="integer" flags="2"> 1518 1518 <description><![CDATA[Copies of this genotype]]></description> 1519 1519 </element> … … 1527 1527 <element name="vertvel" type="float"/> 1528 1528 <element name="vertpos" type="float"/> 1529 <element name="fit" type="float" />1530 <element name="fit2" type="float" >1529 <element name="fit" type="float" flags="3"/> 1530 <element name="fit2" type="float" flags="3"> 1531 1531 <description><![CDATA[Fitness shifted by (avg-n*stddev)]]></description> 1532 1532 </element> 1533 <element name="f0genotype" type="string" >1533 <element name="f0genotype" type="string" flags="3"> 1534 1534 <description><![CDATA[converted to f0 genotype]]></description> 1535 1535 </element> 1536 <element name="convtrace1" type="string" />1536 <element name="convtrace1" type="string" flags="3"/> 1537 1537 <element name="user1" type="untyped"/> 1538 1538 <element name="user2" type="untyped"/> 1539 1539 <element name="user3" type="untyped"/> 1540 1540 <element name="mutate" function="true" type="void"><arguments/></element> 1541 <element name="isValid" type="integer" min="0" max="1" />1542 <element name="getNormalized" function="true" type="float" >1541 <element name="isValid" type="integer" min="0" max="1" flags="35"/> 1542 <element name="getNormalized" function="true" type="float" flags="35"> 1543 1543 <arguments> 1544 1544 <argument name="property name or index" type="untyped"/> 1545 1545 </arguments> 1546 1546 </element> 1547 <element name="geno" type="Geno" >1547 <element name="geno" type="Geno" flags="35"> 1548 1548 <description><![CDATA[Geno object for this Genotype]]></description> 1549 1549 </element> 1550 <element name="uid" type="string" >1550 <element name="uid" type="string" flags="33"> 1551 1551 <description><![CDATA[Unique identifier]]></description> 1552 1552 </element> 1553 <element name="getModel" function="true" type="Model" ><arguments/></element>1554 <element name="splitInstances" function="true" type="void" ><arguments/></element>1555 <element name="newFromString" function="true" type="Genotype" >1553 <element name="getModel" function="true" type="Model" flags="35"><arguments/></element> 1554 <element name="splitInstances" function="true" type="void" flags="32"><arguments/></element> 1555 <element name="newFromString" function="true" type="Genotype" flags="32"> 1556 1556 <arguments> 1557 1557 <argument name="genotype" type="string"/> 1558 1558 </arguments> 1559 1559 </element> 1560 <element name="newFromGeno" function="true" type="Genotype" >1560 <element name="newFromGeno" function="true" type="Genotype" flags="32"> 1561 1561 <arguments> 1562 1562 <argument name="geno" type="Geno"/> 1563 1563 </arguments> 1564 1564 </element> 1565 <element name="newFromCreature" function="true" type="Genotype" >1565 <element name="newFromCreature" function="true" type="Genotype" flags="32"> 1566 1566 <arguments> 1567 1567 <argument name="creature" type="Creature"/> 1568 1568 </arguments> 1569 1569 </element> 1570 <element name="addPerformanceFromCreature" function="true" type="void" >1570 <element name="addPerformanceFromCreature" function="true" type="void" flags="34"> 1571 1571 <description><![CDATA[Updates the Genotype's performance values merging them with the supplied 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> 1572 1572 <arguments> … … 1574 1574 </arguments> 1575 1575 </element> 1576 <element name="moveTo" function="true" type="void" >1576 <element name="moveTo" function="true" type="void" flags="32"> 1577 1577 <description><![CDATA[the genotype is removed from its current pool when pool=null]]></description> 1578 1578 <arguments> … … 1580 1580 </arguments> 1581 1581 </element> 1582 <element name="copyTo" function="true" type="Genotype" >1582 <element name="copyTo" function="true" type="Genotype" flags="32"> 1583 1583 <description><![CDATA[returns the duplicate genotype, created in the target pool]]></description> 1584 1584 <arguments> … … 1586 1586 </arguments> 1587 1587 </element> 1588 <element name="delete" function="true" type="void" ><arguments/></element>1589 <element name="deleteOne" function="true" type="void" >1588 <element name="delete" function="true" type="void" flags="32"><arguments/></element> 1589 <element name="deleteOne" function="true" type="void" flags="32"> 1590 1590 <description><![CDATA[]]></description> 1591 1591 <arguments/></element> 1592 <element name="genepool" type="untyped" >1592 <element name="genepool" type="untyped" flags="35"> 1593 1593 <description><![CDATA[GenePool object or null when not in pool]]></description> 1594 1594 </element> 1595 <element name="index" type="integer" >1595 <element name="index" type="integer" flags="35"> 1596 1596 <description><![CDATA[-1 when not in pool. 1597 1597 Note that the index changes depending on the current genotype position in the pool. Use Genotype.uid if you need a permanent identifier that persists through the entire object lifetime.]]></description> … … 1601 1601 <description><![CDATA[Used to query for object member descriptions. Example: 1602 1602 var iface=Interface.makeFrom(someobject); var description="this object has "+iface.properties+" properties, first property is "+iface.getId(0);]]></description> 1603 <element name="name" type="string" />1604 <element name="properties" type="integer" />1605 <element name="groups" type="integer" />1606 <element name="get" function="true" type="untyped" >1603 <element name="name" type="string" flags="257"/> 1604 <element name="properties" type="integer" flags="257"/> 1605 <element name="groups" type="integer" flags="257"/> 1606 <element name="get" function="true" type="untyped" flags="256"> 1607 1607 <arguments> 1608 1608 <argument name="index" type="integer"/> 1609 1609 </arguments> 1610 1610 </element> 1611 <element name="getId" function="true" type="string" >1611 <element name="getId" function="true" type="string" flags="256"> 1612 1612 <arguments> 1613 1613 <argument name="index" type="integer"/> 1614 1614 </arguments> 1615 1615 </element> 1616 <element name="getName" function="true" type="string" >1616 <element name="getName" function="true" type="string" flags="256"> 1617 1617 <arguments> 1618 1618 <argument name="index" type="integer"/> 1619 1619 </arguments> 1620 1620 </element> 1621 <element name="getGroup" function="true" type="integer" >1621 <element name="getGroup" function="true" type="integer" flags="256"> 1622 1622 <arguments> 1623 1623 <argument name="index" type="integer"/> 1624 1624 </arguments> 1625 1625 </element> 1626 <element name="getGroupName" function="true" type="string" >1626 <element name="getGroupName" function="true" type="string" flags="256"> 1627 1627 <arguments> 1628 1628 <argument name="index" type="integer"/> 1629 1629 </arguments> 1630 1630 </element> 1631 <element name="getType" function="true" type="string" >1631 <element name="getType" function="true" type="string" flags="256"> 1632 1632 <arguments> 1633 1633 <argument name="index" type="integer"/> 1634 1634 </arguments> 1635 1635 </element> 1636 <element name="getFlags" function="true" type="integer" >1636 <element name="getFlags" function="true" type="integer" flags="256"> 1637 1637 <arguments> 1638 1638 <argument name="index" type="integer"/> 1639 1639 </arguments> 1640 1640 </element> 1641 <element name="getHelp" function="true" type="string" >1641 <element name="getHelp" function="true" type="string" flags="256"> 1642 1642 <arguments> 1643 1643 <argument name="index" type="integer"/> 1644 1644 </arguments> 1645 1645 </element> 1646 <element name="findId" function="true" type="integer" >1646 <element name="findId" function="true" type="integer" flags="256"> 1647 1647 <arguments> 1648 1648 <argument name="name" type="string"/> 1649 1649 </arguments> 1650 1650 </element> 1651 <element name="findGroupId" function="true" type="integer" >1651 <element name="findGroupId" function="true" type="integer" flags="256"> 1652 1652 <arguments> 1653 1653 <argument name="name" type="string"/> 1654 1654 </arguments> 1655 1655 </element> 1656 <element name="findIdInGroup" function="true" type="integer" >1656 <element name="findIdInGroup" function="true" type="integer" flags="256"> 1657 1657 <arguments> 1658 1658 <argument name="name" type="string"/> … … 1660 1660 </arguments> 1661 1661 </element> 1662 <element name="makeFrom" function="true" type="Interface" >1662 <element name="makeFrom" function="true" type="Interface" flags="2"> 1663 1663 <arguments> 1664 1664 <argument type="Object"/> 1665 1665 </arguments> 1666 1666 </element> 1667 <element name="set" function="true" type="void" >1667 <element name="set" function="true" type="void" flags="256"> 1668 1668 <arguments> 1669 1669 <argument name="index" type="integer"/> … … 1671 1671 </arguments> 1672 1672 </element> 1673 <element name="setDefault" function="true" type="void" >1673 <element name="setDefault" function="true" type="void" flags="256"> 1674 1674 <arguments> 1675 1675 <argument name="index" type="integer"/> 1676 1676 </arguments> 1677 1677 </element> 1678 <element name="setAllDefault" function="true" type="void" ><arguments/></element>1679 <element name="invoke" function="true" type="void" >1678 <element name="setAllDefault" function="true" type="void" flags="256"><arguments/></element> 1679 <element name="invoke" function="true" type="void" flags="256"> 1680 1680 <arguments> 1681 1681 <argument name="function name or index" type="untyped"/> … … 1685 1685 </type> 1686 1686 <type name="Joint" context="Global context"> 1687 <element name="p1" type="integer" min="-1" max="999999" default="-1" />1688 <element name="p2" type="integer" min="-1" max="999999" default="-1" />1687 <element name="p1" type="integer" min="-1" max="999999" default="-1" flags="1024"/> 1688 <element name="p2" type="integer" min="-1" max="999999" default="-1" flags="1024"/> 1689 1689 <element name="rx" type="float"/> 1690 <element name="ry" type="float" />1691 <element name="rz" type="float" />1690 <element name="ry" type="float" flags="1024"/> 1691 <element name="rz" type="float" flags="1024"/> 1692 1692 <element name="dx" type="float" min="-2" max="2" default="0.0"/> 1693 <element name="dy" type="float" min="-2" max="2" default="0.0" />1694 <element name="dz" type="float" min="-2" max="2" default="0.0" />1693 <element name="dy" type="float" min="-2" max="2" default="0.0" flags="1024"/> 1694 <element name="dz" type="float" min="-2" max="2" default="0.0" flags="1024"/> 1695 1695 <element name="sh" type="integer" min="0" max="1" default="0"/> 1696 1696 <element name="stif" type="float" min="0" max="1" default="1.0"/> … … 1700 1700 <element name="Vstyle" type="string"/> 1701 1701 <element name="vr" type="float" min="0" max="1" default="0.5"/> 1702 <element name="vg" type="float" min="0" max="1" default="0.5" />1703 <element name="vb" type="float" min="0" max="1" default="0.5" />1702 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> 1703 <element name="vb" type="float" min="0" max="1" default="0.5" flags="1024"/> 1704 1704 </type> 1705 1705 <type name="Loader" context="Global context"> 1706 1706 <description><![CDATA[Support for loading files in the Framsticks format. Used in the experiment definition to retrieve experiment state (see OnExpLoad function in standard.expdef). Registered objects (addClass) are handled automaticaly. Loader can call user functions defined by setBreakLabel.]]></description> 1707 <element name="addClass" function="true" type="void" >1707 <element name="addClass" function="true" type="void" flags="32"> 1708 1708 <arguments> 1709 1709 <argument type="Object"/> 1710 1710 </arguments> 1711 1711 </element> 1712 <element name="removeClass" function="true" type="void" >1712 <element name="removeClass" function="true" type="void" flags="32"> 1713 1713 <arguments> 1714 1714 <argument type="Object"/> 1715 1715 </arguments> 1716 1716 </element> 1717 <element name="clearClasses" function="true" type="void" ><arguments/></element>1718 <element name="go" function="true" type="integer" ><arguments/></element>1719 <element name="run" function="true" type="integer" ><arguments/></element>1720 <element name="status" type="integer" />1721 <element name="comment" type="string" />1722 <element name="setBreak" function="true" type="void" >1717 <element name="clearClasses" function="true" type="void" flags="32"><arguments/></element> 1718 <element name="go" function="true" type="integer" flags="32"><arguments/></element> 1719 <element name="run" function="true" type="integer" flags="32"><arguments/></element> 1720 <element name="status" type="integer" flags="1"/> 1721 <element name="comment" type="string" flags="1"/> 1722 <element name="setBreak" function="true" type="void" flags="32"> 1723 1723 <arguments> 1724 1724 <argument name="break conditions" type="integer"/> 1725 1725 </arguments> 1726 1726 </element> 1727 <element name="setBreakLabel" function="true" type="void" >1727 <element name="setBreakLabel" function="true" type="void" flags="32"> 1728 1728 <arguments> 1729 1729 <argument name="break condition" type="integer"/> … … 1731 1731 </arguments> 1732 1732 </element> 1733 <element name="abort" function="true" type="void" ><arguments/></element>1734 <element name="currentObject" type="Object" />1735 <element name="objectName" type="string" />1736 <element name="loadObject" function="true" type="void" ><arguments/></element>1737 <element name="skipObject" function="true" type="void" ><arguments/></element>1738 <element name="firstComment" type="integer" min="0" max="1" />1739 <element name="BeforeObject" type="integer" />1740 <element name="AfterObject" type="integer" />1741 <element name="BeforeUnknown" type="integer" />1742 <element name="OnComment" type="integer" />1743 <element name="OnError" type="integer" />1733 <element name="abort" function="true" type="void" flags="32"><arguments/></element> 1734 <element name="currentObject" type="Object" flags="32"/> 1735 <element name="objectName" type="string" flags="32"/> 1736 <element name="loadObject" function="true" type="void" flags="32"><arguments/></element> 1737 <element name="skipObject" function="true" type="void" flags="32"><arguments/></element> 1738 <element name="firstComment" type="integer" min="0" max="1" flags="1"/> 1739 <element name="BeforeObject" type="integer" flags="1"/> 1740 <element name="AfterObject" type="integer" flags="1"/> 1741 <element name="BeforeUnknown" type="integer" flags="1"/> 1742 <element name="OnComment" type="integer" flags="1"/> 1743 <element name="OnError" type="integer" flags="1"/> 1744 1744 </type> 1745 1745 <type name="Math" context="Global context"> 1746 1746 <description><![CDATA[Mathematical functions library.]]></description> 1747 <element name="pi" type="float" />1748 <element name="twopi" type="float" />1749 <element name="pi2" type="float" />1750 <element name="pi4" type="float" />1751 <element name="random" function="true" type="integer" >1747 <element name="pi" type="float" flags="1"/> 1748 <element name="twopi" type="float" flags="1"/> 1749 <element name="pi2" type="float" flags="1"/> 1750 <element name="pi4" type="float" flags="1"/> 1751 <element name="random" function="true" type="integer" flags="1"> 1752 1752 <description><![CDATA[0..num-1]]></description> 1753 1753 <arguments> … … 1755 1755 </arguments> 1756 1756 </element> 1757 <element name="rnd01" type="float" />1758 <element name="rndUni" function="true" type="float" >1757 <element name="rnd01" type="float" flags="1"/> 1758 <element name="rndUni" function="true" type="float" flags="1"> 1759 1759 <description><![CDATA[[begin..end)]]></description> 1760 1760 <arguments> … … 1763 1763 </arguments> 1764 1764 </element> 1765 <element name="rndGaussStd" type="float" />1766 <element name="rndGauss" function="true" type="float" >1765 <element name="rndGaussStd" type="float" flags="1"/> 1766 <element name="rndGauss" function="true" type="float" flags="1"> 1767 1767 <description><![CDATA[rndGaussStd is rndGauss(0,1)]]></description> 1768 1768 <arguments> … … 1771 1771 </arguments> 1772 1772 </element> 1773 <element name="rndCustom" function="true" type="float" >1773 <element name="rndCustom" function="true" type="float" flags="1"> 1774 1774 <description><![CDATA[the parameter describes the desired random distribution, being a sum of uniform distributions, eg. rndCustom([-10,-1, -1,1, 1,10]) defines 3 uniform distribution intervals [-1,10) [-1,1), [1,10)]]></description> 1775 1775 <arguments> … … 1785 1785 <description><![CDATA[Set random seed for the random number generator.]]></description> 1786 1786 </element> 1787 <element name="time" type="float" >1787 <element name="time" type="float" flags="1"> 1788 1788 <description><![CDATA[Number of seconds since the Epoch (00:00:00 UTC/GMT, January 1, 1970)]]></description> 1789 1789 </element> … … 1877 1877 <element name="stif" type="float"/> 1878 1878 <element name="rotstif" type="float"/> 1879 <element name="part1" type="MechPart" />1880 <element name="part2" type="MechPart" />1881 <element name="stress" type="float" />1882 <element name="rotstress" type="float" />1879 <element name="part1" type="MechPart" flags="1"/> 1880 <element name="part2" type="MechPart" flags="1"/> 1881 <element name="stress" type="float" flags="1"/> 1882 <element name="rotstress" type="float" flags="1"/> 1883 1883 </type> 1884 1884 <type name="MechPart" context="Global context"> … … 1886 1886 <element name="y" type="float"/> 1887 1887 <element name="z" type="float"/> 1888 <element name="pos" type="XYZ" />1888 <element name="pos" type="XYZ" flags="1"/> 1889 1889 <element name="m" type="float"/> 1890 1890 <element name="s" type="float"/> … … 1894 1894 <element name="vy" type="float"/> 1895 1895 <element name="vz" type="float"/> 1896 <element name="v" type="XYZ" />1897 <element name="orient" type="Orient" />1896 <element name="v" type="XYZ" flags="1"/> 1897 <element name="orient" type="Orient" flags="1"/> 1898 1898 <element name="oxx" type="float"/> 1899 1899 <element name="oxy" type="float"/> … … 1914 1914 </type> 1915 1915 <type name="Model" context="Global context"> 1916 <element name="se" type="float" />1917 <element name="Vstyle" type="string" />1918 <element name="geno" type="Geno" />1916 <element name="se" type="float" flags="256"/> 1917 <element name="Vstyle" type="string" flags="256"/> 1918 <element name="geno" type="Geno" flags="257"/> 1919 1919 <element name="newFromString" function="true" type="Model"> 1920 1920 <arguments> … … 1927 1927 </arguments> 1928 1928 </element> 1929 <element name="numparts" type="integer" />1930 <element name="numjoints" type="integer" />1931 <element name="numneurons" type="integer" />1932 <element name="numconnections" type="integer" />1933 <element name="getPart" function="true" type="Part" >1929 <element name="numparts" type="integer" flags="259"/> 1930 <element name="numjoints" type="integer" flags="259"/> 1931 <element name="numneurons" type="integer" flags="259"/> 1932 <element name="numconnections" type="integer" flags="259"/> 1933 <element name="getPart" function="true" type="Part" flags="288"> 1934 1934 <arguments> 1935 1935 <argument name="index" type="integer"/> 1936 1936 </arguments> 1937 1937 </element> 1938 <element name="getJoint" function="true" type="Joint" >1938 <element name="getJoint" function="true" type="Joint" flags="288"> 1939 1939 <arguments> 1940 1940 <argument name="index" type="integer"/> 1941 1941 </arguments> 1942 1942 </element> 1943 <element name="getNeuroDef" function="true" type="NeuroDef" >1943 <element name="getNeuroDef" function="true" type="NeuroDef" flags="288"> 1944 1944 <arguments> 1945 1945 <argument name="index" type="integer"/> 1946 1946 </arguments> 1947 1947 </element> 1948 <element name="size_x" type="float" >1948 <element name="size_x" type="float" flags="257"> 1949 1949 <description><![CDATA[(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including 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). 1950 1950 See also: Creature.moveAbs]]></description> 1951 1951 </element> 1952 <element name="size_y" type="float" >1952 <element name="size_y" type="float" flags="257"> 1953 1953 <description><![CDATA[See Model.size_x]]></description> 1954 1954 </element> 1955 <element name="size_z" type="float" >1955 <element name="size_z" type="float" flags="257"> 1956 1956 <description><![CDATA[See Model.size_x]]></description> 1957 1957 </element> … … 1968 1968 <description><![CDATA[Affects the geometry calculation precision]]></description> 1969 1969 </element> 1970 <element name="forModel" function="true" type="ModelGeometry" >1970 <element name="forModel" function="true" type="ModelGeometry" flags="32"> 1971 1971 <description><![CDATA[The returned ModelGeometry object can be used to calculate geometric properties (volume, area, sizes) of the associated model. The density is copied from the current global ModelGeometry.geom_density on object creation.]]></description> 1972 1972 <arguments> … … 1974 1974 </arguments> 1975 1975 </element> 1976 <element name="volume" function="true" type="float" ><arguments/></element>1977 <element name="area" function="true" type="float" ><arguments/></element>1978 <element name="sizesAndAxes" function="true" type="Vector" >1976 <element name="volume" function="true" type="float" flags="288"><arguments/></element> 1977 <element name="area" function="true" type="float" flags="288"><arguments/></element> 1978 <element name="sizesAndAxes" function="true" type="Vector" flags="288"> 1979 1979 <description><![CDATA[The returned vector contains XYZ (sizes) and Orient (axes) objects.]]></description> 1980 1980 <arguments/></element> … … 2008 2008 </arguments> 2009 2009 </element> 2010 <element name="getInputCount" type="integer" />2011 <element name="inputSum" type="float" />2012 <element name="weightedInputSum" type="float" />2010 <element name="getInputCount" type="integer" flags="1"/> 2011 <element name="inputSum" type="float" flags="1"/> 2012 <element name="weightedInputSum" type="float" flags="1"/> 2013 2013 <element name="getInputChannelCount" function="true" type="integer"> 2014 2014 <arguments> … … 2060 2060 </arguments> 2061 2061 </element> 2062 <element name="position_x" type="float" />2063 <element name="position_y" type="float" />2064 <element name="position_z" type="float" />2065 <element name="creature" type="Creature" />2066 <element name="part" type="MechPart" />2067 <element name="joint" type="MechJoint" />2068 <element name="fields" type="Fields" >2062 <element name="position_x" type="float" flags="1"/> 2063 <element name="position_y" type="float" flags="1"/> 2064 <element name="position_z" type="float" flags="1"/> 2065 <element name="creature" type="Creature" flags="1"/> 2066 <element name="part" type="MechPart" flags="1"/> 2067 <element name="joint" type="MechJoint" flags="1"/> 2068 <element name="fields" type="Fields" flags="1"> 2069 2069 <description><![CDATA[Neurons can have different fields depending on their class. Script neurons have their fields defined using the "prop:" syntax. If you develop a custom neuron script you should use the Fields object for accessing your own neuron fields. The Neuro.fields property is meant for accessing the neuron fields from the outside script. 2070 2070 Examples: … … 2081 2081 Simulator.print(iobj.getId(i)+" ("+iobj.getName(i)+")");]]></description> 2082 2082 </element> 2083 <element name="def" type="NeuroDef" />2084 <element name="classObject" type="NeuroClass" />2085 <element name="signals" type="NeuroSignals" />2083 <element name="def" type="NeuroDef" flags="1"/> 2084 <element name="classObject" type="NeuroClass" flags="1"/> 2085 <element name="signals" type="NeuroSignals" flags="1"/> 2086 2086 </type> 2087 2087 <type name="NeuroClass" context="Global context"> … … 2129 2129 Compatibility: this field is called "icon" in *.neuro files.]]></description> 2130 2130 </element> 2131 <element name="properties" type="Interface" >2131 <element name="properties" type="Interface" flags="1"> 2132 2132 <description><![CDATA[Compatibility: not preset in *.neuro files.]]></description> 2133 2133 </element> 2134 <element name="summary" type="string" >2134 <element name="summary" type="string" flags="1"> 2135 2135 <description><![CDATA[Textual summary of all features. 2136 2136 Compatibility: not preset in *.neuro files.]]></description> … … 2139 2139 <type name="NeuroClassLibrary" context="Global context"> 2140 2140 <description><![CDATA[Set of Neuron classes. You can access the selected class in the static NeuroClass object.]]></description> 2141 <element name="count" type="integer" />2141 <element name="count" type="integer" flags="1"/> 2142 2142 <element name="class" type="integer"> 2143 2143 <description><![CDATA[0 ... count-1]]></description> … … 2160 2160 <element name="i" type="string"/> 2161 2161 <element name="Vstyle" type="string"/> 2162 <element name="getInputCount" type="integer" />2163 <element name="getInputNeuroDef" function="true" type="NeuroDef" >2162 <element name="getInputCount" type="integer" flags="3"/> 2163 <element name="getInputNeuroDef" function="true" type="NeuroDef" flags="3"> 2164 2164 <arguments> 2165 2165 <argument type="integer"/> 2166 2166 </arguments> 2167 2167 </element> 2168 <element name="getInputNeuroIndex" function="true" type="integer" >2168 <element name="getInputNeuroIndex" function="true" type="integer" flags="3"> 2169 2169 <arguments> 2170 2170 <argument type="integer"/> 2171 2171 </arguments> 2172 2172 </element> 2173 <element name="getInputWeight" function="true" type="float" >2173 <element name="getInputWeight" function="true" type="float" flags="3"> 2174 2174 <arguments> 2175 2175 <argument type="integer"/> 2176 2176 </arguments> 2177 2177 </element> 2178 <element name="classObject" type="NeuroClass" />2178 <element name="classObject" type="NeuroClass" flags="3"/> 2179 2179 </type> 2180 2180 <type name="NeuronsSimEnabled" context="Global context"> … … 2473 2473 </arguments> 2474 2474 </element> 2475 <element name="size" type="integer" />2476 <element name="clear" function="true" type="void" ><arguments/></element>2475 <element name="size" type="integer" flags="1"/> 2476 <element name="clear" function="true" type="void" flags="1"><arguments/></element> 2477 2477 </type> 2478 2478 <type name="ODE" context="Global context"> … … 2530 2530 <element name="odecol2softcfm" type="float" min="0" max="1" default="0.0"/> 2531 2531 <element name="odecol2softerp" type="float" min="0" max="1" default="0.0"/> 2532 <element name="rayIntersection" function="true" type="float" >2532 <element name="rayIntersection" function="true" type="float" flags="32"> 2533 2533 <arguments> 2534 2534 <argument name="position x" type="float"/> … … 2544 2544 <type name="Orient" context="Global context"> 2545 2545 <description><![CDATA[3D orientation, stored as 3x3 matrix.]]></description> 2546 <element name="xx" type="float" />2547 <element name="xy" type="float" />2548 <element name="xz" type="float" />2549 <element name="yx" type="float" />2550 <element name="yy" type="float" />2551 <element name="yz" type="float" />2552 <element name="zx" type="float" />2553 <element name="zy" type="float" />2554 <element name="zz" type="float" />2555 <element name="x" type="XYZ" />2556 <element name="y" type="XYZ" />2557 <element name="z" type="XYZ" />2546 <element name="xx" type="float" flags="256"/> 2547 <element name="xy" type="float" flags="256"/> 2548 <element name="xz" type="float" flags="256"/> 2549 <element name="yx" type="float" flags="256"/> 2550 <element name="yy" type="float" flags="256"/> 2551 <element name="yz" type="float" flags="256"/> 2552 <element name="zx" type="float" flags="256"/> 2553 <element name="zy" type="float" flags="256"/> 2554 <element name="zz" type="float" flags="256"/> 2555 <element name="x" type="XYZ" flags="257"/> 2556 <element name="y" type="XYZ" flags="257"/> 2557 <element name="z" type="XYZ" flags="257"/> 2558 2558 <element name="new" function="true" type="Orient"><arguments/></element> 2559 2559 <element name="newFromVector" function="true" type="Orient"> … … 2562 2562 </arguments> 2563 2563 </element> 2564 <element name="toVector" type="Vector" >2564 <element name="toVector" type="Vector" flags="257"> 2565 2565 <description><![CDATA[for serialization]]></description> 2566 2566 </element> 2567 <element name="clone" function="true" type="Orient" ><arguments/></element>2568 <element name="set" function="true" type="void" >2567 <element name="clone" function="true" type="Orient" flags="256"><arguments/></element> 2568 <element name="set" function="true" type="void" flags="256"> 2569 2569 <arguments> 2570 2570 <argument type="Orient"/> 2571 2571 </arguments> 2572 2572 </element> 2573 <element name="reset" function="true" type="void" ><arguments/></element>2574 <element name="rotate3" function="true" type="void" >2573 <element name="reset" function="true" type="void" flags="256"><arguments/></element> 2574 <element name="rotate3" function="true" type="void" flags="256"> 2575 2575 <arguments> 2576 2576 <argument name="x" type="float"/> … … 2579 2579 </arguments> 2580 2580 </element> 2581 <element name="rotate" function="true" type="void" >2581 <element name="rotate" function="true" type="void" flags="256"> 2582 2582 <arguments> 2583 2583 <argument type="Orient"/> 2584 2584 </arguments> 2585 2585 </element> 2586 <element name="revRotate" function="true" type="void" >2586 <element name="revRotate" function="true" type="void" flags="256"> 2587 2587 <arguments> 2588 2588 <argument type="Orient"/> 2589 2589 </arguments> 2590 2590 </element> 2591 <element name="lookAt" function="true" type="void" >2591 <element name="lookAt" function="true" type="void" flags="256"> 2592 2592 <arguments> 2593 2593 <argument name="direction" type="XYZ"/> … … 2595 2595 </arguments> 2596 2596 </element> 2597 <element name="normalize" function="true" type="void" ><arguments/></element>2598 <element name="between2" function="true" type="void" >2597 <element name="normalize" function="true" type="void" flags="256"><arguments/></element> 2598 <element name="between2" function="true" type="void" flags="256"> 2599 2599 <description><![CDATA[The calling Orient receives the orientation interpolated from 2 input orientations. 2600 2600 Example: … … 2611 2611 </arguments> 2612 2612 </element> 2613 <element name="betweenOV" function="true" type="void" >2613 <element name="betweenOV" function="true" type="void" flags="256"> 2614 2614 <description><![CDATA[Like between2(), but the second Orient is composed of the supplied XYZ vector (X component) and Y Z vectors from the calling object. 2615 2615 Example: … … 2625 2625 </arguments> 2626 2626 </element> 2627 <element name="localToWorld" function="true" type="XYZ" >2627 <element name="localToWorld" function="true" type="XYZ" flags="256"> 2628 2628 <arguments> 2629 2629 <argument name="point" type="XYZ"/> … … 2631 2631 </arguments> 2632 2632 </element> 2633 <element name="worldToLocal" function="true" type="XYZ" >2633 <element name="worldToLocal" function="true" type="XYZ" flags="256"> 2634 2634 <arguments> 2635 2635 <argument name="point" type="XYZ"/> … … 2637 2637 </arguments> 2638 2638 </element> 2639 <element name="angles" type="XYZ" />2640 <element name="toString" type="string" />2639 <element name="angles" type="XYZ" flags="257"/> 2640 <element name="toString" type="string" flags="257"/> 2641 2641 </type> 2642 2642 <type name="Part" context="Global context"> 2643 <element name="x" type="float" />2644 <element name="y" type="float" />2645 <element name="z" type="float" />2643 <element name="x" type="float" flags="1024"/> 2644 <element name="y" type="float" flags="1024"/> 2645 <element name="z" type="float" flags="1024"/> 2646 2646 <element name="m" type="float" min="0.1" max="999" default="1.0"/> 2647 2647 <element name="sh" type="integer" min="0" max="3" default="0"/> … … 2656 2656 <element name="as" type="float" min="0" max="1" default="0.25"/> 2657 2657 <element name="rx" type="float"/> 2658 <element name="ry" type="float" />2659 <element name="rz" type="float" />2658 <element name="ry" type="float" flags="1024"/> 2659 <element name="rz" type="float" flags="1024"/> 2660 2660 <element name="i" type="string"/> 2661 2661 <element name="Vstyle" type="string"/> 2662 2662 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/> 2663 2663 <element name="vr" type="float" min="0" max="1" default="0.5"/> 2664 <element name="vg" type="float" min="0" max="1" default="0.5" />2665 <element name="vb" type="float" min="0" max="1" default="0.5" />2664 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> 2665 <element name="vb" type="float" min="0" max="1" default="0.5" flags="1024"/> 2666 2666 </type> 2667 2667 <type name="Population" context="Global context"> 2668 2668 <description><![CDATA[A set of Creature objects, sharing some high level simulation properties (performance calculation, NN simulation, collision detection, event handling). The groups usually have different roles in the experiment (Creatures groups and Food group in standard.expdef).]]></description> 2669 <element name="index" type="integer" />2669 <element name="index" type="integer" flags="35"/> 2670 2670 <element name="name" type="string"/> 2671 <element name="size" type="integer" />2671 <element name="size" type="integer" flags="3"/> 2672 2672 <element name="energy" type="integer" min="0" max="1" default="1"> 2673 2673 <description><![CDATA[If turned off, creature's energy will be constant.]]></description> … … 2694 2694 <description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description> 2695 2695 </element> 2696 <element name="colmask" type="integer" min="0" max="65535" default="0" >2696 <element name="colmask" type="integer" min="0" max="65535" default="0" flags="32"> 2697 2697 <description><![CDATA[DEPRECATED. You should use selfmask and othermask (these masks are also much easier to understand than the old colmask field).]]></description> 2698 2698 </element> 2699 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" >2699 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" flags="32"> 2700 2700 <description><![CDATA[Collisions between objects can be handled in two ways: 2701 2701 - standard 'mechanical' collision handler (simple 'rebound' effect) … … 2727 2727 ]]></description> 2728 2728 </element> 2729 <element name="othermask" type="integer" min="0" max="2147483647" default="0" >2729 <element name="othermask" type="integer" min="0" max="2147483647" default="0" flags="32"> 2730 2730 <description><![CDATA[See selfmask.]]></description> 2731 2731 </element> … … 2748 2748 Horizontal specialized sticks get half of this value.]]></description> 2749 2749 </element> 2750 <element name="createFromGenotype" function="true" type="Creature" deprecated="true" >2750 <element name="createFromGenotype" function="true" type="Creature" deprecated="true" flags="8226"> 2751 2751 <description><![CDATA[Uses the selected Genotype object. 2752 2752 Deprecated. Use the more universal add() function.]]></description> 2753 2753 <arguments/></element> 2754 <element name="createFromString" function="true" type="Creature" deprecated="true" >2754 <element name="createFromString" function="true" type="Creature" deprecated="true" flags="8226"> 2755 2755 <description><![CDATA[Uses the supplied string argument. 2756 2756 Deprecated. Use the more universal add() function.]]></description> … … 2759 2759 </arguments> 2760 2760 </element> 2761 <element name="createFromGeno" function="true" type="Creature" deprecated="true" >2761 <element name="createFromGeno" function="true" type="Creature" deprecated="true" flags="8226"> 2762 2762 <description><![CDATA[Uses the supplied Geno object. 2763 2763 Deprecated. Use the more universal add() function.]]></description> … … 2766 2766 </arguments> 2767 2767 </element> 2768 <element name="add" function="true" type="Creature" >2768 <element name="add" function="true" type="Creature" flags="34"> 2769 2769 <arguments> 2770 2770 <argument name="genotype object or geno object or string genotype" type="untyped"/> 2771 2771 </arguments> 2772 2772 </element> 2773 <element name="findUID" function="true" type="integer" >2773 <element name="findUID" function="true" type="integer" flags="34"> 2774 2774 <arguments> 2775 2775 <argument name="uid" type="string"/> 2776 2776 </arguments> 2777 2777 </element> 2778 <element name="get" function="true" type="Creature" >2778 <element name="get" function="true" type="Creature" flags="34"> 2779 2779 <arguments> 2780 2780 <argument name="index" type="integer"/> 2781 2781 </arguments> 2782 2782 </element> 2783 <element name="senseCreaturesProperty" function="true" type="float" >2783 <element name="senseCreaturesProperty" function="true" type="float" flags="34"> 2784 2784 <description><![CDATA[arguments: 2785 2785 - x,y,z (sensor position) … … 2802 2802 </arguments> 2803 2803 </element> 2804 <element name="findCreatureAt" function="true" type="Creature" >2804 <element name="findCreatureAt" function="true" type="Creature" flags="34"> 2805 2805 <arguments> 2806 2806 <argument name="point" type="Vector"/> … … 2808 2808 </arguments> 2809 2809 </element> 2810 <element name="delete" function="true" type="void" >2810 <element name="delete" function="true" type="void" flags="34"> 2811 2811 <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> 2812 2812 <arguments> … … 2814 2814 </arguments> 2815 2815 </element> 2816 <element name="kill" function="true" type="void" >2816 <element name="kill" function="true" type="void" flags="34"> 2817 2817 <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> 2818 2818 <arguments> … … 2820 2820 </arguments> 2821 2821 </element> 2822 <element name="clear" function="true" type="void" >2822 <element name="clear" function="true" type="void" flags="34"> 2823 2823 <description><![CDATA[Delete all creatures]]></description> 2824 2824 <arguments/></element> 2825 <element name="iterator" type="Object" />2826 <element name="getStatsMin" function="true" type="float" >2825 <element name="iterator" type="Object" flags="291"/> 2826 <element name="getStatsMin" function="true" type="float" flags="32"> 2827 2827 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description> 2828 2828 <arguments> … … 2830 2830 </arguments> 2831 2831 </element> 2832 <element name="getStatsAvg" function="true" type="float" >2832 <element name="getStatsAvg" function="true" type="float" flags="32"> 2833 2833 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description> 2834 2834 <arguments> … … 2836 2836 </arguments> 2837 2837 </element> 2838 <element name="getStatsMax" function="true" type="float" >2838 <element name="getStatsMax" function="true" type="float" flags="32"> 2839 2839 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description> 2840 2840 <arguments> … … 2857 2857 2858 2858 See also: Creature, Population.]]></description> 2859 <element name="group" type="integer" deprecated="true" >2859 <element name="group" type="integer" deprecated="true" flags="8226"> 2860 2860 <description><![CDATA[Index of the currently selected group (Population). 2861 2861 Deprecated. Pass creature object to functions needing it, instead of the old "first select, then call" approach.]]></description> 2862 2862 </element> 2863 <element name="size" type="integer" />2864 <element name="creature" type="integer" deprecated="true" >2863 <element name="size" type="integer" flags="3"/> 2864 <element name="creature" type="integer" deprecated="true" flags="8226"> 2865 2865 <description><![CDATA[Deprecated. Pass creature object to functions needing it, instead of the old "first select, then call" approach.]]></description> 2866 2866 </element> 2867 <element name="createFromGenotype" function="true" type="Creature" deprecated="true" >2867 <element name="createFromGenotype" function="true" type="Creature" deprecated="true" flags="8226"> 2868 2868 <description><![CDATA[Uses the selected Genotype object.]]></description> 2869 2869 <arguments/></element> 2870 <element name="createFromString" function="true" type="Creature" deprecated="true" >2870 <element name="createFromString" function="true" type="Creature" deprecated="true" flags="8226"> 2871 2871 <description><![CDATA[Uses the supplied string argument.]]></description> 2872 2872 <arguments> … … 2874 2874 </arguments> 2875 2875 </element> 2876 <element name="killSelected" function="true" type="void" deprecated="true" >2876 <element name="killSelected" function="true" type="void" deprecated="true" flags="8226"> 2877 2877 <description><![CDATA[Applies to the selected Creature.]]></description> 2878 2878 <arguments/></element> 2879 <element name="deleteSelected" function="true" type="void" deprecated="true" >2879 <element name="deleteSelected" function="true" type="void" deprecated="true" flags="8226"> 2880 2880 <description><![CDATA[Applies to the selected Creature.]]></description> 2881 2881 <arguments/></element> 2882 <element name="addGroup" function="true" type="Population" >2882 <element name="addGroup" function="true" type="Population" flags="34"> 2883 2883 <description><![CDATA[Adds a new population.]]></description> 2884 2884 <arguments> … … 2886 2886 </arguments> 2887 2887 </element> 2888 <element name="deleteGroup" function="true" type="void" >2888 <element name="deleteGroup" function="true" type="void" flags="34"> 2889 2889 <description><![CDATA[Removes a population.]]></description> 2890 2890 <arguments> … … 2892 2892 </arguments> 2893 2893 </element> 2894 <element name="clear" function="true" type="void" >2894 <element name="clear" function="true" type="void" flags="34"> 2895 2895 <description><![CDATA[Removes all populations except the first one.]]></description> 2896 2896 <arguments/></element> 2897 <element name="clearGroup" function="true" type="void" deprecated="true" >2897 <element name="clearGroup" function="true" type="void" deprecated="true" flags="8226"> 2898 2898 <description><![CDATA[Deprecated. 2899 2899 Use Populations[pop_index].clear() instead of Populations.clearGroup(pop_index); ]]></description> … … 2902 2902 </arguments> 2903 2903 </element> 2904 <element name="creatBBCollisions" function="true" type="integer" deprecated="true" >2904 <element name="creatBBCollisions" function="true" type="integer" deprecated="true" flags="8226"> 2905 2905 <description><![CDATA[Checks approximate collisions for the selected creature. 2906 2906 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ). … … 2912 2912 </arguments> 2913 2913 </element> 2914 <element name="get" function="true" type="Population" >2914 <element name="get" function="true" type="Population" flags="34"> 2915 2915 <arguments> 2916 2916 <argument name="index" type="integer"/> 2917 2917 </arguments> 2918 2918 </element> 2919 <element name="findCreatureAt" function="true" type="Creature" >2919 <element name="findCreatureAt" function="true" type="Creature" flags="34"> 2920 2920 <arguments> 2921 2921 <argument name="point" type="Vector"/> … … 2923 2923 </arguments> 2924 2924 </element> 2925 <element name="iterator" type="Object" />2925 <element name="iterator" type="Object" flags="291"/> 2926 2926 </type> 2927 2927 <type name="Ref" context="Global context"> … … 2936 2936 {r.value=r.value*r.value;} 2937 2937 //square receives the Reference object and changes its 'value' field]]></description> 2938 <element name="value" type="untyped" />2938 <element name="value" type="untyped" flags="256"/> 2939 2939 <element name="newO" function="true"> 2940 2940 <description><![CDATA[(for internal use only) use &variablename to create Ref objects.]]></description> … … 2946 2946 </arguments> 2947 2947 </element> 2948 <element name="toString" type="string" />2948 <element name="toString" type="string" flags="257"/> 2949 2949 </type> 2950 2950 <type name="Shapes" context="Global context"> … … 2984 2984 2985 2985 Creating: Use "add" in Creature.signals, Neuro.signals, or World.signals.]]></description> 2986 <element name="value" type="untyped" >2986 <element name="value" type="untyped" flags="256"> 2987 2987 <description><![CDATA[Signal value can be any type. On the receiver side it is only available by accessing the individual Signal objects, i.e. after calling receiveSet() or receiveSingle(). The aggregating functions receive() and receiveFilter() ignore this attribute.]]></description> 2988 2988 </element> 2989 <element name="power" type="float" >2989 <element name="power" type="float" flags="256"> 2990 2990 <description><![CDATA[Signal power affects the aggregated signal value returned from receive() and receiveFilter().]]></description> 2991 2991 </element> 2992 <element name="flavor" type="float" >2992 <element name="flavor" type="float" flags="256"> 2993 2993 <description><![CDATA[Signal flavor can be used to differentiate between signals in a single channel.]]></description> 2994 2994 </element> 2995 <element name="channel" type="string" >2995 <element name="channel" type="string" flags="257"> 2996 2996 <description><![CDATA[Channel name, read-only.]]></description> 2997 2997 </element> 2998 <element name="pos" type="XYZ" >2998 <element name="pos" type="XYZ" flags="257"> 2999 2999 <description><![CDATA[Signal position, read-only.]]></description> 3000 3000 </element> 3001 <element name="remove" function="true" >3001 <element name="remove" function="true" flags="256"> 3002 3002 <description><![CDATA[Deletes the signal.]]></description> 3003 3003 </element> … … 3019 3019 return "power="+Signal.power;]]></description> 3020 3020 </element> 3021 <element name="addMap" function="true" type="void" >3021 <element name="addMap" function="true" type="void" flags="32"> 3022 3022 <arguments> 3023 3023 <argument name="channel" type="string"/> … … 3025 3025 </arguments> 3026 3026 </element> 3027 <element name="addSignals" function="true" type="void" >3027 <element name="addSignals" function="true" type="void" flags="32"> 3028 3028 <arguments> 3029 3029 <argument name="channel" type="string"/> … … 3034 3034 </arguments> 3035 3035 </element> 3036 <element name="addSignalsFilter" function="true" type="void" >3036 <element name="addSignalsFilter" function="true" type="void" flags="32"> 3037 3037 <arguments> 3038 3038 <argument name="channel" type="string"/> … … 3048 3048 <type name="sim_params" context="Global context"> 3049 3049 <description><![CDATA[This object groups all simulator parameters so they can be loaded or saved with a single call (see scripts/standard_loadsave.inc). For other purposes please use specific objects, like Simulator, World, Populations, etc.]]></description> 3050 <element name="print" function="true" type="void" >3050 <element name="print" function="true" type="void" flags="32"> 3051 3051 <description><![CDATA[One argument: message to be printed]]></description> 3052 3052 <arguments> … … 3054 3054 </arguments> 3055 3055 </element> 3056 <element name="message" function="true" type="void" >3056 <element name="message" function="true" type="void" flags="32"> 3057 3057 <description><![CDATA[The second argument can be: 3058 3058 -1 = debugging message … … 3066 3066 </arguments> 3067 3067 </element> 3068 <element name="sleep" function="true" type="void" >3068 <element name="sleep" function="true" type="void" flags="32"> 3069 3069 <description><![CDATA[Suspends the execution for a specified interval]]></description> 3070 3070 <arguments> … … 3072 3072 </arguments> 3073 3073 </element> 3074 <element name="beep" function="true" type="void" >3074 <element name="beep" function="true" type="void" flags="32"> 3075 3075 <description><![CDATA[Plays a default system sound]]></description> 3076 3076 <arguments/></element> 3077 <element name="sound" function="true" type="void" >3077 <element name="sound" function="true" type="void" flags="32"> 3078 3078 <description><![CDATA[Generates a simple tone on the speaker]]></description> 3079 3079 <arguments> … … 3082 3082 </arguments> 3083 3083 </element> 3084 <element name="eval" function="true" type="void" >3084 <element name="eval" function="true" type="void" flags="32"> 3085 3085 <description><![CDATA[The argument must be a complete statement, e.g. "return 2+2;" is valid, while "2+2" is not. The EvalError object is returned for invalid statements. 3086 3086 Example: … … 3095 3095 </arguments> 3096 3096 </element> 3097 <element name="load" function="true" type="void" >3097 <element name="load" function="true" type="void" flags="32"> 3098 3098 <description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()" (only if "resetonexpdef" is enabled). Use "import" if you don't want to loose the old simulator state.]]></description> 3099 3099 <arguments> … … 3101 3101 </arguments> 3102 3102 </element> 3103 <element name="import" function="true" type="void" >3103 <element name="import" function="true" type="void" flags="32"> 3104 3104 <description><![CDATA[Load some data from file. The second optional argument selects what section(s) will be imported: 3105 3105 1 - experiment (works like "load" and can reset the simulator state!) … … 3117 3117 </arguments> 3118 3118 </element> 3119 <element name="import" function="true" type="void" >3119 <element name="import" function="true" type="void" flags="32"> 3120 3120 <description><![CDATA[Equivalent to import(filename,2+4+8+16) - imports genotypes, parameters, genepool and population settings]]></description> 3121 3121 <arguments> … … 3123 3123 </arguments> 3124 3124 </element> 3125 <element name="save" function="true" type="untyped" >3125 <element name="save" function="true" type="untyped" flags="32"> 3126 3126 <description><![CDATA[Save experiment file (calls onExpSave() in the current experiment definition)]]></description> 3127 3127 <arguments> … … 3129 3129 </arguments> 3130 3130 </element> 3131 <element name="export" function="true" type="untyped" >3131 <element name="export" function="true" type="untyped" flags="32"> 3132 3132 <description><![CDATA[Save some data to file. arguments: 3133 3133 - filename … … 3149 3149 </arguments> 3150 3150 </element> 3151 <element name="start" function="true" type="void" >3151 <element name="start" function="true" type="void" flags="4096"> 3152 3152 <description><![CDATA[called by the user interface]]></description> 3153 3153 <arguments/></element> 3154 <element name="stop" function="true" type="void" >3154 <element name="stop" function="true" type="void" flags="4096"> 3155 3155 <description><![CDATA[the expdef script calls this to stop simulation]]></description> 3156 3156 <arguments/></element> 3157 <element name="running" type="integer" min="0" max="1" >3157 <element name="running" type="integer" min="0" max="1" flags="4130"> 3158 3158 <description><![CDATA[useful for synchronizing the user interface state]]></description> 3159 3159 </element> 3160 <element name="step" function="true" type="void" ><arguments/></element>3161 <element name="time" type="integer" />3162 <element name="simspeed" type="integer" >3160 <element name="step" function="true" type="void" flags="32"><arguments/></element> 3161 <element name="time" type="integer" flags="34"/> 3162 <element name="simspeed" type="integer" flags="4131"> 3163 3163 <description><![CDATA[steps/second]]></description> 3164 3164 </element> … … 3170 3170 It is a good practice to initialize the experiment before running the simulation.]]></description> 3171 3171 </element> 3172 <element name="expdef_title" type="string" />3173 <element name="expdef_info" type="string" />3172 <element name="expdef_title" type="string" flags="3"/> 3173 <element name="expdef_info" type="string" flags="3"/> 3174 3174 <element name="init" function="true" type="void"> 3175 3175 <description><![CDATA[Performs initialization procedures, like resetting counters, states, gene pools, etc.]]></description> 3176 3176 <arguments/></element> 3177 3177 <element name="loadexpdef" function="true" type="void"><arguments/></element> 3178 <element name="usercode" type="string" >3178 <element name="usercode" type="string" flags="2048"> 3179 3179 <description><![CDATA[This script overrides the experiment definition]]></description> 3180 3180 </element> … … 3191 3191 <description><![CDATA[Display comments encountered in opened files]]></description> 3192 3192 </element> 3193 <element name="checkpoint" function="true" type="void" >3193 <element name="checkpoint" function="true" type="void" flags="32"> 3194 3194 <description><![CDATA[This function was previously called "autosave".]]></description> 3195 3195 <arguments/></element> 3196 <element name="checkpointData" function="true" type="void" >3196 <element name="checkpointData" function="true" type="void" flags="32"> 3197 3197 <description><![CDATA[In the distributed/paralellized scenario the data passed as argument can be received by the controlling entity (onSlaveCheckpoint in multithreaded master experiment, /simulator/expevent in distributed network simulator)]]></description> 3198 3198 <arguments> … … 3200 3200 </arguments> 3201 3201 </element> 3202 <element name="lastCheckpoint" type="untyped" >3202 <element name="lastCheckpoint" type="untyped" flags="35"> 3203 3203 <description><![CDATA[Most recently reported by the experiment definition script.]]></description> 3204 3204 </element> … … 3218 3218 If turned off: parameters from previous experiment definition will remain (dangerous).]]></description> 3219 3219 </element> 3220 <element name="new" function="true" type="Simulator" ><arguments/></element>3221 <element name="slaves" type="SlaveSimulators" />3222 <element name="cpus" type="integer" />3223 <element name="world" type="World" />3224 <element name="populations" type="Populations" />3225 <element name="genepools" type="GenePools" />3226 <element name="expparams" type="ExpParams" />3227 <element name="expstate" type="ExpState" />3228 <element name="loadNeurons" function="true" type="void" >3220 <element name="new" function="true" type="Simulator" flags="32"><arguments/></element> 3221 <element name="slaves" type="SlaveSimulators" flags="35"/> 3222 <element name="cpus" type="integer" flags="35"/> 3223 <element name="world" type="World" flags="35"/> 3224 <element name="populations" type="Populations" flags="35"/> 3225 <element name="genepools" type="GenePools" flags="35"/> 3226 <element name="expparams" type="ExpParams" flags="35"/> 3227 <element name="expstate" type="ExpState" flags="35"/> 3228 <element name="loadNeurons" function="true" type="void" flags="32"> 3229 3229 <arguments> 3230 3230 <argument name="directory path" type="string"/> 3231 3231 </arguments> 3232 3232 </element> 3233 <element name="user" type="untyped" />3234 <element name="identity" type="integer" >3233 <element name="user" type="untyped" flags="34"/> 3234 <element name="identity" type="integer" flags="35"> 3235 3235 <description><![CDATA[-1 for master simulator, 0...count-1 for slaves]]></description> 3236 3236 </element> 3237 <element name="clear" function="true" />3238 <element name="add" function="true" />3239 <element name="remove" function="true" />3240 <element name="addGroup" function="true" />3241 <element name="removeGroup" function="true" />3242 <element name="changedProperty" type="integer" />3243 <element name="changedPropertyId" type="string" />3237 <element name="clear" function="true" flags="34"/> 3238 <element name="add" function="true" flags="34"/> 3239 <element name="remove" function="true" flags="34"/> 3240 <element name="addGroup" function="true" flags="34"/> 3241 <element name="removeGroup" function="true" flags="34"/> 3242 <element name="changedProperty" type="integer" flags="35"/> 3243 <element name="changedPropertyId" type="string" flags="35"/> 3244 3244 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 3245 3245 <element name="wrldsiz" type="float" min="10" max="1000" default="20.0"> … … 3264 3264 The "official" setting used to evaluate and compare creatures is 1.]]></description> 3265 3265 </element> 3266 <element name="wrldchg" function="true" type="void" ><arguments/></element>3266 <element name="wrldchg" function="true" type="void" flags="32"><arguments/></element> 3267 3267 <element name="simtype" type="integer" min="0" max="1" default="0"> 3268 3268 <description><![CDATA[MechaStick is a fast and simple primary Framsticks simulation engine. … … 3274 3274 <description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description> 3275 3275 </element> 3276 <element name="signals" type="WorldSignals" />3276 <element name="signals" type="WorldSignals" flags="35"/> 3277 3277 <element name="odeshape" type="integer" min="0" max="1"/> 3278 3278 <element name="odestep" type="float" min="0.001" max="1" default="0.05"/> … … 3327 3327 <element name="odecol2softcfm" type="float" min="0" max="1" default="0.0"/> 3328 3328 <element name="odecol2softerp" type="float" min="0" max="1" default="0.0"/> 3329 <element name="rayIntersection" function="true" type="float" >3329 <element name="rayIntersection" function="true" type="float" flags="32"> 3330 3330 <arguments> 3331 3331 <argument name="position x" type="float"/> … … 3338 3338 </arguments> 3339 3339 </element> 3340 <element name="gen_hist" type="integer" min="0" max="1" default="0" >3340 <element name="gen_hist" type="integer" min="0" max="1" default="0" flags="2"> 3341 3341 <description><![CDATA[Required for phylogenetic analysis]]></description> 3342 3342 </element> … … 3348 3348 <description><![CDATA[If active, information about employed mutation method will be stored in the 'info' field of each mutated genotype.]]></description> 3349 3349 </element> 3350 <element name="operReport" function="true" type="void" >3350 <element name="operReport" function="true" type="void" flags="2"> 3351 3351 <description><![CDATA[Show available genetic operators]]></description> 3352 3352 <arguments/></element> 3353 <element name="toHTML" function="true" type="string" >3353 <element name="toHTML" function="true" type="string" flags="2"> 3354 3354 <description><![CDATA[returns genotype expressed as colored HTML]]></description> 3355 3355 <arguments> … … 3357 3357 </arguments> 3358 3358 </element> 3359 <element name="toHTMLshort" function="true" type="string" >3359 <element name="toHTMLshort" function="true" type="string" flags="2"> 3360 3360 <description><![CDATA[returns genotype (abbreviated if needed) expressed as colored HTML]]></description> 3361 3361 <arguments> … … 3363 3363 </arguments> 3364 3364 </element> 3365 <element name="validate" function="true" type="Geno" >3365 <element name="validate" function="true" type="Geno" flags="34"> 3366 3366 <description><![CDATA[returns validated (if possible) Geno object from supplied Geno]]></description> 3367 3367 <arguments> … … 3369 3369 </arguments> 3370 3370 </element> 3371 <element name="mutate" function="true" type="Geno" >3371 <element name="mutate" function="true" type="Geno" flags="34"> 3372 3372 <description><![CDATA[returns mutated Geno object from supplied Geno]]></description> 3373 3373 <arguments> … … 3375 3375 </arguments> 3376 3376 </element> 3377 <element name="crossOver" function="true" type="Geno" >3377 <element name="crossOver" function="true" type="Geno" flags="34"> 3378 3378 <description><![CDATA[returns crossed over genotype]]></description> 3379 3379 <arguments> … … 3382 3382 </arguments> 3383 3383 </element> 3384 <element name="getSimplest" function="true" type="Geno" >3384 <element name="getSimplest" function="true" type="Geno" flags="34"> 3385 3385 <description><![CDATA[returns the simplest genotype for a given encoding (format). 0 means f0, 4 means f4, etc.]]></description> 3386 3386 <arguments> … … 3388 3388 </arguments> 3389 3389 </element> 3390 <element name="genoper_f0" type="integer" min="0" max="0" >3391 <description><![CDATA[]]></description> 3392 </element> 3393 <element name="genoper_f1" type="integer" min="0" max="0" >3394 <description><![CDATA[]]></description> 3395 </element> 3396 <element name="genoper_f2" type="integer" min="0" max="0" >3397 <description><![CDATA[]]></description> 3398 </element> 3399 <element name="genoper_f3" type="integer" min="0" max="0" >3400 <description><![CDATA[]]></description> 3401 </element> 3402 <element name="genoper_f4" type="integer" min="0" max="0" >3403 <description><![CDATA[]]></description> 3404 </element> 3405 <element name="genoper_f9" type="integer" min="0" max="0" >3406 <description><![CDATA[]]></description> 3407 </element> 3408 <element name="genoper_fF" type="integer" min="0" max="0" >3390 <element name="genoper_f0" type="integer" min="0" max="0" flags="65"> 3391 <description><![CDATA[]]></description> 3392 </element> 3393 <element name="genoper_f1" type="integer" min="0" max="0" flags="65"> 3394 <description><![CDATA[]]></description> 3395 </element> 3396 <element name="genoper_f2" type="integer" min="0" max="0" flags="65"> 3397 <description><![CDATA[]]></description> 3398 </element> 3399 <element name="genoper_f3" type="integer" min="0" max="0" flags="65"> 3400 <description><![CDATA[]]></description> 3401 </element> 3402 <element name="genoper_f4" type="integer" min="0" max="0" flags="65"> 3403 <description><![CDATA[]]></description> 3404 </element> 3405 <element name="genoper_f9" type="integer" min="0" max="0" flags="65"> 3406 <description><![CDATA[]]></description> 3407 </element> 3408 <element name="genoper_fF" type="integer" min="0" max="0" flags="65"> 3409 3409 <description><![CDATA[]]></description> 3410 3410 </element> … … 4131 4131 <description><![CDATA[]]></description> 4132 4132 </element> 4133 <element name="evaluateDistance" function="true" type="float" >4133 <element name="evaluateDistance" function="true" type="float" flags="34"> 4134 4134 <description><![CDATA[Calculates dissimilarity between two models created from Geno objects.]]></description> 4135 4135 <arguments> … … 4138 4138 </arguments> 4139 4139 </element> 4140 <element name="calculateSymmetry" function="true" type="float" >4140 <element name="calculateSymmetry" function="true" type="float" flags="32"> 4141 4141 <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). 4142 4142 Note: may take a long time for large creatures.]]></description> … … 4145 4145 </arguments> 4146 4146 </element> 4147 <element name="calculateSymmetry2" function="true" type="float" >4147 <element name="calculateSymmetry2" function="true" type="float" flags="32"> 4148 4148 <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). 4149 4149 Note: may take a long time for large creatures.]]></description> … … 4155 4155 </arguments> 4156 4156 </element> 4157 <element name="calculateSymmetryForPlane" function="true" type="float" >4157 <element name="calculateSymmetryForPlane" function="true" type="float" flags="32"> 4158 4158 <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> 4159 4159 <arguments> … … 4174 4174 <description><![CDATA[Default number of samples per full angle (#2)]]></description> 4175 4175 </element> 4176 <element name="symResultA" type="float" />4177 <element name="symResultB" type="float" />4178 <element name="symResultC" type="float" />4179 <element name="symResultD" type="float" />4176 <element name="symResultA" type="float" flags="35"/> 4177 <element name="symResultB" type="float" flags="35"/> 4178 <element name="symResultC" type="float" flags="35"/> 4179 <element name="symResultD" type="float" flags="35"/> 4180 4180 <element name="geom_density" type="float" min="0.01" max="100" default="1.0"> 4181 4181 <description><![CDATA[Affects the geometry calculation precision]]></description> 4182 4182 </element> 4183 <element name="forModel" function="true" type="ModelGeometry" >4183 <element name="forModel" function="true" type="ModelGeometry" flags="32"> 4184 4184 <description><![CDATA[The returned ModelGeometry object can be used to calculate geometric properties (volume, area, sizes) of the associated model. The density is copied from the current global ModelGeometry.geom_density on object creation.]]></description> 4185 4185 <arguments> … … 4187 4187 </arguments> 4188 4188 </element> 4189 <element name="volume" function="true" type="float" ><arguments/></element>4190 <element name="area" function="true" type="float" ><arguments/></element>4191 <element name="sizesAndAxes" function="true" type="Vector" >4189 <element name="volume" function="true" type="float" flags="288"><arguments/></element> 4190 <element name="area" function="true" type="float" flags="288"><arguments/></element> 4191 <element name="sizesAndAxes" function="true" type="Vector" flags="288"> 4192 4192 <description><![CDATA[The returned vector contains XYZ (sizes) and Orient (axes) objects.]]></description> 4193 4193 <arguments/></element> … … 4211 4211 <description><![CDATA[]]></description> 4212 4212 </element> 4213 <element name="evaluateDistance" function="true" type="float" >4213 <element name="evaluateDistance" function="true" type="float" flags="34"> 4214 4214 <description><![CDATA[Calculates dissimilarity between two models created from Geno objects.]]></description> 4215 4215 <arguments> … … 4221 4221 <type name="Simulator" context="Global context"> 4222 4222 <description><![CDATA[The Framsticks simulator.]]></description> 4223 <element name="print" function="true" type="void" >4223 <element name="print" function="true" type="void" flags="32"> 4224 4224 <description><![CDATA[One argument: message to be printed]]></description> 4225 4225 <arguments> … … 4227 4227 </arguments> 4228 4228 </element> 4229 <element name="message" function="true" type="void" >4229 <element name="message" function="true" type="void" flags="32"> 4230 4230 <description><![CDATA[The second argument can be: 4231 4231 -1 = debugging message … … 4239 4239 </arguments> 4240 4240 </element> 4241 <element name="sleep" function="true" type="void" >4241 <element name="sleep" function="true" type="void" flags="32"> 4242 4242 <description><![CDATA[Suspends the execution for a specified interval]]></description> 4243 4243 <arguments> … … 4245 4245 </arguments> 4246 4246 </element> 4247 <element name="beep" function="true" type="void" >4247 <element name="beep" function="true" type="void" flags="32"> 4248 4248 <description><![CDATA[Plays a default system sound]]></description> 4249 4249 <arguments/></element> 4250 <element name="sound" function="true" type="void" >4250 <element name="sound" function="true" type="void" flags="32"> 4251 4251 <description><![CDATA[Generates a simple tone on the speaker]]></description> 4252 4252 <arguments> … … 4255 4255 </arguments> 4256 4256 </element> 4257 <element name="eval" function="true" type="void" >4257 <element name="eval" function="true" type="void" flags="32"> 4258 4258 <description><![CDATA[The argument must be a complete statement, e.g. "return 2+2;" is valid, while "2+2" is not. The EvalError object is returned for invalid statements. 4259 4259 Example: … … 4268 4268 </arguments> 4269 4269 </element> 4270 <element name="load" function="true" type="void" >4270 <element name="load" function="true" type="void" flags="32"> 4271 4271 <description><![CDATA[Load experiment file (calls onExpLoad() in the current experiment definition). This function is intended to replace the simulator state; the old state is cleared by automatically calling "resetToDefaults()" (only if "resetonexpdef" is enabled). Use "import" if you don't want to loose the old simulator state.]]></description> 4272 4272 <arguments> … … 4274 4274 </arguments> 4275 4275 </element> 4276 <element name="import" function="true" type="void" >4276 <element name="import" function="true" type="void" flags="32"> 4277 4277 <description><![CDATA[Load some data from file. The second optional argument selects what section(s) will be imported: 4278 4278 1 - experiment (works like "load" and can reset the simulator state!) … … 4290 4290 </arguments> 4291 4291 </element> 4292 <element name="import" function="true" type="void" >4292 <element name="import" function="true" type="void" flags="32"> 4293 4293 <description><![CDATA[Equivalent to import(filename,2+4+8+16) - imports genotypes, parameters, genepool and population settings]]></description> 4294 4294 <arguments> … … 4296 4296 </arguments> 4297 4297 </element> 4298 <element name="save" function="true" type="untyped" >4298 <element name="save" function="true" type="untyped" flags="32"> 4299 4299 <description><![CDATA[Save experiment file (calls onExpSave() in the current experiment definition)]]></description> 4300 4300 <arguments> … … 4302 4302 </arguments> 4303 4303 </element> 4304 <element name="export" function="true" type="untyped" >4304 <element name="export" function="true" type="untyped" flags="32"> 4305 4305 <description><![CDATA[Save some data to file. arguments: 4306 4306 - filename … … 4322 4322 </arguments> 4323 4323 </element> 4324 <element name="start" function="true" type="void" >4324 <element name="start" function="true" type="void" flags="4096"> 4325 4325 <description><![CDATA[called by the user interface]]></description> 4326 4326 <arguments/></element> 4327 <element name="stop" function="true" type="void" >4327 <element name="stop" function="true" type="void" flags="4096"> 4328 4328 <description><![CDATA[the expdef script calls this to stop simulation]]></description> 4329 4329 <arguments/></element> 4330 <element name="running" type="integer" min="0" max="1" >4330 <element name="running" type="integer" min="0" max="1" flags="4130"> 4331 4331 <description><![CDATA[useful for synchronizing the user interface state]]></description> 4332 4332 </element> 4333 <element name="step" function="true" type="void" ><arguments/></element>4334 <element name="time" type="integer" />4335 <element name="simspeed" type="integer" >4333 <element name="step" function="true" type="void" flags="32"><arguments/></element> 4334 <element name="time" type="integer" flags="34"/> 4335 <element name="simspeed" type="integer" flags="4131"> 4336 4336 <description><![CDATA[steps/second]]></description> 4337 4337 </element> … … 4343 4343 It is a good practice to initialize the experiment before running the simulation.]]></description> 4344 4344 </element> 4345 <element name="expdef_title" type="string" />4346 <element name="expdef_info" type="string" />4345 <element name="expdef_title" type="string" flags="3"/> 4346 <element name="expdef_info" type="string" flags="3"/> 4347 4347 <element name="init" function="true" type="void"> 4348 4348 <description><![CDATA[Performs initialization procedures, like resetting counters, states, gene pools, etc.]]></description> 4349 4349 <arguments/></element> 4350 4350 <element name="loadexpdef" function="true" type="void"><arguments/></element> 4351 <element name="usercode" type="string" >4351 <element name="usercode" type="string" flags="2048"> 4352 4352 <description><![CDATA[This script overrides the experiment definition]]></description> 4353 4353 </element> … … 4364 4364 <description><![CDATA[Display comments encountered in opened files]]></description> 4365 4365 </element> 4366 <element name="checkpoint" function="true" type="void" >4366 <element name="checkpoint" function="true" type="void" flags="32"> 4367 4367 <description><![CDATA[This function was previously called "autosave".]]></description> 4368 4368 <arguments/></element> 4369 <element name="checkpointData" function="true" type="void" >4369 <element name="checkpointData" function="true" type="void" flags="32"> 4370 4370 <description><![CDATA[In the distributed/paralellized scenario the data passed as argument can be received by the controlling entity (onSlaveCheckpoint in multithreaded master experiment, /simulator/expevent in distributed network simulator)]]></description> 4371 4371 <arguments> … … 4373 4373 </arguments> 4374 4374 </element> 4375 <element name="lastCheckpoint" type="untyped" >4375 <element name="lastCheckpoint" type="untyped" flags="35"> 4376 4376 <description><![CDATA[Most recently reported by the experiment definition script.]]></description> 4377 4377 </element> … … 4391 4391 If turned off: parameters from previous experiment definition will remain (dangerous).]]></description> 4392 4392 </element> 4393 <element name="new" function="true" type="Simulator" ><arguments/></element>4394 <element name="slaves" type="SlaveSimulators" />4395 <element name="cpus" type="integer" />4396 <element name="world" type="World" />4397 <element name="populations" type="Populations" />4398 <element name="genepools" type="GenePools" />4399 <element name="expparams" type="ExpParams" />4400 <element name="expstate" type="ExpState" />4401 <element name="loadNeurons" function="true" type="void" >4393 <element name="new" function="true" type="Simulator" flags="32"><arguments/></element> 4394 <element name="slaves" type="SlaveSimulators" flags="35"/> 4395 <element name="cpus" type="integer" flags="35"/> 4396 <element name="world" type="World" flags="35"/> 4397 <element name="populations" type="Populations" flags="35"/> 4398 <element name="genepools" type="GenePools" flags="35"/> 4399 <element name="expparams" type="ExpParams" flags="35"/> 4400 <element name="expstate" type="ExpState" flags="35"/> 4401 <element name="loadNeurons" function="true" type="void" flags="32"> 4402 4402 <arguments> 4403 4403 <argument name="directory path" type="string"/> 4404 4404 </arguments> 4405 4405 </element> 4406 <element name="user" type="untyped" />4407 <element name="identity" type="integer" >4406 <element name="user" type="untyped" flags="34"/> 4407 <element name="identity" type="integer" flags="35"> 4408 4408 <description><![CDATA[-1 for master simulator, 0...count-1 for slaves]]></description> 4409 4409 </element> … … 4420 4420 </arguments> 4421 4421 </element> 4422 <element name="running" type="integer" >4422 <element name="running" type="integer" flags="1"> 4423 4423 <description><![CDATA[Note that if running>0 then the number of running simulations can be outdated in the very moment you read this field, because the expdef can stop itself anytime. If running==0, then it is guaranteed to stay 0 until someone calls start() on some of the slave simulator objects.]]></description> 4424 4424 </element> … … 4461 4461 </type> 4462 4462 <type name="stats" context="Global context"> 4463 <element name="gen_count" type="integer" >4464 <description><![CDATA[]]></description> 4465 </element> 4466 <element name="gen_mvalid" type="integer" >4467 <description><![CDATA[]]></description> 4468 </element> 4469 <element name="gen_mvalidated" type="integer" >4470 <description><![CDATA[]]></description> 4471 </element> 4472 <element name="gen_minvalid" type="integer" >4463 <element name="gen_count" type="integer" flags="1"> 4464 <description><![CDATA[]]></description> 4465 </element> 4466 <element name="gen_mvalid" type="integer" flags="1"> 4467 <description><![CDATA[]]></description> 4468 </element> 4469 <element name="gen_mvalidated" type="integer" flags="1"> 4470 <description><![CDATA[]]></description> 4471 </element> 4472 <element name="gen_minvalid" type="integer" flags="1"> 4473 4473 <description><![CDATA[couldn't be repaired]]></description> 4474 4474 </element> 4475 <element name="gen_mfailed" type="integer" >4475 <element name="gen_mfailed" type="integer" flags="1"> 4476 4476 <description><![CDATA[couldn't be performed]]></description> 4477 4477 </element> 4478 <element name="gen_xovalid" type="integer" >4479 <description><![CDATA[]]></description> 4480 </element> 4481 <element name="gen_xovalidated" type="integer" >4482 <description><![CDATA[]]></description> 4483 </element> 4484 <element name="gen_xoinvalid" type="integer" >4478 <element name="gen_xovalid" type="integer" flags="1"> 4479 <description><![CDATA[]]></description> 4480 </element> 4481 <element name="gen_xovalidated" type="integer" flags="1"> 4482 <description><![CDATA[]]></description> 4483 </element> 4484 <element name="gen_xoinvalid" type="integer" flags="1"> 4485 4485 <description><![CDATA[couldn't be repaired]]></description> 4486 4486 </element> 4487 <element name="gen_xofailed" type="integer" >4487 <element name="gen_xofailed" type="integer" flags="1"> 4488 4488 <description><![CDATA[couldn't be performed]]></description> 4489 4489 </element> 4490 <element name="gen_mutimpr" type="float" >4490 <element name="gen_mutimpr" type="float" flags="1"> 4491 4491 <description><![CDATA[total cumulative mutation change]]></description> 4492 4492 </element> 4493 <element name="gen_xoimpr" type="float" >4493 <element name="gen_xoimpr" type="float" flags="1"> 4494 4494 <description><![CDATA[total cumulative crossover change]]></description> 4495 4495 </element> 4496 <element name="clrstats" function="true" type="void" >4496 <element name="clrstats" function="true" type="void" flags="2"> 4497 4497 <description><![CDATA[]]></description> 4498 4498 <arguments/></element> 4499 <element name="clear" function="true" />4500 <element name="add" function="true" />4501 <element name="remove" function="true" />4502 <element name="addGroup" function="true" />4503 <element name="removeGroup" function="true" />4504 <element name="changedProperty" type="integer" />4505 <element name="changedPropertyId" type="string" />4506 <element name="st_count" type="integer" />4507 <element name="st_min_numparts" type="float" />4508 <element name="st_avg_numparts" type="float" />4509 <element name="st_max_numparts" type="float" />4510 <element name="st_min_numjoints" type="float" />4511 <element name="st_avg_numjoints" type="float" />4512 <element name="st_max_numjoints" type="float" />4513 <element name="st_min_numneurons" type="float" />4514 <element name="st_avg_numneurons" type="float" />4515 <element name="st_max_numneurons" type="float" />4516 <element name="st_min_numconnections" type="float" />4517 <element name="st_avg_numconnections" type="float" />4518 <element name="st_max_numconnections" type="float" />4519 <element name="st_min_num" type="float" />4520 <element name="st_avg_num" type="float" />4521 <element name="st_max_num" type="float" />4522 <element name="st_min_gnum" type="float" />4523 <element name="st_avg_gnum" type="float" />4524 <element name="st_max_gnum" type="float" />4525 <element name="st_min_instances" type="float" />4526 <element name="st_avg_instances" type="float" />4527 <element name="st_max_instances" type="float" />4528 <element name="st_min_lifespan" type="float" />4529 <element name="st_avg_lifespan" type="float" />4530 <element name="st_max_lifespan" type="float" />4531 <element name="st_min_velocity" type="float" />4532 <element name="st_avg_velocity" type="float" />4533 <element name="st_max_velocity" type="float" />4534 <element name="st_min_distance" type="float" />4535 <element name="st_avg_distance" type="float" />4536 <element name="st_max_distance" type="float" />4537 <element name="st_min_vertvel" type="float" />4538 <element name="st_avg_vertvel" type="float" />4539 <element name="st_max_vertvel" type="float" />4540 <element name="st_min_vertpos" type="float" />4541 <element name="st_avg_vertpos" type="float" />4542 <element name="st_max_vertpos" type="float" />4543 <element name="st_min_fit" type="float" />4544 <element name="st_avg_fit" type="float" />4545 <element name="st_max_fit" type="float" />4546 <element name="st_min_fit2" type="float" />4547 <element name="st_avg_fit2" type="float" />4548 <element name="st_max_fit2" type="float" />4549 <element name="st_min_c_velocity" type="float" />4550 <element name="st_avg_c_velocity" type="float" />4551 <element name="st_max_c_velocity" type="float" />4552 <element name="st_min_c_vertvelocity" type="float" />4553 <element name="st_avg_c_vertvelocity" type="float" />4554 <element name="st_max_c_vertvelocity" type="float" />4555 <element name="st_min_c_vertpos" type="float" />4556 <element name="st_avg_c_vertpos" type="float" />4557 <element name="st_max_c_vertpos" type="float" />4558 <element name="st_min_pos_x" type="float" />4559 <element name="st_avg_pos_x" type="float" />4560 <element name="st_max_pos_x" type="float" />4561 <element name="st_min_pos_y" type="float" />4562 <element name="st_avg_pos_y" type="float" />4563 <element name="st_max_pos_y" type="float" />4564 <element name="st_min_pos_z" type="float" />4565 <element name="st_avg_pos_z" type="float" />4566 <element name="st_max_pos_z" type="float" />4567 <element name="st_min_size_x" type="float" />4568 <element name="st_avg_size_x" type="float" />4569 <element name="st_max_size_x" type="float" />4570 <element name="st_min_size_y" type="float" />4571 <element name="st_avg_size_y" type="float" />4572 <element name="st_max_size_y" type="float" />4573 <element name="st_min_size_z" type="float" />4574 <element name="st_avg_size_z" type="float" />4575 <element name="st_max_size_z" type="float" />4576 <element name="st_min_center_x" type="float" />4577 <element name="st_avg_center_x" type="float" />4578 <element name="st_max_center_x" type="float" />4579 <element name="st_min_center_y" type="float" />4580 <element name="st_avg_center_y" type="float" />4581 <element name="st_max_center_y" type="float" />4582 <element name="st_min_center_z" type="float" />4583 <element name="st_avg_center_z" type="float" />4584 <element name="st_max_center_z" type="float" />4499 <element name="clear" function="true" flags="34"/> 4500 <element name="add" function="true" flags="34"/> 4501 <element name="remove" function="true" flags="34"/> 4502 <element name="addGroup" function="true" flags="34"/> 4503 <element name="removeGroup" function="true" flags="34"/> 4504 <element name="changedProperty" type="integer" flags="35"/> 4505 <element name="changedPropertyId" type="string" flags="35"/> 4506 <element name="st_count" type="integer" flags="1"/> 4507 <element name="st_min_numparts" type="float" flags="65"/> 4508 <element name="st_avg_numparts" type="float" flags="65"/> 4509 <element name="st_max_numparts" type="float" flags="65"/> 4510 <element name="st_min_numjoints" type="float" flags="65"/> 4511 <element name="st_avg_numjoints" type="float" flags="65"/> 4512 <element name="st_max_numjoints" type="float" flags="65"/> 4513 <element name="st_min_numneurons" type="float" flags="65"/> 4514 <element name="st_avg_numneurons" type="float" flags="65"/> 4515 <element name="st_max_numneurons" type="float" flags="65"/> 4516 <element name="st_min_numconnections" type="float" flags="65"/> 4517 <element name="st_avg_numconnections" type="float" flags="65"/> 4518 <element name="st_max_numconnections" type="float" flags="65"/> 4519 <element name="st_min_num" type="float" flags="65"/> 4520 <element name="st_avg_num" type="float" flags="65"/> 4521 <element name="st_max_num" type="float" flags="65"/> 4522 <element name="st_min_gnum" type="float" flags="65"/> 4523 <element name="st_avg_gnum" type="float" flags="65"/> 4524 <element name="st_max_gnum" type="float" flags="65"/> 4525 <element name="st_min_instances" type="float" flags="65"/> 4526 <element name="st_avg_instances" type="float" flags="65"/> 4527 <element name="st_max_instances" type="float" flags="65"/> 4528 <element name="st_min_lifespan" type="float" flags="65"/> 4529 <element name="st_avg_lifespan" type="float" flags="65"/> 4530 <element name="st_max_lifespan" type="float" flags="65"/> 4531 <element name="st_min_velocity" type="float" flags="65"/> 4532 <element name="st_avg_velocity" type="float" flags="65"/> 4533 <element name="st_max_velocity" type="float" flags="65"/> 4534 <element name="st_min_distance" type="float" flags="65"/> 4535 <element name="st_avg_distance" type="float" flags="65"/> 4536 <element name="st_max_distance" type="float" flags="65"/> 4537 <element name="st_min_vertvel" type="float" flags="65"/> 4538 <element name="st_avg_vertvel" type="float" flags="65"/> 4539 <element name="st_max_vertvel" type="float" flags="65"/> 4540 <element name="st_min_vertpos" type="float" flags="65"/> 4541 <element name="st_avg_vertpos" type="float" flags="65"/> 4542 <element name="st_max_vertpos" type="float" flags="65"/> 4543 <element name="st_min_fit" type="float" flags="65"/> 4544 <element name="st_avg_fit" type="float" flags="65"/> 4545 <element name="st_max_fit" type="float" flags="65"/> 4546 <element name="st_min_fit2" type="float" flags="65"/> 4547 <element name="st_avg_fit2" type="float" flags="65"/> 4548 <element name="st_max_fit2" type="float" flags="65"/> 4549 <element name="st_min_c_velocity" type="float" flags="65"/> 4550 <element name="st_avg_c_velocity" type="float" flags="65"/> 4551 <element name="st_max_c_velocity" type="float" flags="65"/> 4552 <element name="st_min_c_vertvelocity" type="float" flags="65"/> 4553 <element name="st_avg_c_vertvelocity" type="float" flags="65"/> 4554 <element name="st_max_c_vertvelocity" type="float" flags="65"/> 4555 <element name="st_min_c_vertpos" type="float" flags="65"/> 4556 <element name="st_avg_c_vertpos" type="float" flags="65"/> 4557 <element name="st_max_c_vertpos" type="float" flags="65"/> 4558 <element name="st_min_pos_x" type="float" flags="65"/> 4559 <element name="st_avg_pos_x" type="float" flags="65"/> 4560 <element name="st_max_pos_x" type="float" flags="65"/> 4561 <element name="st_min_pos_y" type="float" flags="65"/> 4562 <element name="st_avg_pos_y" type="float" flags="65"/> 4563 <element name="st_max_pos_y" type="float" flags="65"/> 4564 <element name="st_min_pos_z" type="float" flags="65"/> 4565 <element name="st_avg_pos_z" type="float" flags="65"/> 4566 <element name="st_max_pos_z" type="float" flags="65"/> 4567 <element name="st_min_size_x" type="float" flags="65"/> 4568 <element name="st_avg_size_x" type="float" flags="65"/> 4569 <element name="st_max_size_x" type="float" flags="65"/> 4570 <element name="st_min_size_y" type="float" flags="65"/> 4571 <element name="st_avg_size_y" type="float" flags="65"/> 4572 <element name="st_max_size_y" type="float" flags="65"/> 4573 <element name="st_min_size_z" type="float" flags="65"/> 4574 <element name="st_avg_size_z" type="float" flags="65"/> 4575 <element name="st_max_size_z" type="float" flags="65"/> 4576 <element name="st_min_center_x" type="float" flags="65"/> 4577 <element name="st_avg_center_x" type="float" flags="65"/> 4578 <element name="st_max_center_x" type="float" flags="65"/> 4579 <element name="st_min_center_y" type="float" flags="65"/> 4580 <element name="st_avg_center_y" type="float" flags="65"/> 4581 <element name="st_max_center_y" type="float" flags="65"/> 4582 <element name="st_min_center_z" type="float" flags="65"/> 4583 <element name="st_avg_center_z" type="float" flags="65"/> 4584 <element name="st_max_center_z" type="float" flags="65"/> 4585 4585 </type> 4586 4586 <type name="StopEvent" context="Global context"> 4587 4587 <description><![CDATA[StopEvent]]></description> 4588 <element name="index" type="integer" />4589 <element name="slave" type="Simulator" />4588 <element name="index" type="integer" flags="1"/> 4589 <element name="slave" type="Simulator" flags="1"/> 4590 4590 </type> 4591 4591 <type name="String" context="Global context"> … … 4776 4776 <type name="Symmetry" context="Global context"> 4777 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" >4778 <element name="calculateSymmetry" function="true" type="float" flags="32"> 4779 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 4780 Note: may take a long time for large creatures.]]></description> … … 4783 4783 </arguments> 4784 4784 </element> 4785 <element name="calculateSymmetry2" function="true" type="float" >4785 <element name="calculateSymmetry2" function="true" type="float" flags="32"> 4786 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 4787 Note: may take a long time for large creatures.]]></description> … … 4793 4793 </arguments> 4794 4794 </element> 4795 <element name="calculateSymmetryForPlane" function="true" type="float" >4795 <element name="calculateSymmetryForPlane" function="true" type="float" flags="32"> 4796 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 4797 <arguments> … … 4812 4812 <description><![CDATA[Default number of samples per full angle (#2)]]></description> 4813 4813 </element> 4814 <element name="symResultA" type="float" />4815 <element name="symResultB" type="float" />4816 <element name="symResultC" type="float" />4817 <element name="symResultD" type="float" />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 4818 </type> 4819 4819 <type name="UserScripts" context="Global context"> 4820 <element name="clear" function="true" />4821 <element name="add" function="true" />4822 <element name="remove" function="true" />4823 <element name="addGroup" function="true" />4824 <element name="removeGroup" function="true" />4825 <element name="changedProperty" type="integer" />4826 <element name="changedPropertyId" type="string" />4820 <element name="clear" function="true" flags="34"/> 4821 <element name="add" function="true" flags="34"/> 4822 <element name="remove" function="true" flags="34"/> 4823 <element name="addGroup" function="true" flags="34"/> 4824 <element name="removeGroup" function="true" flags="34"/> 4825 <element name="changedProperty" type="integer" flags="35"/> 4826 <element name="changedPropertyId" type="string" flags="35"/> 4827 4827 </type> 4828 4828 <type name="Vector" context="Global context"> … … 4831 4831 var v=Vector.new(); 4832 4832 v.add(123); v.add("string");]]></description> 4833 <element name="clear" function="true" type="void" ><arguments/></element>4834 <element name="size" type="integer" />4835 <element name="remove" function="true" type="void" >4833 <element name="clear" function="true" type="void" flags="256"><arguments/></element> 4834 <element name="size" type="integer" flags="257"/> 4835 <element name="remove" function="true" type="void" flags="256"> 4836 4836 <arguments> 4837 4837 <argument name="position" type="integer"/> 4838 4838 </arguments> 4839 4839 </element> 4840 <element name="get" function="true" type="untyped" >4840 <element name="get" function="true" type="untyped" flags="256"> 4841 4841 <arguments> 4842 4842 <argument name="position" type="integer"/> 4843 4843 </arguments> 4844 4844 </element> 4845 <element name="set" function="true" type="void" >4845 <element name="set" function="true" type="void" flags="256"> 4846 4846 <arguments> 4847 4847 <argument name="position" type="integer"/> … … 4849 4849 </arguments> 4850 4850 </element> 4851 <element name="add" function="true" type="void" >4851 <element name="add" function="true" type="void" flags="256"> 4852 4852 <arguments> 4853 4853 <argument name="value" type="untyped"/> 4854 4854 </arguments> 4855 4855 </element> 4856 <element name="find" function="true" type="integer" >4856 <element name="find" function="true" type="integer" flags="256"> 4857 4857 <description><![CDATA[returns the element index or -1 if not found]]></description> 4858 4858 <arguments> … … 4860 4860 </arguments> 4861 4861 </element> 4862 <element name="avg" type="float" />4863 <element name="stdev" type="float" >4862 <element name="avg" type="float" flags="257"/> 4863 <element name="stdev" type="float" flags="257"> 4864 4864 <description><![CDATA[=sqrt(sum((element[i]-avg)^2)/(size-1)) which is estimated population std.dev. from sample std.dev.]]></description> 4865 4865 </element> 4866 <element name="toString" type="string" />4866 <element name="toString" type="string" flags="257"/> 4867 4867 <element name="new" function="true" type="Vector"><arguments/></element> 4868 <element name="sort" function="true" type="void" >4868 <element name="sort" function="true" type="void" flags="256"> 4869 4869 <description><![CDATA[comparator can be null, giving the "natural" sorting order (depending on element type), otherwise it must be a function reference obtained by the "function FUNCTIONNAME" operator. 4870 4870 … … 4877 4877 </arguments> 4878 4878 </element> 4879 <element name="iterator" type="Object" />4879 <element name="iterator" type="Object" flags="257"/> 4880 4880 </type> 4881 4881 <type name="World" context="Global context"> … … 4903 4903 The "official" setting used to evaluate and compare creatures is 1.]]></description> 4904 4904 </element> 4905 <element name="wrldchg" function="true" type="void" ><arguments/></element>4905 <element name="wrldchg" function="true" type="void" flags="32"><arguments/></element> 4906 4906 <element name="simtype" type="integer" min="0" max="1" default="0"> 4907 4907 <description><![CDATA[MechaStick is a fast and simple primary Framsticks simulation engine. … … 4913 4913 <description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description> 4914 4914 </element> 4915 <element name="signals" type="WorldSignals" />4915 <element name="signals" type="WorldSignals" flags="35"/> 4916 4916 </type> 4917 4917 <type name="WorldMap" context="Global context"> … … 4922 4922 Smooth: x/ysize=World.wrldsiz+2 rows of vertices (creating World.wrldsiz+1 rows of triangles, everything within the world boundaries) 4923 4923 ]]></description> 4924 <element name="xsize" type="integer" />4925 <element name="ysize" type="integer" />4924 <element name="xsize" type="integer" flags="1"/> 4925 <element name="ysize" type="integer" flags="1"/> 4926 4926 <element name="getHeight" function="true" type="float"> 4927 4927 <description><![CDATA[Height at any 2d coordinate]]></description> … … 5009 5009 </arguments> 5010 5010 </element> 5011 <element name="size" type="integer" />5012 <element name="clear" function="true" type="void" ><arguments/></element>5011 <element name="size" type="integer" flags="1"/> 5012 <element name="clear" function="true" type="void" flags="1"><arguments/></element> 5013 5013 </type> 5014 5014 <type name="XYZ" context="Global context"> 5015 5015 <description><![CDATA[3D vector]]></description> 5016 <element name="x" type="float" />5017 <element name="y" type="float" />5018 <element name="z" type="float" />5016 <element name="x" type="float" flags="256"/> 5017 <element name="y" type="float" flags="256"/> 5018 <element name="z" type="float" flags="256"/> 5019 5019 <element name="new" function="true" type="XYZ"> 5020 5020 <description><![CDATA[3D vectors objects can be also created using the (x,y,z) notation, i.e. var v=(1,2,3) is the same as var v=XYZ.new(1,2,3);]]></description> … … 5031 5031 </arguments> 5032 5032 </element> 5033 <element name="clone" function="true" type="XYZ" >5033 <element name="clone" function="true" type="XYZ" flags="256"> 5034 5034 <description><![CDATA[Note: copying object references does not create new objects. Use clone() if a new object is needed. 5035 5035 … … 5039 5039 //o2 is now (1,9999,3) but o3 is still (1,2,3)]]></description> 5040 5040 <arguments/></element> 5041 <element name="set" function="true" type="void" >5041 <element name="set" function="true" type="void" flags="256"> 5042 5042 <arguments> 5043 5043 <argument type="XYZ"/> 5044 5044 </arguments> 5045 5045 </element> 5046 <element name="set3" function="true" type="void" >5046 <element name="set3" function="true" type="void" flags="256"> 5047 5047 <arguments> 5048 5048 <argument name="x" type="float"/> … … 5051 5051 </arguments> 5052 5052 </element> 5053 <element name="add" function="true" type="void" >5053 <element name="add" function="true" type="void" flags="256"> 5054 5054 <description><![CDATA[Note: it does not return a new object, just modifies the existing one]]></description> 5055 5055 <arguments> … … 5057 5057 </arguments> 5058 5058 </element> 5059 <element name="sub" function="true" type="void" >5059 <element name="sub" function="true" type="void" flags="256"> 5060 5060 <description><![CDATA[Note: it does not return a new object, just modifies the existing one]]></description> 5061 5061 <arguments> … … 5063 5063 </arguments> 5064 5064 </element> 5065 <element name="scale" function="true" type="void" >5065 <element name="scale" function="true" type="void" flags="256"> 5066 5066 <arguments> 5067 5067 <argument type="float"/> 5068 5068 </arguments> 5069 5069 </element> 5070 <element name="length" type="float" />5071 <element name="normalize" function="true" type="void" >5070 <element name="length" type="float" flags="257"/> 5071 <element name="normalize" function="true" type="void" flags="256"> 5072 5072 <description><![CDATA[scales the vector length to 1.0]]></description> 5073 5073 <arguments/></element> 5074 <element name="toString" type="string" />5075 <element name="toVector" type="Vector" />5076 <element name="rotate" function="true" type="void" >5074 <element name="toString" type="string" flags="257"/> 5075 <element name="toVector" type="Vector" flags="257"/> 5076 <element name="rotate" function="true" type="void" flags="256"> 5077 5077 <arguments> 5078 5078 <argument type="Orient"/> 5079 5079 </arguments> 5080 5080 </element> 5081 <element name="revRotate" function="true" type="void" >5081 <element name="revRotate" function="true" type="void" flags="256"> 5082 5082 <arguments> 5083 5083 <argument type="Orient"/> 5084 5084 </arguments> 5085 5085 </element> 5086 <element name="get" function="true" type="float" >5086 <element name="get" function="true" type="float" flags="256"> 5087 5087 <description><![CDATA[this function makes the XYZ objects "indexable" (so you can use [] for accessing subsequent fields, like in Vector)]]></description> 5088 5088 <arguments> … … 5092 5092 </type> 5093 5093 <type name="ExpParams" context="Experiment definition"> 5094 <element name="clear" function="true" />5095 <element name="add" function="true" />5096 <element name="remove" function="true" />5097 <element name="addGroup" function="true" />5098 <element name="removeGroup" function="true" />5099 <element name="changedProperty" type="integer" />5100 <element name="changedPropertyId" type="string" />5094 <element name="clear" function="true" flags="34"/> 5095 <element name="add" function="true" flags="34"/> 5096 <element name="remove" function="true" flags="34"/> 5097 <element name="addGroup" function="true" flags="34"/> 5098 <element name="removeGroup" function="true" flags="34"/> 5099 <element name="changedProperty" type="integer" flags="35"/> 5100 <element name="changedPropertyId" type="string" flags="35"/> 5101 5101 </type> 5102 5102 <type name="ExpState" context="Experiment definition"> 5103 <element name="clear" function="true" />5104 <element name="add" function="true" />5105 <element name="remove" function="true" />5106 <element name="addGroup" function="true" />5107 <element name="removeGroup" function="true" />5108 <element name="changedProperty" type="integer" />5109 <element name="changedPropertyId" type="string" />5103 <element name="clear" function="true" flags="34"/> 5104 <element name="add" function="true" flags="34"/> 5105 <element name="remove" function="true" flags="34"/> 5106 <element name="addGroup" function="true" flags="34"/> 5107 <element name="removeGroup" function="true" flags="34"/> 5108 <element name="changedProperty" type="integer" flags="35"/> 5109 <element name="changedPropertyId" type="string" flags="35"/> 5110 5110 </type> 5111 5111 <type name="n" context="Neuron definitions"> … … 5115 5115 <element name="i" type="string"/> 5116 5116 <element name="Vstyle" type="string"/> 5117 <element name="getInputCount" type="integer" />5118 <element name="getInputNeuroDef" function="true" type="NeuroDef" >5117 <element name="getInputCount" type="integer" flags="3"/> 5118 <element name="getInputNeuroDef" function="true" type="NeuroDef" flags="3"> 5119 5119 <arguments> 5120 5120 <argument type="integer"/> 5121 5121 </arguments> 5122 5122 </element> 5123 <element name="getInputNeuroIndex" function="true" type="integer" >5123 <element name="getInputNeuroIndex" function="true" type="integer" flags="3"> 5124 5124 <arguments> 5125 5125 <argument type="integer"/> 5126 5126 </arguments> 5127 5127 </element> 5128 <element name="getInputWeight" function="true" type="float" >5128 <element name="getInputWeight" function="true" type="float" flags="3"> 5129 5129 <arguments> 5130 5130 <argument type="integer"/> 5131 5131 </arguments> 5132 5132 </element> 5133 <element name="classObject" type="NeuroClass" />5133 <element name="classObject" type="NeuroClass" flags="3"/> 5134 5134 </type> 5135 5135 <type name="Neuro" context="Neuron definitions"> … … 5161 5161 </arguments> 5162 5162 </element> 5163 <element name="getInputCount" type="integer" />5164 <element name="inputSum" type="float" />5165 <element name="weightedInputSum" type="float" />5163 <element name="getInputCount" type="integer" flags="1"/> 5164 <element name="inputSum" type="float" flags="1"/> 5165 <element name="weightedInputSum" type="float" flags="1"/> 5166 5166 <element name="getInputChannelCount" function="true" type="integer"> 5167 5167 <arguments> … … 5213 5213 </arguments> 5214 5214 </element> 5215 <element name="position_x" type="float" />5216 <element name="position_y" type="float" />5217 <element name="position_z" type="float" />5218 <element name="creature" type="Creature" />5219 <element name="part" type="MechPart" />5220 <element name="joint" type="MechJoint" />5221 <element name="fields" type="Fields" >5215 <element name="position_x" type="float" flags="1"/> 5216 <element name="position_y" type="float" flags="1"/> 5217 <element name="position_z" type="float" flags="1"/> 5218 <element name="creature" type="Creature" flags="1"/> 5219 <element name="part" type="MechPart" flags="1"/> 5220 <element name="joint" type="MechJoint" flags="1"/> 5221 <element name="fields" type="Fields" flags="1"> 5222 5222 <description><![CDATA[Neurons can have different fields depending on their class. Script neurons have their fields defined using the "prop:" syntax. If you develop a custom neuron script you should use the Fields object for accessing your own neuron fields. The Neuro.fields property is meant for accessing the neuron fields from the outside script. 5223 5223 Examples: … … 5234 5234 Simulator.print(iobj.getId(i)+" ("+iobj.getName(i)+")");]]></description> 5235 5235 </element> 5236 <element name="def" type="NeuroDef" />5237 <element name="classObject" type="NeuroClass" />5238 <element name="signals" type="NeuroSignals" />5236 <element name="def" type="NeuroDef" flags="1"/> 5237 <element name="classObject" type="NeuroClass" flags="1"/> 5238 <element name="signals" type="NeuroSignals" flags="1"/> 5239 5239 </type> 5240 5240 <type name="this" context="Fitness formula"> … … 5246 5246 <description><![CDATA[Additional information or comments]]></description> 5247 5247 </element> 5248 <element name="simi" type="float" >5248 <element name="simi" type="float" flags="3"> 5249 5249 <description><![CDATA[Read about details: 5250 5250 http://www.framsticks.com/node/795 5251 5251 http://www.framsticks.com/node/890]]></description> 5252 5252 </element> 5253 <element name="energ0" type="float" />5254 <element name="strsiz" type="float" />5255 <element name="strjoints" type="float" />5256 <element name="nnsiz" type="float" />5257 <element name="nncon" type="float" />5258 <element name="numparts" type="float" />5259 <element name="numjoints" type="float" />5260 <element name="numneurons" type="float" />5261 <element name="numconnections" type="float" />5253 <element name="energ0" type="float" flags="3"/> 5254 <element name="strsiz" type="float" flags="35"/> 5255 <element name="strjoints" type="float" flags="35"/> 5256 <element name="nnsiz" type="float" flags="35"/> 5257 <element name="nncon" type="float" flags="35"/> 5258 <element name="numparts" type="float" flags="3"/> 5259 <element name="numjoints" type="float" flags="3"/> 5260 <element name="numneurons" type="float" flags="3"/> 5261 <element name="numconnections" type="float" flags="3"/> 5262 5262 <element name="num" type="integer"/> 5263 5263 <element name="gnum" type="integer"/> 5264 <element name="popsiz" type="integer" />5265 <element name="instances" type="integer" >5264 <element name="popsiz" type="integer" flags="32"/> 5265 <element name="instances" type="integer" flags="2"> 5266 5266 <description><![CDATA[Copies of this genotype]]></description> 5267 5267 </element> … … 5275 5275 <element name="vertvel" type="float"/> 5276 5276 <element name="vertpos" type="float"/> 5277 <element name="fit" type="float" />5278 <element name="fit2" type="float" >5277 <element name="fit" type="float" flags="3"/> 5278 <element name="fit2" type="float" flags="3"> 5279 5279 <description><![CDATA[Fitness shifted by (avg-n*stddev)]]></description> 5280 5280 </element> 5281 <element name="f0genotype" type="string" >5281 <element name="f0genotype" type="string" flags="3"> 5282 5282 <description><![CDATA[converted to f0 genotype]]></description> 5283 5283 </element> 5284 <element name="convtrace1" type="string" />5284 <element name="convtrace1" type="string" flags="3"/> 5285 5285 <element name="user1" type="untyped"/> 5286 5286 <element name="user2" type="untyped"/> 5287 5287 <element name="user3" type="untyped"/> 5288 5288 <element name="mutate" function="true" type="void"><arguments/></element> 5289 <element name="isValid" type="integer" min="0" max="1" />5290 <element name="getNormalized" function="true" type="float" >5289 <element name="isValid" type="integer" min="0" max="1" flags="35"/> 5290 <element name="getNormalized" function="true" type="float" flags="35"> 5291 5291 <arguments> 5292 5292 <argument name="property name or index" type="untyped"/> 5293 5293 </arguments> 5294 5294 </element> 5295 <element name="geno" type="Geno" >5295 <element name="geno" type="Geno" flags="35"> 5296 5296 <description><![CDATA[Geno object for this Genotype]]></description> 5297 5297 </element> 5298 <element name="uid" type="string" >5298 <element name="uid" type="string" flags="33"> 5299 5299 <description><![CDATA[Unique identifier]]></description> 5300 5300 </element> 5301 <element name="getModel" function="true" type="Model" ><arguments/></element>5302 <element name="splitInstances" function="true" type="void" ><arguments/></element>5303 <element name="newFromString" function="true" type="Genotype" >5301 <element name="getModel" function="true" type="Model" flags="35"><arguments/></element> 5302 <element name="splitInstances" function="true" type="void" flags="32"><arguments/></element> 5303 <element name="newFromString" function="true" type="Genotype" flags="32"> 5304 5304 <arguments> 5305 5305 <argument name="genotype" type="string"/> 5306 5306 </arguments> 5307 5307 </element> 5308 <element name="newFromGeno" function="true" type="Genotype" >5308 <element name="newFromGeno" function="true" type="Genotype" flags="32"> 5309 5309 <arguments> 5310 5310 <argument name="geno" type="Geno"/> 5311 5311 </arguments> 5312 5312 </element> 5313 <element name="newFromCreature" function="true" type="Genotype" >5313 <element name="newFromCreature" function="true" type="Genotype" flags="32"> 5314 5314 <arguments> 5315 5315 <argument name="creature" type="Creature"/> 5316 5316 </arguments> 5317 5317 </element> 5318 <element name="addPerformanceFromCreature" function="true" type="void" >5318 <element name="addPerformanceFromCreature" function="true" type="void" flags="34"> 5319 5319 <description><![CDATA[Updates the Genotype's performance values merging them with the supplied 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> 5320 5320 <arguments> … … 5322 5322 </arguments> 5323 5323 </element> 5324 <element name="moveTo" function="true" type="void" >5324 <element name="moveTo" function="true" type="void" flags="32"> 5325 5325 <description><![CDATA[the genotype is removed from its current pool when pool=null]]></description> 5326 5326 <arguments> … … 5328 5328 </arguments> 5329 5329 </element> 5330 <element name="copyTo" function="true" type="Genotype" >5330 <element name="copyTo" function="true" type="Genotype" flags="32"> 5331 5331 <description><![CDATA[returns the duplicate genotype, created in the target pool]]></description> 5332 5332 <arguments> … … 5334 5334 </arguments> 5335 5335 </element> 5336 <element name="delete" function="true" type="void" ><arguments/></element>5337 <element name="deleteOne" function="true" type="void" >5336 <element name="delete" function="true" type="void" flags="32"><arguments/></element> 5337 <element name="deleteOne" function="true" type="void" flags="32"> 5338 5338 <description><![CDATA[]]></description> 5339 5339 <arguments/></element> 5340 <element name="genepool" type="untyped" >5340 <element name="genepool" type="untyped" flags="35"> 5341 5341 <description><![CDATA[GenePool object or null when not in pool]]></description> 5342 5342 </element> 5343 <element name="index" type="integer" >5343 <element name="index" type="integer" flags="35"> 5344 5344 <description><![CDATA[-1 when not in pool. 5345 5345 Note that the index changes depending on the current genotype position in the pool. Use Genotype.uid if you need a permanent identifier that persists through the entire object lifetime.]]></description> … … 5352 5352 See also: Population.]]></description> 5353 5353 <element name="name" type="string"/> 5354 <element name="genotype" type="string" />5354 <element name="genotype" type="string" flags="1"/> 5355 5355 <element name="info" type="string"> 5356 5356 <description><![CDATA[Additional info or comments]]></description> 5357 5357 </element> 5358 <element name="group" type="untyped" deprecated="true" >5358 <element name="group" type="untyped" deprecated="true" flags="8227"> 5359 5359 <description><![CDATA[Deprecated. Use population instead.]]></description> 5360 5360 </element> 5361 <element name="population" type="untyped" />5362 <element name="index" type="integer" >5361 <element name="population" type="untyped" flags="35"/> 5362 <element name="index" type="integer" flags="35"> 5363 5363 <description><![CDATA[Note that the index changes depending on the current creature position in the population. Use Creature.uid if you need a permanent identifier that persists through the entire object lifetime.]]></description> 5364 5364 </element> 5365 5365 <element name="gnum" type="integer"/> 5366 <element name="buildproblems" type="integer" />5366 <element name="buildproblems" type="integer" flags="34"/> 5367 5367 <element name="energ0" type="float"/> 5368 5368 <element name="idleen" type="float"/> … … 5383 5383 <description><![CDATA[Enable/disable detection of self-collisions (within a creature body). They can only occur when using the ODE simulation engine. If enabled, the creature will have its sticks collide during lifespan.]]></description> 5384 5384 </element> 5385 <element name="selfcolstate" function="true" type="integer" >5385 <element name="selfcolstate" function="true" type="integer" flags="32"> 5386 5386 <description><![CDATA[Current self-collision state. In old versions this was a field, not a function.]]></description> 5387 5387 <arguments/></element> … … 5394 5394 <element name="vertpos" type="float"/> 5395 5395 <element name="vertvel" type="float"/> 5396 <element name="pos_x" type="float" >5396 <element name="pos_x" type="float" flags="3"> 5397 5397 <description><![CDATA[(pos_x,pos_y,pos_z) is the point of minimal coordinates ("bottom left corner") of the creature, including imaginary Part sizes (Part.s, usually 1.0). See also: Creature.moveAbs]]></description> 5398 5398 </element> 5399 <element name="pos_y" type="float" >5399 <element name="pos_y" type="float" flags="3"> 5400 5400 <description><![CDATA[See Creature.pos_x]]></description> 5401 5401 </element> 5402 <element name="pos_z" type="float" >5402 <element name="pos_z" type="float" flags="3"> 5403 5403 <description><![CDATA[See Creature.pos_x]]></description> 5404 5404 </element> 5405 <element name="size_x" type="float" >5405 <element name="size_x" type="float" flags="3"> 5406 5406 <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). 5407 5407 See also: Creature.moveAbs]]></description> 5408 5408 </element> 5409 <element name="size_y" type="float" >5409 <element name="size_y" type="float" flags="3"> 5410 5410 <description><![CDATA[See Creature.size_x]]></description> 5411 5411 </element> 5412 <element name="size_z" type="float" >5412 <element name="size_z" type="float" flags="3"> 5413 5413 <description><![CDATA[See Creature.size_x]]></description> 5414 5414 </element> 5415 <element name="center_x" type="float" >5415 <element name="center_x" type="float" flags="1"> 5416 5416 <description><![CDATA[Center of gravity]]></description> 5417 5417 </element> 5418 <element name="center_y" type="float" >5418 <element name="center_y" type="float" flags="1"> 5419 5419 <description><![CDATA[Center of gravity]]></description> 5420 5420 </element> 5421 <element name="center_z" type="float" >5421 <element name="center_z" type="float" flags="1"> 5422 5422 <description><![CDATA[Center of gravity]]></description> 5423 5423 </element> 5424 <element name="numparts" type="integer" />5425 <element name="numjoints" type="integer" />5426 <element name="numneurons" type="integer" />5424 <element name="numparts" type="integer" flags="3"/> 5425 <element name="numjoints" type="integer" flags="3"/> 5426 <element name="numneurons" type="integer" flags="3"/> 5427 5427 <element name="user1" type="untyped"/> 5428 5428 <element name="user2" type="untyped"/> 5429 5429 <element name="user3" type="untyped"/> 5430 <element name="move" function="true" type="void" >5430 <element name="move" function="true" type="void" flags="32"> 5431 5431 <description><![CDATA[Shift the creature by a given vector.]]></description> 5432 5432 <arguments> … … 5436 5436 </arguments> 5437 5437 </element> 5438 <element name="moveAbs" function="true" type="void" >5438 <element name="moveAbs" function="true" type="void" flags="32"> 5439 5439 <description><![CDATA[Moves the creature so that its origin (pos_x,pos_y,pos_z) is placed at the given location. The origin is the point of minimal coordinates ("bottom left corner"), including imaginary part sizes (Part.s, usually 1.0). 5440 5440 Assuming a simple single-stick creature "X" having parts at (0,0,0) and (1,0,0), … … 5452 5452 </arguments> 5453 5453 </element> 5454 <element name="moveLocal" function="true" type="void" >5454 <element name="moveLocal" function="true" type="void" flags="32"> 5455 5455 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> 5456 5456 <arguments> … … 5460 5460 </arguments> 5461 5461 </element> 5462 <element name="localToWorld" function="true" type="XYZ" >5462 <element name="localToWorld" function="true" type="XYZ" flags="32"> 5463 5463 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> 5464 5464 <arguments> … … 5468 5468 </arguments> 5469 5469 </element> 5470 <element name="worldToLocal" function="true" type="XYZ" >5470 <element name="worldToLocal" function="true" type="XYZ" flags="32"> 5471 5471 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> 5472 5472 <arguments> … … 5476 5476 </arguments> 5477 5477 </element> 5478 <element name="orient" type="Orient" >5478 <element name="orient" type="Orient" flags="33"> 5479 5479 <description><![CDATA[By convention, the orientation of the creature is equal to the orientation of its first Part]]></description> 5480 5480 </element> 5481 <element name="rotate" function="true" type="void" >5481 <element name="rotate" function="true" type="void" flags="32"> 5482 5482 <description><![CDATA[Rotate the creature around 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> 5483 5483 <arguments> … … 5487 5487 </arguments> 5488 5488 </element> 5489 <element name="rotateLocal" function="true" type="void" >5489 <element name="rotateLocal" function="true" type="void" flags="32"> 5490 5490 <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> 5491 5491 <arguments> … … 5495 5495 </arguments> 5496 5496 </element> 5497 <element name="drive" type="XYZ" >5497 <element name="drive" type="XYZ" flags="34"> 5498 5498 <description><![CDATA[Measured in global coordinates]]></description> 5499 5499 </element> 5500 <element name="localDrive" type="XYZ" >5500 <element name="localDrive" type="XYZ" flags="34"> 5501 5501 <description><![CDATA[Measured in local coordinates, that is, with respect to the current orientation of the creature. 5502 5502 See also: Creature.orient]]></description> 5503 5503 </element> 5504 <element name="getPart" function="true" type="Part" >5504 <element name="getPart" function="true" type="Part" flags="32"> 5505 5505 <arguments> 5506 5506 <argument name="index" type="integer"/> 5507 5507 </arguments> 5508 5508 </element> 5509 <element name="getJoint" function="true" type="Joint" >5509 <element name="getJoint" function="true" type="Joint" flags="32"> 5510 5510 <arguments> 5511 5511 <argument name="index" type="integer"/> 5512 5512 </arguments> 5513 5513 </element> 5514 <element name="getNeuroDef" function="true" type="NeuroDef" >5514 <element name="getNeuroDef" function="true" type="NeuroDef" flags="32"> 5515 5515 <arguments> 5516 5516 <argument name="index" type="integer"/> 5517 5517 </arguments> 5518 5518 </element> 5519 <element name="getMechPart" function="true" type="MechPart" >5519 <element name="getMechPart" function="true" type="MechPart" flags="32"> 5520 5520 <arguments> 5521 5521 <argument name="index" type="integer"/> 5522 5522 </arguments> 5523 5523 </element> 5524 <element name="getMechJoint" function="true" type="MechJoint" >5524 <element name="getMechJoint" function="true" type="MechJoint" flags="32"> 5525 5525 <arguments> 5526 5526 <argument name="index" type="integer"/> 5527 5527 </arguments> 5528 5528 </element> 5529 <element name="getNeuro" function="true" type="Neuro" >5529 <element name="getNeuro" function="true" type="Neuro" flags="32"> 5530 5530 <arguments> 5531 5531 <argument name="index" type="integer"/> 5532 5532 </arguments> 5533 5533 </element> 5534 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" />5535 <element name="othermask" type="integer" min="0" max="2147483647" default="0" />5536 <element name="currentGeometryAsF0" function="true" type="string" ><arguments/></element>5537 <element name="geno" type="Geno" >5534 <element name="selfmask" type="integer" min="0" max="2147483647" default="0" flags="32"/> 5535 <element name="othermask" type="integer" min="0" max="2147483647" default="0" flags="32"/> 5536 <element name="currentGeometryAsF0" function="true" type="string" flags="32"><arguments/></element> 5537 <element name="geno" type="Geno" flags="35"> 5538 5538 <description><![CDATA[Source genotype for this creature]]></description> 5539 5539 </element> 5540 <element name="model" type="Model" >5540 <element name="model" type="Model" flags="35"> 5541 5541 <description><![CDATA[Source Model for this creature]]></description> 5542 5542 </element> 5543 <element name="liveModel" type="Model" >5543 <element name="liveModel" type="Model" flags="35"> 5544 5544 <description><![CDATA[A Model object that is a copy of the current (temporary) geometry of this creature]]></description> 5545 5545 </element> 5546 <element name="uid" type="string" />5547 <element name="signals" type="CreatureSignals" />5548 <element name="boundingBoxCollisions" function="true" type="integer" >5546 <element name="uid" type="string" flags="33"/> 5547 <element name="signals" type="CreatureSignals" flags="35"/> 5548 <element name="boundingBoxCollisions" function="true" type="integer" flags="34"> 5549 5549 <description><![CDATA[Checks approximate collisions for the selected creature. 5550 5550 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ). … … 5579 5579 <description><![CDATA[Scene graph access (build and manipulate the 3d object tree)]]></description> 5580 5580 <element name="code" type="string"/> 5581 <element name="currentNode" type="SSGNode" />5582 <element name="rootNode" type="SSGNode" />5583 <element name="updatingNode" type="SSGNode" />5584 <element name="defaultStyle" type="string" />5585 <element name="matrix00" type="float" />5586 <element name="matrix01" type="float" />5587 <element name="matrix02" type="float" />5588 <element name="matrix03" type="float" />5589 <element name="matrix10" type="float" />5590 <element name="matrix11" type="float" />5591 <element name="matrix12" type="float" />5592 <element name="matrix13" type="float" />5593 <element name="matrix20" type="float" />5594 <element name="matrix21" type="float" />5595 <element name="matrix22" type="float" />5596 <element name="matrix23" type="float" />5597 <element name="matrix30" type="float" />5598 <element name="matrix31" type="float" />5599 <element name="matrix32" type="float" />5600 <element name="matrix33" type="float" />5601 <element name="addTransform" function="true" >5581 <element name="currentNode" type="SSGNode" flags="34"/> 5582 <element name="rootNode" type="SSGNode" flags="34"/> 5583 <element name="updatingNode" type="SSGNode" flags="34"/> 5584 <element name="defaultStyle" type="string" flags="2"/> 5585 <element name="matrix00" type="float" flags="34"/> 5586 <element name="matrix01" type="float" flags="34"/> 5587 <element name="matrix02" type="float" flags="34"/> 5588 <element name="matrix03" type="float" flags="34"/> 5589 <element name="matrix10" type="float" flags="34"/> 5590 <element name="matrix11" type="float" flags="34"/> 5591 <element name="matrix12" type="float" flags="34"/> 5592 <element name="matrix13" type="float" flags="34"/> 5593 <element name="matrix20" type="float" flags="34"/> 5594 <element name="matrix21" type="float" flags="34"/> 5595 <element name="matrix22" type="float" flags="34"/> 5596 <element name="matrix23" type="float" flags="34"/> 5597 <element name="matrix30" type="float" flags="34"/> 5598 <element name="matrix31" type="float" flags="34"/> 5599 <element name="matrix32" type="float" flags="34"/> 5600 <element name="matrix33" type="float" flags="34"/> 5601 <element name="addTransform" function="true" flags="32"> 5602 5602 <description><![CDATA[create the transform node as a child of the current node and make it the new current node.]]></description> 5603 5603 </element> 5604 <element name="addBranch" function="true" >5604 <element name="addBranch" function="true" flags="32"> 5605 5605 <description><![CDATA[create the branch node as a child of the current node and make it the new current node]]></description> 5606 5606 </element> 5607 <element name="add" function="true" type="void" >5607 <element name="add" function="true" type="void" flags="32"> 5608 5608 <description><![CDATA[add a child node to the current node]]></description> 5609 5609 <arguments> … … 5611 5611 </arguments> 5612 5612 </element> 5613 <element name="matrixReset" function="true" />5614 <element name="matrixMove" function="true" type="void" >5613 <element name="matrixReset" function="true" flags="32"/> 5614 <element name="matrixMove" function="true" type="void" flags="32"> 5615 5615 <arguments> 5616 5616 <argument name="x" type="float"/> … … 5619 5619 </arguments> 5620 5620 </element> 5621 <element name="matrixScale" function="true" type="void" >5621 <element name="matrixScale" function="true" type="void" flags="32"> 5622 5622 <arguments> 5623 5623 <argument name="x" type="float"/> … … 5626 5626 </arguments> 5627 5627 </element> 5628 <element name="matrixOrient" function="true" type="void" >5628 <element name="matrixOrient" function="true" type="void" flags="32"> 5629 5629 <arguments> 5630 5630 <argument name="x" type="float"/> … … 5633 5633 </arguments> 5634 5634 </element> 5635 <element name="matrixRotate" function="true" type="void" >5635 <element name="matrixRotate" function="true" type="void" flags="32"> 5636 5636 <arguments> 5637 5637 <argument name="x" type="float"/> … … 5640 5640 </arguments> 5641 5641 </element> 5642 <element name="matrixRotate1" function="true" type="void" >5642 <element name="matrixRotate1" function="true" type="void" flags="32"> 5643 5643 <arguments> 5644 5644 <argument name="xyz" type="integer"/> 5645 5645 </arguments> 5646 5646 </element> 5647 <element name="matrixMove1" function="true" type="void" >5647 <element name="matrixMove1" function="true" type="void" flags="32"> 5648 5648 <description><![CDATA[MechPart.pos can be used here]]></description> 5649 5649 <arguments> … … 5651 5651 </arguments> 5652 5652 </element> 5653 <element name="matrixOrient1" function="true" type="void" >5653 <element name="matrixOrient1" function="true" type="void" flags="32"> 5654 5654 <description><![CDATA[MechPart.orient can be used here]]></description> 5655 5655 <arguments> … … 5657 5657 </arguments> 5658 5658 </element> 5659 <element name="setMatrix" function="true" type="void" >5659 <element name="setMatrix" function="true" type="void" flags="32"> 5660 5660 <description><![CDATA[copy current matrix into specified node]]></description> 5661 5661 <arguments> … … 5663 5663 </arguments> 5664 5664 </element> 5665 <element name="getBranch" function="true" type="integer" >5665 <element name="getBranch" function="true" type="integer" flags="32"> 5666 5666 <arguments> 5667 5667 <argument name="branch node" type="SSGNode"/> … … 5669 5669 </arguments> 5670 5670 </element> 5671 <element name="dump" function="true" type="void" >5671 <element name="dump" function="true" type="void" flags="32"> 5672 5672 <arguments> 5673 5673 <argument name="node" type="SSGNode"/> … … 5678 5678 <type name="GL" context="Visual style definition"> 5679 5679 <description><![CDATA[OpenGL constants used in GeomBuilder and Material functions.]]></description> 5680 <element name="POINTS" type="integer" />5681 <element name="LINES" type="integer" />5682 <element name="LINE_LOOP" type="integer" />5683 <element name="LINE_STRIP" type="integer" />5684 <element name="TRIANGLES" type="integer" />5685 <element name="TRIANGLE_STRIP" type="integer" />5686 <element name="TRIANGLE_FAN" type="integer" />5687 <element name="QUADS" type="integer" />5688 <element name="QUAD_STRIP" type="integer" />5689 <element name="TEXTURE_2D" type="integer" />5690 <element name="CULL_FACE" type="integer" />5691 <element name="COLOR_MATERIAL" type="integer" />5692 <element name="BLEND" type="integer" />5693 <element name="ALPHA_TEST" type="integer" />5694 <element name="LIGHTING" type="integer" />5695 <element name="AMBIENT" type="integer" />5696 <element name="DIFFUSE" type="integer" />5697 <element name="AMBIENT_AND_DIFFUSE" type="integer" />5698 <element name="SPECULAR" type="integer" />5699 <element name="EMISSION" type="integer" />5680 <element name="POINTS" type="integer" flags="513"/> 5681 <element name="LINES" type="integer" flags="513"/> 5682 <element name="LINE_LOOP" type="integer" flags="513"/> 5683 <element name="LINE_STRIP" type="integer" flags="513"/> 5684 <element name="TRIANGLES" type="integer" flags="513"/> 5685 <element name="TRIANGLE_STRIP" type="integer" flags="513"/> 5686 <element name="TRIANGLE_FAN" type="integer" flags="513"/> 5687 <element name="QUADS" type="integer" flags="513"/> 5688 <element name="QUAD_STRIP" type="integer" flags="513"/> 5689 <element name="TEXTURE_2D" type="integer" flags="513"/> 5690 <element name="CULL_FACE" type="integer" flags="513"/> 5691 <element name="COLOR_MATERIAL" type="integer" flags="513"/> 5692 <element name="BLEND" type="integer" flags="513"/> 5693 <element name="ALPHA_TEST" type="integer" flags="513"/> 5694 <element name="LIGHTING" type="integer" flags="513"/> 5695 <element name="AMBIENT" type="integer" flags="513"/> 5696 <element name="DIFFUSE" type="integer" flags="513"/> 5697 <element name="AMBIENT_AND_DIFFUSE" type="integer" flags="513"/> 5698 <element name="SPECULAR" type="integer" flags="513"/> 5699 <element name="EMISSION" type="integer" flags="513"/> 5700 5700 </type> 5701 5701 <type name="j" context="Visual style definition"> 5702 <element name="p1" type="integer" min="-1" max="999999" default="-1" />5703 <element name="p2" type="integer" min="-1" max="999999" default="-1" />5702 <element name="p1" type="integer" min="-1" max="999999" default="-1" flags="1024"/> 5703 <element name="p2" type="integer" min="-1" max="999999" default="-1" flags="1024"/> 5704 5704 <element name="rx" type="float"/> 5705 <element name="ry" type="float" />5706 <element name="rz" type="float" />5705 <element name="ry" type="float" flags="1024"/> 5706 <element name="rz" type="float" flags="1024"/> 5707 5707 <element name="dx" type="float" min="-2" max="2" default="0.0"/> 5708 <element name="dy" type="float" min="-2" max="2" default="0.0" />5709 <element name="dz" type="float" min="-2" max="2" default="0.0" />5708 <element name="dy" type="float" min="-2" max="2" default="0.0" flags="1024"/> 5709 <element name="dz" type="float" min="-2" max="2" default="0.0" flags="1024"/> 5710 5710 <element name="sh" type="integer" min="0" max="1" default="0"/> 5711 5711 <element name="stif" type="float" min="0" max="1" default="1.0"/> … … 5715 5715 <element name="Vstyle" type="string"/> 5716 5716 <element name="vr" type="float" min="0" max="1" default="0.5"/> 5717 <element name="vg" type="float" min="0" max="1" default="0.5" />5718 <element name="vb" type="float" min="0" max="1" default="0.5" />5717 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> 5718 <element name="vb" type="float" min="0" max="1" default="0.5" flags="1024"/> 5719 5719 </type> 5720 5720 <type name="Loader" context="Visual style definition"> … … 5725 5725 </type> 5726 5726 <type name="m" context="Visual style definition"> 5727 <element name="se" type="float" />5727 <element name="se" type="float" flags="1024"/> 5728 5728 <element name="Vstyle" type="string"/> 5729 5729 </type> … … 5745 5745 <element name="dontcare" function="true"/> 5746 5746 <element name="texture" type="string"/> 5747 <element name="object" type="Object" />5747 <element name="object" type="Object" flags="1"/> 5748 5748 </type> 5749 5749 <type name="MechJoint" context="Visual style definition"> … … 5755 5755 <element name="dy" type="float"/> 5756 5756 <element name="dz" type="float"/> 5757 <element name="orient" type="Orient" />5758 <element name="absorient" type="Orient" />5759 <element name="calcorient" type="Orient" />5760 <element name="length" type="float" />5757 <element name="orient" type="Orient" flags="1"/> 5758 <element name="absorient" type="Orient" flags="1"/> 5759 <element name="calcorient" type="Orient" flags="1"/> 5760 <element name="length" type="float" flags="1"/> 5761 5761 <element name="stif" type="float"/> 5762 5762 <element name="rotstif" type="float"/> 5763 <element name="stress" type="float" />5764 <element name="rotstress" type="float" />5763 <element name="stress" type="float" flags="1"/> 5764 <element name="rotstress" type="float" flags="1"/> 5765 5765 </type> 5766 5766 <type name="MechPart" context="Visual style definition"> … … 5769 5769 <element name="y" type="float"/> 5770 5770 <element name="z" type="float"/> 5771 <element name="pos" type="XYZ" />5772 <element name="orient" type="Orient" />5771 <element name="pos" type="XYZ" flags="1"/> 5772 <element name="orient" type="Orient" flags="1"/> 5773 5773 <element name="m" type="float"/> 5774 5774 <element name="s" type="float"/> … … 5782 5782 <element name="i" type="string"/> 5783 5783 <element name="Vstyle" type="string"/> 5784 <element name="getInputCount" type="integer" />5785 <element name="getInputNeuroDef" function="true" type="NeuroDef" >5784 <element name="getInputCount" type="integer" flags="3"/> 5785 <element name="getInputNeuroDef" function="true" type="NeuroDef" flags="3"> 5786 5786 <arguments> 5787 5787 <argument type="integer"/> 5788 5788 </arguments> 5789 5789 </element> 5790 <element name="getInputNeuroIndex" function="true" type="integer" >5790 <element name="getInputNeuroIndex" function="true" type="integer" flags="3"> 5791 5791 <arguments> 5792 5792 <argument type="integer"/> 5793 5793 </arguments> 5794 5794 </element> 5795 <element name="getInputWeight" function="true" type="float" >5795 <element name="getInputWeight" function="true" type="float" flags="3"> 5796 5796 <arguments> 5797 5797 <argument type="integer"/> 5798 5798 </arguments> 5799 5799 </element> 5800 <element name="classObject" type="NeuroClass" />5800 <element name="classObject" type="NeuroClass" flags="3"/> 5801 5801 <element name="class" type="string"/> 5802 5802 <element name="state" type="float"/> 5803 5803 </type> 5804 5804 <type name="p" context="Visual style definition"> 5805 <element name="x" type="float" />5806 <element name="y" type="float" />5807 <element name="z" type="float" />5805 <element name="x" type="float" flags="1024"/> 5806 <element name="y" type="float" flags="1024"/> 5807 <element name="z" type="float" flags="1024"/> 5808 5808 <element name="m" type="float" min="0.1" max="999" default="1.0"/> 5809 5809 <element name="sh" type="integer" min="0" max="3" default="0"/> … … 5818 5818 <element name="as" type="float" min="0" max="1" default="0.25"/> 5819 5819 <element name="rx" type="float"/> 5820 <element name="ry" type="float" />5821 <element name="rz" type="float" />5820 <element name="ry" type="float" flags="1024"/> 5821 <element name="rz" type="float" flags="1024"/> 5822 5822 <element name="i" type="string"/> 5823 5823 <element name="Vstyle" type="string"/> 5824 5824 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/> 5825 5825 <element name="vr" type="float" min="0" max="1" default="0.5"/> 5826 <element name="vg" type="float" min="0" max="1" default="0.5" />5827 <element name="vb" type="float" min="0" max="1" default="0.5" />5826 <element name="vg" type="float" min="0" max="1" default="0.5" flags="1024"/> 5827 <element name="vb" type="float" min="0" max="1" default="0.5" flags="1024"/> 5828 5828 </type> 5829 5829 <type name="Scene" context="Visual style definition"> … … 5862 5862 <element name="genTexCoordsXZ" function="true"/> 5863 5863 <element name="genTexCoords" function="true"/> 5864 <element name="node" type="SSGNode" >5864 <element name="node" type="SSGNode" flags="1"> 5865 5865 <description><![CDATA[This field returns the geometry node for use in GeomBuilder. You have to set all relevant geometry properties before using this field. The usual sequence: 5866 5866 1. newXXX - selects the geometry type (see your OpenGL manual for explanation) … … 5872 5872 </type> 5873 5873 <type name="VisParams" context="Visual style definition"> 5874 <element name="clear" function="true" />5875 <element name="add" function="true" />5876 <element name="remove" function="true" />5877 <element name="addGroup" function="true" />5878 <element name="removeGroup" function="true" />5879 <element name="changedProperty" type="integer" />5880 <element name="changedPropertyId" type="string" />5881 <element name="worldpan" type="integer" min="0" max="3" default="2" >5882 <description><![CDATA[]]></description> 5883 </element> 5884 <element name="modelpan" type="integer" min="0" max="3" default="1" >5885 <description><![CDATA[]]></description> 5886 </element> 5887 <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040" >5888 <description><![CDATA[]]></description> 5889 </element> 5890 <element name="bbox" type="integer" min="0" max="1" default="1" >5891 <description><![CDATA[]]></description> 5892 </element> 5893 <element name="joint_width" type="integer" min="10" max="150" default="100" >5894 <description><![CDATA[]]></description> 5895 </element> 5896 <element name="shadows" type="integer" min="0" max="1" default="1" >5897 <description><![CDATA[]]></description> 5898 </element> 5899 <element name="axes" type="integer" min="0" max="1" default="0" >5900 <description><![CDATA[]]></description> 5901 </element> 5902 <element name="shownames" type="integer" min="0" max="1" default="0" >5903 <description><![CDATA[]]></description> 5904 </element> 5905 <element name="symmetryplane" type="integer" min="0" max="1" default="0" >5874 <element name="clear" function="true" flags="34"/> 5875 <element name="add" function="true" flags="34"/> 5876 <element name="remove" function="true" flags="34"/> 5877 <element name="addGroup" function="true" flags="34"/> 5878 <element name="removeGroup" function="true" flags="34"/> 5879 <element name="changedProperty" type="integer" flags="35"/> 5880 <element name="changedPropertyId" type="string" flags="35"/> 5881 <element name="worldpan" type="integer" min="0" max="3" default="2" flags="192"> 5882 <description><![CDATA[]]></description> 5883 </element> 5884 <element name="modelpan" type="integer" min="0" max="3" default="1" flags="192"> 5885 <description><![CDATA[]]></description> 5886 </element> 5887 <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040" flags="192"> 5888 <description><![CDATA[]]></description> 5889 </element> 5890 <element name="bbox" type="integer" min="0" max="1" default="1" flags="192"> 5891 <description><![CDATA[]]></description> 5892 </element> 5893 <element name="joint_width" type="integer" min="10" max="150" default="100" flags="192"> 5894 <description><![CDATA[]]></description> 5895 </element> 5896 <element name="shadows" type="integer" min="0" max="1" default="1" flags="192"> 5897 <description><![CDATA[]]></description> 5898 </element> 5899 <element name="axes" type="integer" min="0" max="1" default="0" flags="192"> 5900 <description><![CDATA[]]></description> 5901 </element> 5902 <element name="shownames" type="integer" min="0" max="1" default="0" flags="192"> 5903 <description><![CDATA[]]></description> 5904 </element> 5905 <element name="symmetryplane" type="integer" min="0" max="1" default="0" flags="192"> 5906 5906 <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies). 5907 5907 Use scripting and the Symmetry class to compute symmetry accurately.]]></description> … … 5910 5910 <type name="VisualModel" context="Visual style definition"> 5911 5911 <description><![CDATA[Visual representation of the Creature object.]]></description> 5912 <element name="rootNode" type="SSGNode" />5913 <element name="partshadow" type="float" />5914 <element name="jointshadow" type="float" />5915 <element name="style" type="string" >5912 <element name="rootNode" type="SSGNode" flags="34"/> 5913 <element name="partshadow" type="float" flags="34"/> 5914 <element name="jointshadow" type="float" flags="34"/> 5915 <element name="style" type="string" flags="34"> 5916 5916 <description><![CDATA[visual style applied to this object]]></description> 5917 5917 </element> 5918 <element name