Changeset 108
- Timestamp:
- 10/05/13 06:34:50 (11 years ago)
- Location:
- java/FramclipsePlugin/src/main/resources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
java/FramclipsePlugin/src/main/resources/framscript.dtd
r13 r108 22 22 <!ATTLIST element max CDATA #IMPLIED> 23 23 <!ATTLIST element function (false|true) "false"> 24 <!ATTLIST element deprecated (false|true) "false"> 24 25 <!ATTLIST element default CDATA #IMPLIED> 25 26 -
java/FramclipsePlugin/src/main/resources/framscript.xml
r63 r108 45 45 <element name="mode" type="integer" min="0" max="2"/> 46 46 <element name="name" type="string"/> 47 <element name="prev_show" type="string"/> 47 48 <element name="regname" type="string"/> 48 49 <element name="show" type="string"/> 49 50 <element name="showlog" type="integer" min="0" max="1"/> 50 <element name="switchmode" type="integer" min="0" max=" 2"/>51 <element name="switchmode" type="integer" min="0" max="3"/> 51 52 <element name="switchshows" type="string"> 52 53 <description><![CDATA[names of the shows participating in automatic switching (comma separated). Use * as a wildcard.]]></description> … … 79 80 <element name="name" type="string"/> 80 81 </type> 82 <type name="CheckpointEvent" context="Global context"> 83 <description><![CDATA[CheckpointEvent]]></description> 84 <element name="data" type="untyped"/> 85 <element name="index" type="integer"/> 86 <element name="slave" type="Simulator"/> 87 <element name="ticks" type="integer"/> 88 </type> 81 89 <type name="Collision" context="Global context"> 82 90 <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> … … 94 102 </type> 95 103 <type name="Creature" context="Global context"> 96 <description><![CDATA[The object inside the simulated world, including its physical structure, neural network and performance data. Food pieces, obstacles and other movable objects can be implemented as Creatures even though the are not "alive". See also: Population.]]></description> 104 <description><![CDATA[The object inside the simulated world, including its physical structure, neural network and performance data. Food pieces, obstacles and other movable objects can be implemented as Creatures even though the are not "alive". 105 Before version 4.0rc4 the static Creature object was used in event handlers and in functions operating on the "selected" creature. This is now deprecated as all operations can be performed using the more convenient direct access (see GenePools). For event handlers, the creature object will be passed as argument, like this: 106 function onDied(cr) {Simulator.print("Creature "+cr.name+" has died");} 107 See also: Population.]]></description> 97 108 <element name="bodysim" type="integer" min="0" max="1" default="1"> 98 109 <description><![CDATA[(Physical) body simulation can be disabled for individual objects which makes them immovable. Disabled objects can still participate in collisions depending on their collisions masks. … … 127 138 <element name="genotype" type="string"/> 128 139 <element name="gnum" type="integer"/> 129 <element name="group" type="untyped"/> 140 <element name="group" type="untyped" deprecated="true"> 141 <description><![CDATA[Deprecated. Use population instead.]]></description> 142 </element> 130 143 <element name="idleen" type="float"/> 131 144 <element name="index" type="integer"> 132 <description><![CDATA[ Index of this Creature in its Population.]]></description>145 <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> 133 146 </element> 134 147 <element name="info" type="string"> … … 158 171 <description><![CDATA[Initial value of this property is taken from Population.enableperf]]></description> 159 172 </element> 173 <element name="population" type="untyped"/> 160 174 <element name="pos_x" type="float"> 161 175 <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> … … 169 183 <element name="selfcol" type="integer" min="0" max="1"> 170 184 <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> 171 </element>172 <element name="selfcolstate" type="integer" min="0" max="1">173 <description><![CDATA[Current self-collision state]]></description>174 185 </element> 175 186 <element name="selfmask" type="integer" min="0" max="2147483647" default="0"/> … … 192 203 <element name="vertpos" type="float"/> 193 204 <element name="vertvel" type="float"/> 205 <element name="boundingBoxCollisions" function="true" type="integer"> 206 <description><![CDATA[Checks approximate collisions for the selected creature. 207 Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0).]]></description> 208 <arguments> 209 <argument name="mask" type="integer"/> 210 </arguments> 211 </element> 194 212 <element name="currentGeometryAsF0" function="true" type="string"><arguments/></element> 195 213 <element name="getJoint" function="true" type="Joint"> … … 279 297 </arguments> 280 298 </element> 299 <element name="selfcolstate" function="true" type="integer"> 300 <description><![CDATA[Current self-collision state. In old versions this was a field, not a function.]]></description> 301 <arguments/></element> 281 302 <element name="worldToLocal" function="true" type="XYZ"> 282 303 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> … … 290 311 <type name="CreatureSettings" context="Global context"> 291 312 <description><![CDATA[Creature building parameters]]></description> 292 <element name="bnoise_struct" type="float" min="0" max="10" default="0 ">313 <element name="bnoise_struct" type="float" min="0" max="10" default="0.0"> 293 314 <description><![CDATA[When >0, body constructs of creatures (position of Parts) will be randomly disturbed when they are created.]]></description> 294 315 </element> 295 <element name="bnoise_vel" type="float" min="0" max="10" default="0 ">316 <element name="bnoise_vel" type="float" min="0" max="10" default="0.0"> 296 317 <description><![CDATA[Random velocities will be applied to all body Parts (in MechaStick) or rigid segments (in ODE) of newly created creatures.]]></description> 297 318 </element> 298 <element name="maxjoint" type="float" min="0" max="100" default="2"/> 299 <element name="minjoint" type="float" min="0" max="100" default="0"/> 319 <element name="maxjoint" type="float" min="0" max="100" default="2.0"/> 320 <element name="minjoint" type="float" min="0" max="100" default="0.0"/> 321 <element name="nnoise" type="float" min="0" max="1" default="0.0"> 322 <description><![CDATA[Gaussian neural noise: a random value is added to each neural output in each simulation step. Set standard deviation here to add random noise, or 0 for deterministic simulation.]]></description> 323 </element> 300 324 <element name="randinit" type="float" min="0" max="10" default="0.01"> 301 <description><![CDATA[Allowed range for initializing all neuron states with uniform distribution random numbers and zero mean. Set 0 for deterministic initialization.]]></description> 302 </element> 303 <element name="touchrange" type="float" min="0" max="100" default="1"/> 304 </type> 305 <type name="CreaturesGroup" context="Global context"> 306 <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> 307 <element name="bodysim" type="integer" min="0" max="1" default="1"> 308 <description><![CDATA[Enable/disable physical body simulation. This is the initial value of Creature.bodysim for all objects created in this group. For details, see the documentation of Creature.bodysim.]]></description> 309 </element> 310 <element name="colmask" type="integer" min="0" max="65535" default="0"> 311 <description><![CDATA[DEPRECATED. You should use selfmask and othermask (these masks are also much easier to understand than the old colmask field).]]></description> 312 </element> 313 <element name="death" type="integer" min="0" max="1" default="1"> 314 <description><![CDATA[Do creatures die when no energy?]]></description> 315 </element> 316 <element name="em_dyn" type="float" min="0" max="1" default="0"> 317 <description><![CDATA[Energy requirements for a muscle 318 moving a stick]]></description> 319 </element> 320 <element name="em_stat" type="float" min="0" max="1" default="0"> 321 <description><![CDATA[Energy requirements for a muscle 322 resisting an external force]]></description> 323 </element> 324 <element name="en_assim" type="float" min="0" max="1" default="0"> 325 <description><![CDATA[Maximal energy gain produced by a vertical specialized stick. 326 Horizontal specialized sticks get half of this value.]]></description> 327 </element> 328 <element name="enableperf" type="integer" min="0" max="2" default="1"> 329 <description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description> 330 </element> 331 <element name="energy" type="integer" min="0" max="1" default="1"> 332 <description><![CDATA[If turned off, creature's energy will be constant.]]></description> 333 </element> 334 <element name="index" type="integer"/> 335 <element name="killnostable" type="integer" min="0" max="10000000" default="1000000"> 336 <description><![CDATA[Creatures that fail to stabilize after the specified waiting period (e.g. because they are continuously rolling) will be killed. 0 disables this feature.]]></description> 337 </element> 338 <element name="name" type="string"/> 339 <element name="nnsim" type="integer" min="0" max="2" default="1"> 340 <description><![CDATA[Stabilization means no significant movement during a specified period of time.]]></description> 341 </element> 342 <element name="othermask" type="integer" min="0" max="2147483647" default="0"> 343 <description><![CDATA[See selfmask.]]></description> 344 </element> 345 <element name="perfperiod" type="integer" min="0" max="1000000" default="100"> 346 <description><![CDATA[Defines how often onUpdate() events are called. Also used to compute partial performance of creatures (distance, speed, etc.) and to determine stabilization.]]></description> 347 </element> 348 <element name="selfcol" type="integer" min="0" max="1" default="0"> 349 <description><![CDATA[Detect collisions within creature bodies (only applicable for the ODE simulation engine). This is the initial value of Creature.selfcol for all objects created in this group. If enabled, creatures with self-colliding genotypes are not born, and others will have their sticks collide during lifespan.]]></description> 350 </element> 351 <element name="selfmask" type="integer" min="0" max="2147483647" default="0"> 352 <description><![CDATA[Collisions between objects can be handled in two ways: 353 - standard 'mechanical' collision (simple 'rebound' effect) 354 - special script handler (On[GROUPNAME]Collision function) 355 356 In the script handler function, use the Collision object to access the two colliding parts of two creatures. 357 The first part in the Collision object (i.e. Collision.Creature1) always concerns the creature that belongs to [GROUPNAME]. 358 The handler is called once for each creature that collides with the creature from [GROUPNAME]. 359 360 Collision masks determine which one will be used (none and both are also possible). On each collision, selfmask and othermask of the colliding objects are logically ANDed. 16 lower bits (0xffff) enable the standard handler. 16 higher bits (0xffff0000) enable the custom handler. 361 Examples: 362 363 1.With one group, all possible combinations of the collision handlers are as follows: 364 - ignore collisions (e.g. selfmask=othermask=0) 365 - use standard handling (e.g. selfmask=othermask=1) 366 - use custom handling (e.g. selfmask=othermask=0x10000) 367 - use standard and custom handling (e.g. selfmask=othermask=0x10001) 368 369 2.Two groups yield more interesting cases. Let us consider the 'standard.expdef' setting: 370 Creatures: selfmask=0x10001, othermask=0x20001 371 Food colmask = selfmask=0x20002, othermask=0x10002 372 There are three possible scenarios: 373 - creature and creature: collision value = 0x10001 & 0x20001 = 1 -> Standard handling will be used (1 is one of the lower 16 bits) 374 - food and food: collision value = 0x20002 & 0x10002 = 2 -> As above. 375 - creature and food: collision value = (0x10001 & 0x10002) or (0x20002 & 0x20001) = 0x10000 or 0x20000 -> Custom handling will be used (higher 16 bits). 376 ]]></description> 377 </element> 325 <description><![CDATA[Allowed range for initializing all neuron states with uniform distribution random numbers and zero mean. Set to 0 for deterministic initialization.]]></description> 326 </element> 327 <element name="touchrange" type="float" min="0" max="100" default="1.0"/> 328 </type> 329 <type name="CreatureSignals" context="Global context"> 330 <description><![CDATA[Signal sources associated with a creature. See also: Signal, WorldSignals, NeuroSignals.]]></description> 378 331 <element name="size" type="integer"/> 379 <element name="stabilperiod" type="integer" min="0" max="1000000" default="100">380 <description><![CDATA["Performance sampling period" for the stabilization phase.]]></description>381 </element>382 <element name="stabledist" type="float" min="0" max="1" default="0.01">383 <description><![CDATA[A creature is considered stabilized when its center of gravity stays within the specified distance after the "Sampling period while waiting" has elapsed.]]></description>384 </element>385 <element name="createFromGeno" function="true" type="Creature">386 <description><![CDATA[Uses the supplied Geno object]]></description>387 <arguments>388 <argument type="Geno"/>389 </arguments>390 </element>391 <element name="createFromGenotype" function="true" type="Creature">392 <description><![CDATA[Uses the selected Genotype object]]></description>393 <arguments/></element>394 <element name="createFromString" function="true" type="Creature">395 <description><![CDATA[Uses the supplied string argument]]></description>396 <arguments>397 <argument name="genotype" type="string"/>398 </arguments>399 </element>400 <element name="delete" function="true" type="void">401 <description><![CDATA[delete creature]]></description>402 <arguments>403 <argument name="creature index" type="integer"/>404 </arguments>405 </element>406 <element name="findCreatureAt" function="true" type="Creature">407 <arguments>408 <argument name="point" type="Vector"/>409 <argument name="vector" type="Vector"/>410 </arguments>411 </element>412 <element name="findUID" function="true" type="integer">413 <arguments>414 <argument name="uid" type="string"/>415 </arguments>416 </element>417 <element name="get" function="true" type="Creature">418 <arguments>419 <argument name="index" type="integer"/>420 </arguments>421 </element>422 <element name="kill" function="true" type="void">423 <description><![CDATA[kill creature]]></description>424 <arguments>425 <argument name="creature index" type="integer"/>426 </arguments>427 </element>428 <element name="senseCreaturesProperty" function="true" type="float">429 <description><![CDATA[arguments:430 - x,y,z (sensor position)431 - property (name, name[index] or Class:id). name[index] can be used for Vector objects inside the user fields, eg "user2[10]"432 - exclude (creature object)433 works like a smell sensor for a given property (for all creatures in this group except "exclude").434 The following function reproduces the "classic" framsticks "S" sensor:435 function smellReceptorValue(x,y,z,exclude)436 {437 var i,s=0; for(i=0;i<Populations.size;i++)438 s+=Populations[0].senseCreaturesProperty(x,y,z,"energy",exclude);439 return s;440 }]]></description>441 <arguments>442 <argument name="x" type="float"/>443 <argument name="y" type="float"/>444 <argument name="z" type="float"/>445 <argument name="propertyname" type="string"/>446 <argument name="exclude" type="Creature"/>447 </arguments>448 </element>449 </type>450 <type name="CreatureSignals" context="Global context">451 <description><![CDATA[Signal sources associated with the creature. See also: Signal, WorldSignals, NeuroSignals]]></description>452 <element name="size" type="integer">453 <description><![CDATA[Number of signals in this set]]></description>454 </element>455 332 <element name="add" function="true" type="Signal"> 456 <description><![CDATA[Create a new signal]]></description>457 333 <arguments> 458 334 <argument name="channel" type="string"/> … … 462 338 <description><![CDATA[Create a signal that automatically reflects one of the creature's properties (i.e. its power is equal to the property value). 463 339 Example: 464 Creature.signals.addProperty("energy","energy"); //then, Neuro.signals.receive("energy") in custom neuron would work similarly to the built-in smell sensor]]></description>340 Creature.signals.addProperty("energy","energy"); //then, Neuro.signals.receive("energy") in a custom neuron would work similarly to a built-in smell sensor.]]></description> 465 341 <arguments> 466 342 <argument name="channel" type="string"/> … … 468 344 </arguments> 469 345 </element> 470 <element name="clear" function="true" type="void"> 471 <description><![CDATA[Delete all signals]]></description> 472 <arguments/></element> 346 <element name="clear" function="true" type="void"><arguments/></element> 473 347 <element name="get" function="true" type="Signal"> 474 <description><![CDATA[Access individual signals (index=0 .. size-1)]]></description>475 348 <arguments> 476 349 <argument name="index" type="integer"/> … … 488 361 Additional filtering options: 489 362 - Max distance only receives the neighbor signals (based on their physical location) 490 - Flavor filtering: only signals having the flavor close to the specified one will be received. The filter value is the maximum allowed difference.]]></description>363 - Flavor filtering: only signals having the flavor similar to the specified value will be received. The flavorfilter value is the difference of flavor that reduces the received signal to 0. The "flavor attenuation" is linear, i.e., signals differing by (filter/2) in flavor will be reduced to 50%.]]></description> 491 364 <arguments> 492 365 <argument name="channel" type="string"/> 493 366 <argument name="max distance" type="float"/> 494 367 <argument name="flavor" type="float"/> 495 <argument name="f ilter" type="float"/>368 <argument name="flavorfilter" type="float"/> 496 369 </arguments> 497 370 </element> 498 371 <element name="receiveSet" function="true" type="Vector"> 499 <description><![CDATA[Get all signals in the specified range. Returns a read only vector object containing Signal objects (individual signals can be accessed as result[0], .., result[result.size-1]).]]></description>372 <description><![CDATA[Get all signals in the specified range. Returns a read-only vector object containing Signal objects - individual signals can be accessed as result[0], .., result[result.size-1].]]></description> 500 373 <arguments> 501 374 <argument name="channel" type="string"/> … … 504 377 </element> 505 378 <element name="receiveSingle" function="true" type="Signal"> 506 <description><![CDATA[Find the signal source having the highest signal power (including the distance)]]></description>379 <description><![CDATA[Find the signal source that has the highest signal power (taking into account distance).]]></description> 507 380 <arguments> 508 381 <argument name="channel" type="string"/> … … 512 385 </type> 513 386 <type name="Dictionary" context="Global context"> 514 <description><![CDATA[Dictionary associates stored values with string keys ("key" is the first argument in get/set/remove functions). Integer "key" can be used to enumerate all elements. The sequence of elements is not preserved. 515 Example: var d=Dictionary.new(); d.set("name","John"); d.set("age",44); 516 var i,element; for(i=0;i<d.size;i++) CLI.println(d.getKey(i)+" is "+d.get(i));]]></description> 387 <description><![CDATA[Dictionary associates stored values with string keys ("key" is the first argument in get/set/remove functions). Integer "key" can be used to enumerate all elements (the sequence of elements is not preserved). 388 Example: 389 var d=Dictionary.new(); d.set("name","John"); d.set("age",44); 390 var i; 391 for(i=0;i<d.size;i++) Simulator.print(d.getKey(i)+" is "+d.get(i));]]></description> 517 392 <element name="size" type="integer"/> 518 393 <element name="toString" type="string"/> … … 531 406 <element name="getKey" function="true" type="string"> 532 407 <arguments> 533 <argument name="index" />408 <argument name="index" type="integer"/> 534 409 </arguments> 535 410 </element> … … 667 542 </type> 668 543 <type name="GenePool" context="Global context"> 669 <description><![CDATA[ The static GenePool object refers to the "selected group" as described in GenePools.]]></description>544 <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> 670 545 <element name="fitfun" type="integer" min="0" max="1" default="0"> 671 546 <description><![CDATA[Enables fitness scaling.]]></description> 672 547 </element> 673 <element name="fitm" type="float" min="0" max="10" default="2 ">548 <element name="fitm" type="float" min="0" max="10" default="2.0"> 674 549 <description><![CDATA[Lower threshold: how many standard deviations below average? 675 550 (avg - n * stddev) - used for fitness shifting]]></description> 676 551 </element> 677 <element name="fitma" type="float" min="1" max="10" default="2 ">552 <element name="fitma" type="float" min="1" max="10" default="2.0"> 678 553 <description><![CDATA[The best genotype is as many times 679 554 better than the average one.]]></description> … … 690 565 <description><![CDATA[Takes into account the Genotype.instances field (which may give the total number of instances depending on the experiment definition).]]></description> 691 566 </element> 692 <element name="addGeno" function="true" type="Genotype"> 567 <element name="add" function="true" type="Genotype"> 568 <description><![CDATA[Creates a new Genotype from the supplied Genotype, Geno or string. 569 Returns the created Genotype.]]></description> 570 <arguments> 571 <argument name="genotype object or geno object or string genotype" type="untyped"/> 572 </arguments> 573 </element> 574 <element name="addGeno" function="true" type="Genotype" deprecated="true"> 693 575 <description><![CDATA[Creates a new Genotype from the supplied Geno object. 694 Returns the created Genotype.]]></description> 576 Returns the created Genotype. 577 Deprecated. Use the more versatile add() instead of this function.]]></description> 695 578 <arguments> 696 579 <argument type="Geno"/> 580 </arguments> 581 </element> 582 <element name="clear" function="true" type="void"> 583 <description><![CDATA[Delete all genotypes. GenePools[group].clear() is equivalent to GenePools.clearGroup(group)]]></description> 584 <arguments/></element> 585 <element name="createFromGeno" function="true" type="Genotype" deprecated="true"> 586 <description><![CDATA[same as addGeno (to comply with createFrom... convention) 587 Deprecated. Use the more versatile add() instead of this function.]]></description> 588 <arguments> 589 <argument name="genotype" type="Geno"/> 590 </arguments> 591 </element> 592 <element name="createFromString" function="true" type="Genotype" deprecated="true"> 593 <description><![CDATA[Uses the supplied string argument 594 Deprecated. Use the more versatile add() instead of this function.]]></description> 595 <arguments> 596 <argument name="genotype" type="string"/> 697 597 </arguments> 698 598 </element> … … 700 600 <description><![CDATA[Deletes a genotype.]]></description> 701 601 <arguments> 702 <argument name="genotype index" type="integer"/> 703 </arguments> 704 </element> 705 <element name="findGeno" function="true" type="integer"> 602 <argument name="genotype object or index" type="untyped"/> 603 </arguments> 604 </element> 605 <element name="deleteOne" function="true" type="void"> 606 <description><![CDATA[Deletes one individual = decreases 'instances' and deletes the genotype if the 'instances' goes to 0.]]></description> 607 <arguments> 608 <argument name="genotype object or index" type="untyped"/> 609 </arguments> 610 </element> 611 <element name="findGeno" function="true" type="integer" deprecated="true"> 706 612 <description><![CDATA[Finds the Genotype matching the supplied Geno object. 707 returns genotype index or -1 if not found.]]></description> 613 returns genotype index or -1 if not found. 614 Deprecated. Use the more versatile find() instead of this function.]]></description> 708 615 <arguments> 709 616 <argument type="Geno"/> 710 617 </arguments> 711 618 </element> 619 <element name="findGenotype" function="true" type="Genotype"> 620 <description><![CDATA[Finds the Genotype matching the supplied Genotype object, Geno object, or genotype string. 621 returns genotype object or null if not found.]]></description> 622 <arguments> 623 <argument name="genotype object or geno object or string genotype" type="untyped"/> 624 </arguments> 625 </element> 712 626 <element name="findUID" function="true" type="integer"> 713 627 <arguments> … … 720 634 </arguments> 721 635 </element> 636 <element name="mergeInstances" function="true" type="void"> 637 <description><![CDATA[Merge instances of the same genotype]]></description> 638 <arguments/></element> 639 <element name="random" function="true" type="Genotype"> 640 <description><![CDATA[Gets random genotype object]]></description> 641 <arguments/></element> 642 <element name="randomLikeGeno" function="true" type="Genotype"> 643 <description><![CDATA[Gets a random genotype index similar to the selected one.]]></description> 644 <arguments> 645 <argument name="minimum similarity" type="float"/> 646 <argument name="target geno" type="Geno"/> 647 </arguments> 648 </element> 649 <element name="revroulette" function="true" type="Genotype"> 650 <description><![CDATA[Get reverse fitness-proportional genotype object]]></description> 651 <arguments/></element> 652 <element name="roulette" function="true" type="Genotype"> 653 <description><![CDATA[Gets fitness-proportional genotype object]]></description> 654 <arguments/></element> 655 <element name="rouletteLikeGeno" function="true" type="Genotype"> 656 <description><![CDATA[Gets a random genotype similar to the selected one, fitness-proportional.]]></description> 657 <arguments> 658 <argument name="minimum similarity" type="float"/> 659 <argument name="target geno" type="Geno"/> 660 </arguments> 661 </element> 662 <element name="splitInstances" function="true" type="void"> 663 <description><![CDATA[Split genotype instances]]></description> 664 <arguments/></element> 665 <element name="tournament" function="true" type="Genotype"> 666 <description><![CDATA[Gets tournament winner genotype object]]></description> 667 <arguments> 668 <argument name="genotypes in tournament" type="integer"/> 669 </arguments> 670 </element> 671 <element name="worst" function="true" type="Genotype"> 672 <description><![CDATA[Gets genotype object having lowest fitness]]></description> 673 <arguments/></element> 722 674 </type> 723 675 <type name="GenePools" context="Global context"> 724 <description><![CDATA[Manages all genotypes in the experiment, organized in one or more groups. Some functions refer to the "selected genotype" i.e. the genotype number "GenePools.genotype" in the pool number "GenePools.group". For example to access the first genoype in the first group you could do: 725 GenePools.group=0; GenePools.genotype=0; var name=Genotype.name; 726 However, the preferred way doesn't refer to the static Genotype object: 727 var name=GenePools[0][0].name; 728 729 Apart from the Genotypes in the group, there is also one temporary Genotype object used by genetic operators and some functions from GenePools. Genotype points to that object when "GenePools.genotype"=-1. The following code accesses that object before adding it to the genotype group: 676 <description><![CDATA[Manages all genotypes in the experiment, organized in one or more groups. 677 Before version 4.0rc4 some operations could only be performed on the "selected" genotype (the one pointed to by group/genotype fields in GenePools). Currently, the more convenient and recommended way is to call Genotype's or GenePool's functions that operate directly on the passed objects. 678 679 // The old way: 730 680 GenePools.newGenotype("X"); 731 //makes the temporary object from the "X" genotype, GenePools.genotype is now -1732 681 GenePools.mutateSelected(); 733 //the temporary object is mutated734 682 Genotype.info="my favorite genotype"; 735 //modify the temporary object736 683 GenePools.copySelected(0); 737 //copy the current, i.e. temporary genotype to the genotype group #0]]></description> 738 <element name="genotype" type="integer"> 684 685 // Doing the same the new way: 686 var g=Genotype.newFromGeno(GenMan.mutate(Geno.newFromString("X"))); 687 g.info="my favorite genotype"; 688 g.moveTo(GenePools[0]);]]></description> 689 <element name="genotype" type="integer" deprecated="true"> 739 690 <description><![CDATA[Index of the currently selected genotype or -1 if no genotype is selected.]]></description> 740 691 </element> 741 <element name="group" type="integer" >692 <element name="group" type="integer" deprecated="true"> 742 693 <description><![CDATA[Index of the currently selected group (GenePool).]]></description> 743 694 </element> … … 749 700 </arguments> 750 701 </element> 751 <element name="addPerformanceFromCreature" function="true" type="void" >702 <element name="addPerformanceFromCreature" function="true" type="void" deprecated="true"> 752 703 <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> 753 704 <arguments/></element> … … 755 706 <description><![CDATA[Removes all gene pools except the first one.]]></description> 756 707 <arguments/></element> 757 <element name="clearGroup" function="true" type="void"> 708 <element name="clearGroup" function="true" type="void" deprecated="true"> 709 <description><![CDATA[GenePools[group].clear() is more "object oriented" than GenePools.clearGroup(group)]]></description> 758 710 <arguments> 759 711 <argument name="index" type="integer"/> 760 712 </arguments> 761 713 </element> 762 <element name="copySelected" function="true" type="void" >714 <element name="copySelected" function="true" type="void" deprecated="true"> 763 715 <description><![CDATA[Copies the selected genotype to another group.]]></description> 764 716 <arguments> … … 766 718 </arguments> 767 719 </element> 768 <element name="crossoverSelected" function="true" type="void" >720 <element name="crossoverSelected" function="true" type="void" deprecated="true"> 769 721 <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> 770 722 <arguments> … … 778 730 </arguments> 779 731 </element> 780 <element name="deleteOne" function="true" type="void" >732 <element name="deleteOne" function="true" type="void" deprecated="true"> 781 733 <description><![CDATA[Deletes one individual from the gene pool = decreases 'instances' and deletes the genotype if the 'instances' goes to 0.]]></description> 782 734 <arguments> … … 784 736 </arguments> 785 737 </element> 786 <element name="deleteSelected" function="true" type="void" >738 <element name="deleteSelected" function="true" type="void" deprecated="true"> 787 739 <description><![CDATA[Deletes selected genotype from the gene pool (uses the selected genotype object).]]></description> 788 740 <arguments/></element> 789 <element name="findGenotype" function="true" type="integer" >741 <element name="findGenotype" function="true" type="integer" deprecated="true"> 790 742 <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> 791 743 <arguments/></element> 792 <element name="findGenotypeForCreature" function="true" type="integer" >744 <element name="findGenotypeForCreature" function="true" type="integer" deprecated="true"> 793 745 <description><![CDATA[Finds a genotype matching the selected creature.]]></description> 794 746 <arguments/></element> … … 798 750 </arguments> 799 751 </element> 800 <element name="getFromCreature" function="true" type="void" >752 <element name="getFromCreature" function="true" type="void" deprecated="true"> 801 753 <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> 802 754 <arguments/></element> 803 <element name="getFromCreatureObject" function="true" type="void" >755 <element name="getFromCreatureObject" function="true" type="void" deprecated="true"> 804 756 <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> 805 757 <arguments> … … 807 759 </arguments> 808 760 </element> 809 <element name="likeThisRoulette" function="true" type="integer" >761 <element name="likeThisRoulette" function="true" type="integer" deprecated="true"> 810 762 <description><![CDATA[Gets a random genotype similar to the selected one, fitness-proportional.]]></description> 811 763 <arguments> … … 813 765 </arguments> 814 766 </element> 815 <element name="mutateSelected" function="true" type="void" >767 <element name="mutateSelected" function="true" type="void" deprecated="true"> 816 768 <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> 817 769 <arguments/></element> 818 <element name="newGenotype" function="true" type="void" >770 <element name="newGenotype" function="true" type="void" deprecated="true"> 819 771 <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> 820 772 <arguments> … … 822 774 </arguments> 823 775 </element> 824 <element name="random" function="true" type="integer" >825 <description><![CDATA[Gets random genotype .]]></description>776 <element name="random" function="true" type="integer" deprecated="true"> 777 <description><![CDATA[Gets random genotype index.]]></description> 826 778 <arguments/></element> 827 <element name="randomLikeThis" function="true" type="integer" >828 <description><![CDATA[Gets a random genotype similar to the selected one.]]></description>779 <element name="randomLikeThis" function="true" type="integer" deprecated="true"> 780 <description><![CDATA[Gets a random genotype index similar to the selected one.]]></description> 829 781 <arguments> 830 782 <argument name="minimum similarity" type="float"/> 831 783 </arguments> 832 784 </element> 833 <element name="revroulette" function="true" type="integer" >834 <description><![CDATA[Get reverse fitness-proportional genotype .]]></description>785 <element name="revroulette" function="true" type="integer" deprecated="true"> 786 <description><![CDATA[Get reverse fitness-proportional genotype index.]]></description> 835 787 <arguments/></element> 836 <element name="roulette" function="true" type="integer" >837 <description><![CDATA[Gets fitness-proportional genotype .]]></description>788 <element name="roulette" function="true" type="integer" deprecated="true"> 789 <description><![CDATA[Gets fitness-proportional genotype index.]]></description> 838 790 <arguments/></element> 839 <element name="tournament" function="true" type="integer" >791 <element name="tournament" function="true" type="integer" deprecated="true"> 840 792 <description><![CDATA[Gets tournament winner genotype.]]></description> 841 793 <arguments> … … 843 795 </arguments> 844 796 </element> 845 <element name="worst" function="true" type="integer" >846 <description><![CDATA[Gets worst genotype .]]></description>797 <element name="worst" function="true" type="integer" deprecated="true"> 798 <description><![CDATA[Gets worst genotype index.]]></description> 847 799 <arguments/></element> 848 800 </type> … … 851 803 <element name="changedProperty" type="integer"/> 852 804 <element name="changedPropertyId" type="string"/> 853 <element name="f0_c_del" type="float" min="0" max="100" default="5"> 854 <description><![CDATA[]]></description> 855 </element> 856 <element name="f0_c_new" type="float" min="0" max="100" default="5"> 857 <description><![CDATA[]]></description> 858 </element> 859 <element name="f0_c_wei" type="float" min="0" max="100" default="10"> 860 <description><![CDATA[]]></description> 861 </element> 862 <element name="f0_j_del" type="float" min="0" max="100" default="5"> 863 <description><![CDATA[]]></description> 864 </element> 865 <element name="f0_j_new" type="float" min="0" max="100" default="5"> 866 <description><![CDATA[]]></description> 867 </element> 868 <element name="f0_j_rsf" type="float" min="0" max="100" default="10"> 869 <description><![CDATA[]]></description> 870 </element> 871 <element name="f0_j_stf" type="float" min="0" max="100" default="10"> 872 <description><![CDATA[]]></description> 873 </element> 874 <element name="f0_j_stm" type="float" min="0" max="100" default="10"> 875 <description><![CDATA[]]></description> 876 </element> 877 <element name="f0_n_del" type="float" min="0" max="100" default="5"> 878 <description><![CDATA[]]></description> 879 </element> 880 <element name="f0_n_new" type="float" min="0" max="100" default="5"> 881 <description><![CDATA[]]></description> 882 </element> 883 <element name="f0_n_prp" type="float" min="0" max="100" default="10"> 805 <element name="f0_c_del" type="float" min="0" max="100" default="5.0"> 806 <description><![CDATA[]]></description> 807 </element> 808 <element name="f0_c_new" type="float" min="0" max="100" default="5.0"> 809 <description><![CDATA[]]></description> 810 </element> 811 <element name="f0_c_wei" type="float" min="0" max="100" default="10.0"> 812 <description><![CDATA[]]></description> 813 </element> 814 <element name="f0_j_del" type="float" min="0" max="100" default="5.0"> 815 <description><![CDATA[]]></description> 816 </element> 817 <element name="f0_j_new" type="float" min="0" max="100" default="5.0"> 818 <description><![CDATA[]]></description> 819 </element> 820 <element name="f0_j_rsf" type="float" min="0" max="100" default="10.0"> 821 <description><![CDATA[]]></description> 822 </element> 823 <element name="f0_j_stf" type="float" min="0" max="100" default="10.0"> 824 <description><![CDATA[]]></description> 825 </element> 826 <element name="f0_j_stm" type="float" min="0" max="100" default="10.0"> 827 <description><![CDATA[]]></description> 828 </element> 829 <element name="f0_j_vblu" type="float" min="0" max="100" default="0.0"> 830 <description><![CDATA[]]></description> 831 </element> 832 <element name="f0_j_vgrn" type="float" min="0" max="100" default="0.0"> 833 <description><![CDATA[]]></description> 834 </element> 835 <element name="f0_j_vred" type="float" min="0" max="100" default="0.0"> 836 <description><![CDATA[]]></description> 837 </element> 838 <element name="f0_n_del" type="float" min="0" max="100" default="5.0"> 839 <description><![CDATA[]]></description> 840 </element> 841 <element name="f0_n_new" type="float" min="0" max="100" default="5.0"> 842 <description><![CDATA[]]></description> 843 </element> 844 <element name="f0_n_prp" type="float" min="0" max="100" default="10.0"> 884 845 <description><![CDATA[]]></description> 885 846 </element> … … 894 855 The i="mi=md" combination is allowed.]]></description> 895 856 </element> 896 <element name="f0_p_asm" type="float" min="0" max="100" default="10"> 897 <description><![CDATA[]]></description> 898 </element> 899 <element name="f0_p_del" type="float" min="0" max="100" default="5"> 900 <description><![CDATA[]]></description> 901 </element> 902 <element name="f0_p_frc" type="float" min="0" max="100" default="10"> 903 <description><![CDATA[]]></description> 904 </element> 905 <element name="f0_p_ing" type="float" min="0" max="100" default="10"> 906 <description><![CDATA[]]></description> 907 </element> 908 <element name="f0_p_mas" type="float" min="0" max="100" default="10"> 909 <description><![CDATA[]]></description> 910 </element> 911 <element name="f0_p_new" type="float" min="0" max="100" default="5"> 912 <description><![CDATA[]]></description> 913 </element> 914 <element name="f0_p_pos" type="float" min="0" max="100" default="10"> 915 <description><![CDATA[]]></description> 916 </element> 917 <element name="f0_p_swp" type="float" min="0" max="100" default="10"> 857 <element name="f0_p_asm" type="float" min="0" max="100" default="10.0"> 858 <description><![CDATA[]]></description> 859 </element> 860 <element name="f0_p_del" type="float" min="0" max="100" default="5.0"> 861 <description><![CDATA[]]></description> 862 </element> 863 <element name="f0_p_frc" type="float" min="0" max="100" default="10.0"> 864 <description><![CDATA[]]></description> 865 </element> 866 <element name="f0_p_ing" type="float" min="0" max="100" default="10.0"> 867 <description><![CDATA[]]></description> 868 </element> 869 <element name="f0_p_mas" type="float" min="0" max="100" default="10.0"> 870 <description><![CDATA[]]></description> 871 </element> 872 <element name="f0_p_new" type="float" min="0" max="100" default="5.0"> 873 <description><![CDATA[]]></description> 874 </element> 875 <element name="f0_p_pos" type="float" min="0" max="100" default="10.0"> 876 <description><![CDATA[]]></description> 877 </element> 878 <element name="f0_p_swp" type="float" min="0" max="100" default="10.0"> 879 <description><![CDATA[]]></description> 880 </element> 881 <element name="f0_p_vsiz" type="float" min="0" max="100" default="0.0"> 918 882 <description><![CDATA[]]></description> 919 883 </element> 920 884 <element name="f1_mut_exmod" type="string"> 921 885 <description><![CDATA[Modifiers that will not be added nor deleted during mutation 922 (all: RrLlAaCcFfMmSsIiQqWwEe)]]></description>886 (all: LlRrCcQqFfMmIiWwEeAaSsDdGgBbHh)]]></description> 923 887 </element> 924 888 <element name="f1_nmConn" type="float" min="0" max="100" default="0.1"> … … 932 896 </element> 933 897 <element name="f1_nmVal" type="float" min="0" max="100" default="0.05"/> 934 <element name="f1_nmWei" type="float" min="0" max="100" default="1 "/>898 <element name="f1_nmWei" type="float" min="0" max="100" default="1.0"/> 935 899 <element name="f1_smComma" type="float" min="0" max="100" default="0.02"/> 936 900 <element name="f1_smJunct" type="float" min="0" max="100" default="0.02"/> 937 901 <element name="f1_smModif" type="float" min="0" max="100" default="0.1"> 938 <description><![CDATA[Modifiers: RrLlAaCcFfMmSsIiQqWwEe]]></description>902 <description><![CDATA[Modifiers: LlRrCcQqFfMmIiWwEeAaSsDdGgBbHh]]></description> 939 903 </element> 940 904 <element name="f1_smX" type="float" min="0" max="100" default="0.05"/> … … 994 958 <description><![CDATA[]]></description> 995 959 </element> 996 <element name="f4_mut_add" type="float" min="0" max="100" default="50 ">960 <element name="f4_mut_add" type="float" min="0" max="100" default="50.0"> 997 961 <description><![CDATA[mutation: probability of adding a node]]></description> 998 962 </element> 999 <element name="f4_mut_add_conn" type="float" min="0" max="100" default="15 ">963 <element name="f4_mut_add_conn" type="float" min="0" max="100" default="15.0"> 1000 964 <description><![CDATA[add node mutation: probability of adding a neural connection]]></description> 1001 965 </element> 1002 <element name="f4_mut_add_div" type="float" min="0" max="100" default="20 ">966 <element name="f4_mut_add_div" type="float" min="0" max="100" default="20.0"> 1003 967 <description><![CDATA[add node mutation: probability of adding a division]]></description> 1004 968 </element> 1005 <element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5 ">969 <element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5.0"> 1006 970 <description><![CDATA[add node mutation: probability of adding a neuron property/modifier]]></description> 1007 971 </element> 1008 <element name="f4_mut_add_rep" type="float" min="0" max="100" default="10 ">972 <element name="f4_mut_add_rep" type="float" min="0" max="100" default="10.0"> 1009 973 <description><![CDATA[add node mutation: probability of adding a repetition]]></description> 1010 974 </element> 1011 <element name="f4_mut_add_simp" type="float" min="0" max="100" default="50 ">975 <element name="f4_mut_add_simp" type="float" min="0" max="100" default="50.0"> 1012 976 <description><![CDATA[add node mutation: probability of adding a random, simple gene]]></description> 1013 977 </element> 1014 <element name="f4_mut_del" type="float" min="0" max="100" default="20 ">978 <element name="f4_mut_del" type="float" min="0" max="100" default="20.0"> 1015 979 <description><![CDATA[mutation: probability of deleting a node]]></description> 1016 980 </element> 1017 <element name="f4_mut_mod" type="float" min="0" max="100" default="30 ">981 <element name="f4_mut_mod" type="float" min="0" max="100" default="30.0"> 1018 982 <description><![CDATA[mutation: probability of changing a node]]></description> 1019 983 </element> … … 1110 1074 ]]></description> 1111 1075 </element> 1112 <element name="neuadd_ *" type="integer" min="0" max="1">1076 <element name="neuadd_Constant" type="integer" min="0" max="1"> 1113 1077 <description><![CDATA[Constant value 1114 1078 … … 1119 1083 ]]></description> 1120 1084 </element> 1121 <element name="neuadd_ |" type="integer" min="0" max="1">1085 <element name="neuadd_Bend_muscle" type="integer" min="0" max="1"> 1122 1086 <description><![CDATA[Characteristics: 1123 1087 uses single input … … 1130 1094 bending range (r) float 0..1]]></description> 1131 1095 </element> 1132 <element name="neuadd_ @" type="integer" min="0" max="1">1096 <element name="neuadd_Rotation_muscle" type="integer" min="0" max="1"> 1133 1097 <description><![CDATA[Characteristics: 1134 1098 uses single input … … 1289 1253 time (t) float 0..6.28319]]></description> 1290 1254 </element> 1255 <element name="neuadd_Mzm" type="integer" min="0" max="1"> 1256 <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile. 1257 1258 Characteristics: 1259 does not use inputs 1260 provides output value 1261 does not require location in body 1262 ]]></description> 1263 </element> 1264 <element name="neuadd_OThr" type="integer" min="0" max="1"> 1265 <description><![CDATA[Characteristics: 1266 uses single input 1267 does not provide output value 1268 should be located on a Joint 1269 ]]></description> 1270 </element> 1271 <element name="neuadd_SeeLight" type="integer" min="0" max="1"> 1272 <description><![CDATA[Characteristics: 1273 does not use inputs 1274 provides output value 1275 should be located on a Part 1276 1277 1278 Properties: 1279 (flavor) float 0..4]]></description> 1280 </element> 1281 <element name="neuadd_Linb" type="integer" min="0" max="1"> 1282 <description><![CDATA[output=input(bez sumowania) 1283 1284 Characteristics: 1285 supports any number of inputs 1286 provides output value 1287 does not require location in body 1288 ]]></description> 1289 </element> 1290 <element name="neuadd_Delay" type="integer" min="0" max="1"> 1291 <description><![CDATA[Characteristics: 1292 supports any number of inputs 1293 provides output value 1294 does not require location in body 1295 1296 1297 Properties: 1298 delay time (in steps) (t) integer 1..1000]]></description> 1299 </element> 1300 <element name="neuadd_ntest" type="integer" min="0" max="1"> 1301 <description><![CDATA[Characteristics: 1302 uses single input 1303 provides output value 1304 should be located on a Joint 1305 ]]></description> 1306 </element> 1307 <element name="neuadd_WarnLR" type="integer" min="0" max="1"> 1308 <description><![CDATA[Characteristics: 1309 does not use inputs 1310 provides output value 1311 does not require location in body 1312 1313 1314 Properties: 1315 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 1316 </element> 1317 <element name="neuadd_SeeLight2" type="integer" min="0" max="1"> 1318 <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter). 1319 1320 Characteristics: 1321 does not use inputs 1322 provides output value 1323 should be located on a Part 1324 1325 1326 Properties: 1327 (range) float 0..100]]></description> 1328 </element> 1329 <element name="neuadd_FeelInjury" type="integer" min="0" max="1"> 1330 <description><![CDATA[Characteristics: 1331 supports any number of inputs 1332 does not provide output value 1333 does not require location in body 1334 ]]></description> 1335 </element> 1336 <element name="neuadd_PIDV" type="integer" min="0" max="1"> 1337 <description><![CDATA[PID Regulator (velocity/incremental form) 1338 1339 Characteristics: 1340 uses single input 1341 provides output value 1342 does not require location in body 1343 1344 1345 Properties: 1346 K (k) float 0.01..100 1347 Ti (ti) float 0.01..100 1348 Td (td) float 0.01..100]]></description> 1349 </element> 1350 <element name="neuadd_Lin" type="integer" min="0" max="1"> 1351 <description><![CDATA[output=input 1352 1353 Characteristics: 1354 supports any number of inputs 1355 provides output value 1356 does not require location in body 1357 ]]></description> 1358 </element> 1359 <element name="neuadd_WarnDD" type="integer" min="0" max="1"> 1360 <description><![CDATA[Characteristics: 1361 does not use inputs 1362 provides output value 1363 does not require location in body 1364 1365 1366 Properties: 1367 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 1368 </element> 1369 <element name="neuadd_Sf" type="integer" min="0" max="1"> 1370 <description><![CDATA[Detects only food, not other creatures 1371 (in experiments with food in group #1) 1372 1373 Characteristics: 1374 does not use inputs 1375 provides output value 1376 should be located on a Part 1377 ]]></description> 1378 </element> 1379 <element name="neuadd_Nn" type="integer" min="0" max="1"> 1380 <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value 1381 1382 Characteristics: 1383 supports any number of inputs 1384 provides output value 1385 does not require location in body 1386 1387 1388 Properties: 1389 Error rate (e) float 0..0.1]]></description> 1390 </element> 1391 <element name="neuadd_Rdr" type="integer" min="0" max="1"> 1392 <description><![CDATA[Characteristics: 1393 uses single input 1394 does not provide output value 1395 does not require location in body 1396 1397 1398 Properties: 1399 ()]]></description> 1400 </element> 1401 <element name="neuadd_WarnDist" type="integer" min="0" max="1"> 1402 <description><![CDATA[Characteristics: 1403 does not use inputs 1404 provides output value 1405 does not require location in body 1406 1407 1408 Properties: 1409 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 1410 </element> 1411 <element name="neuadd_Cmp" type="integer" min="0" max="1"> 1412 <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*. 1413 1414 Characteristics: 1415 does not use inputs 1416 provides output value 1417 should be located on a Part 1418 ]]></description> 1419 </element> 1420 <element name="neuadd_Light" type="integer" min="0" max="1"> 1421 <description><![CDATA[Characteristics: 1422 supports any number of inputs 1423 does not provide output value 1424 should be located on a Part 1425 1426 1427 Properties: 1428 (flavor) float 0..4]]></description> 1429 </element> 1430 <element name="neuadd_Thr" type="integer" min="0" max="1"> 1431 <description><![CDATA[if (input>=t) then output=hi else output=lo 1432 1433 Characteristics: 1434 supports any number of inputs 1435 provides output value 1436 does not require location in body 1437 1438 1439 Properties: 1440 threshold (t) float 1441 low output value (lo) float 1442 high output value (hi) float]]></description> 1443 </element> 1444 <element name="neuadd_PIDP" type="integer" min="0" max="1"> 1445 <description><![CDATA[PID Regulator (positional/full value form) 1446 1447 Characteristics: 1448 uses single input 1449 provides output value 1450 does not require location in body 1451 1452 1453 Properties: 1454 K (k) float 0.01..100 1455 Ti (ti) float 0.01..100 1456 Td (td) float 0.01..100]]></description> 1457 </element> 1458 <element name="neuadd_ptest" type="integer" min="0" max="1"> 1459 <description><![CDATA[different parameter datatypes 1460 1461 Characteristics: 1462 uses single input 1463 provides output value 1464 does not require location in body 1465 1466 1467 Properties: 1468 first integer (i1) integer 1469 first float (f1) float 1470 first string (s1) string 1471 second integer (i2) integer 1472 second float (f2) float 1473 second string (s2) string]]></description> 1474 </element> 1475 <element name="neuadd_FF" type="integer" min="0" max="1"> 1476 <description><![CDATA[Characteristics: 1477 supports any number of inputs 1478 does not provide output value 1479 should be located on a Part 1480 ]]></description> 1481 </element> 1291 1482 <element name="add" function="true"/> 1292 1483 <element name="addGroup" function="true"/> … … 1414 1605 </type> 1415 1606 <type name="Genotype" context="Global context"> 1416 <description><![CDATA[A Genotype with the associated performance information. All but one Genotype objects are placed in Genotype Groups. There is also a single static Genotype object not associated with a group, which is used as a temporary storage by genetic operators and some functions from GenePools.]]></description> 1607 <description><![CDATA[A Genotype with the associated performance information. Adding genotypes to GenePool makes them accessible in Framsticks GUI and enables the use of GenePool selection methods. 1608 Before version 4.0rc4 the static Genotype object was used in functions operating on the "selected" genotype. This is now deprecated as all operations can be performed using the more convenient direct access (see GenePools).]]></description> 1417 1609 <element name="convtrace1" type="string"/> 1418 1610 <element name="distance" type="float"/> … … 1425 1617 <description><![CDATA[Fitness shifted by (avg-n*stddev)]]></description> 1426 1618 </element> 1619 <element name="genepool" type="untyped"> 1620 <description><![CDATA[GenePool object or null when not in pool]]></description> 1621 </element> 1427 1622 <element name="geno" type="Geno"> 1428 1623 <description><![CDATA[Geno object for this Genotype]]></description> … … 1430 1625 <element name="genotype" type="string"/> 1431 1626 <element name="gnum" type="integer"/> 1627 <element name="index" type="integer"> 1628 <description><![CDATA[-1 when not in pool. 1629 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> 1630 </element> 1432 1631 <element name="info" type="string"> 1433 1632 <description><![CDATA[Additional information or comments]]></description> … … 1463 1662 <element name="vertpos" type="float"/> 1464 1663 <element name="vertvel" type="float"/> 1664 <element name="addPerformanceFromCreature" function="true" type="void"> 1665 <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> 1666 <arguments> 1667 <argument type="Creature"/> 1668 </arguments> 1669 </element> 1670 <element name="copyTo" function="true" type="Genotype"> 1671 <description><![CDATA[returns the duplicate genotype, created in the target pool]]></description> 1672 <arguments> 1673 <argument name="pool" type="GenePool"/> 1674 </arguments> 1675 </element> 1676 <element name="delete" function="true" type="void"><arguments/></element> 1677 <element name="deleteOne" function="true" type="void"> 1678 <description><![CDATA[]]></description> 1679 <arguments/></element> 1465 1680 <element name="getModel" function="true" type="Model"><arguments/></element> 1466 1681 <element name="getNormalized" function="true" type="float"> … … 1469 1684 </arguments> 1470 1685 </element> 1686 <element name="moveTo" function="true" type="void"> 1687 <description><![CDATA[the genotype is removed from its current pool when pool=null]]></description> 1688 <arguments> 1689 <argument name="pool" type="GenePool"/> 1690 </arguments> 1691 </element> 1471 1692 <element name="mutate" function="true" type="void"><arguments/></element> 1472 </type> 1473 <type name="GenotypeGroup" context="Global context"> 1474 <description><![CDATA[The static GenePool object refers to the "selected group" as described in GenePools.]]></description> 1475 <element name="fitfun" type="integer" min="0" max="1" default="0"> 1476 <description><![CDATA[Enables fitness scaling.]]></description> 1477 </element> 1478 <element name="fitm" type="float" min="0" max="10" default="2"> 1479 <description><![CDATA[Lower threshold: how many standard deviations below average? 1480 (avg - n * stddev) - used for fitness shifting]]></description> 1481 </element> 1482 <element name="fitma" type="float" min="1" max="10" default="2"> 1483 <description><![CDATA[The best genotype is as many times 1484 better than the average one.]]></description> 1485 </element> 1486 <element name="fitness" type="string"> 1487 <description><![CDATA[(intended for advanced users)]]></description> 1488 </element> 1489 <element name="index" type="integer"/> 1490 <element name="name" type="string"/> 1491 <element name="size" type="integer"> 1492 <description><![CDATA[In standard.expdef, this is equivalent to the number of unique genotypes. Standard experiment definition uses the Genotype.instances field to indicate that some genotypes exist in multiple instances despite having only one item in the group. Other experiment definitions may create multiple copies of the same genotype.]]></description> 1493 </element> 1494 <element name="totalpop" type="integer"> 1495 <description><![CDATA[Takes into account the Genotype.instances field (which may give the total number of instances depending on the experiment definition).]]></description> 1496 </element> 1497 <element name="addGeno" function="true" type="Genotype"> 1498 <description><![CDATA[Creates a new Genotype from the supplied Geno object. 1499 Returns the created Genotype.]]></description> 1500 <arguments> 1501 <argument type="Geno"/> 1502 </arguments> 1503 </element> 1504 <element name="delete" function="true" type="void"> 1505 <description><![CDATA[Deletes a genotype.]]></description> 1506 <arguments> 1507 <argument name="genotype index" type="integer"/> 1508 </arguments> 1509 </element> 1510 <element name="findGeno" function="true" type="integer"> 1511 <description><![CDATA[Finds the Genotype matching the supplied Geno object. 1512 returns genotype index or -1 if not found.]]></description> 1513 <arguments> 1514 <argument type="Geno"/> 1515 </arguments> 1516 </element> 1517 <element name="findUID" function="true" type="integer"> 1518 <arguments> 1519 <argument name="uid" type="string"/> 1520 </arguments> 1521 </element> 1522 <element name="get" function="true" type="Genotype"> 1523 <arguments> 1524 <argument name="index" type="integer"/> 1525 </arguments> 1526 </element> 1693 <element name="newFromCreature" function="true"> 1694 <arguments> 1695 <argument name="creature" type="Creature"/> 1696 </arguments> 1697 </element> 1698 <element name="newFromGeno" function="true"> 1699 <arguments> 1700 <argument name="geno" type="Geno"/> 1701 </arguments> 1702 </element> 1703 <element name="newFromString" function="true"> 1704 <arguments> 1705 <argument name="genotype" type="string"/> 1706 </arguments> 1707 </element> 1708 <element name="splitInstances" function="true" type="void"><arguments/></element> 1527 1709 </type> 1528 1710 <type name="Interface" context="Global context"> … … 1613 1795 </type> 1614 1796 <type name="Joint" context="Global context"> 1615 <element name="dx" type="float" min="-2" max="2" default="0 "/>1616 <element name="dy" type="float" min="-2" max="2" default="0 "/>1617 <element name="dz" type="float" min="-2" max="2" default="0 "/>1797 <element name="dx" type="float" min="-2" max="2" default="0.0"/> 1798 <element name="dy" type="float" min="-2" max="2" default="0.0"/> 1799 <element name="dz" type="float" min="-2" max="2" default="0.0"/> 1618 1800 <element name="i" type="string"/> 1619 1801 <element name="p1" type="integer" min="-1" max="999999" default="-1"/> 1620 1802 <element name="p2" type="integer" min="-1" max="999999" default="-1"/> 1621 <element name="rotstif" type="float" min="0" max="1" default="1 "/>1803 <element name="rotstif" type="float" min="0" max="1" default="1.0"/> 1622 1804 <element name="rx" type="float"/> 1623 1805 <element name="ry" type="float"/> 1624 1806 <element name="rz" type="float"/> 1625 1807 <element name="stam" type="float" min="0" max="1" default="0.25"/> 1626 <element name="stif" type="float" min="0" max="1" default="1"/> 1808 <element name="stif" type="float" min="0" max="1" default="1.0"/> 1809 <element name="vb" type="float" min="0" max="1" default="0.5"/> 1810 <element name="vg" type="float" min="0" max="1" default="0.5"/> 1811 <element name="vr" type="float" min="0" max="1" default="0.5"/> 1627 1812 <element name="Vstyle" type="string"/> 1628 1813 </type> … … 1676 1861 <element name="seed" type="integer"> 1677 1862 <description><![CDATA[Random number generator seed. 1678 Note: Math.seed influences all future random activity in the simulator, not only Math.rnd01 results.]]></description> 1863 Note: Math.seed influences all further random activity in the simulator, not just the results of functions in this class. 1864 Note #2: When read, the value behaves just like a regular variable that stores the previously assigned value. It does NOT reflect the internal random generator seed that changes every time a random number has been generated.]]></description> 1679 1865 </element> 1680 1866 <element name="time" type="float"> … … 1747 1933 </arguments> 1748 1934 </element> 1935 <element name="randomize" function="true"> 1936 <description><![CDATA[Set random seed for the random number generator.]]></description> 1937 </element> 1749 1938 <element name="rndCustom" function="true" type="float"> 1750 1939 <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> … … 1756 1945 <description><![CDATA[rndGaussStd is rndGauss(0,1)]]></description> 1757 1946 <arguments> 1758 <argument name=" center" type="float"/>1759 <argument name="st dandard deviation" type="float"/>1947 <argument name="mean" type="float"/> 1948 <argument name="standard deviation" type="float"/> 1760 1949 </arguments> 1761 1950 </element> … … 1880 2069 <description><![CDATA[Live Neuron object.]]></description> 1881 2070 <element name="channelCount" type="integer"/> 2071 <element name="classObject" type="NeuroClass"/> 1882 2072 <element name="creature" type="Creature"/> 1883 2073 <element name="currState" type="float"> 1884 <description><![CDATA[The only difference from the "state" field is that currState, when written, changes the internal neuron state immediately (which disturbs the regular synchronous NN operation). This feature should only be used while controlling the neuron 'from outside' (like a neuro probe) and not in the neuron definition. See also: Neuro.hold]]></description> 2074 <description><![CDATA[When read, it behaves just like the 'state' field. 2075 When written, changes the current neuron state immediately, which disturbs the regular synchronous NN operation. 2076 This feature should only be used while controlling the neuron 'from outside' (like a neuro probe) and not in the neuron definition. See also: Neuro.hold]]></description> 1885 2077 </element> 1886 2078 <element name="def" type="NeuroDef"/> … … 1913 2105 <element name="state" type="float"> 1914 2106 <description><![CDATA[When read, returns the current neuron state. 1915 When written, sets the next neuron state (for use in the neuron definition)]]></description> 2107 When written, sets the 'internal' neuron state that will become current in the next step. 2108 Typically you should use this field, and not currState.]]></description> 1916 2109 </element> 1917 2110 <element name="weightedInputSum" type="float"/> … … 1979 2172 </type> 1980 2173 <type name="NeuroClass" context="Global context"> 1981 <description><![CDATA[The static NeuroClass object refers to class selected in the NeuroClassLibrary.]]></description>2174 <description><![CDATA[The static NeuroClass object refers to the class selected in the NeuroClassLibrary. Most, but not all, properties have direct counterparts in *.neuro files that define custom neuron classes.]]></description> 1982 2175 <element name="description" type="string"/> 1983 <element name="glyph" type="string"/> 1984 <element name="longname" type="string"/> 1985 <element name="name" type="string"/> 1986 <element name="prefinputs" type="integer"/> 2176 <element name="glyph" type="string"> 2177 <description><![CDATA[<html>The neuron icon for use in NN diagrams, encoded as a coma-separated sequence of integer numbers.<ul> 2178 <li>N = the total number of all numbers following this one 2179 <li>NS = the number of line sequences<br> 2180 <ul>repeated NS times: 2181 <li>NL = number of line segments (creating a polyline) 2182 <li><span style="background-color:#fcc;">X,Y</span> (repeated NL+1 times) - subsequent line segment coordinates, each line should fit in a 100x100 square<br> 2183 - neuron input connections will be drawn at X=25 (varying Y for multiple inputs, Y=50 for a single input)<br> 2184 - neuron output connection will be drawn at (X=75,Y=50) 2185 </ul></ul> 2186 <p>Example: 2187 <table border=1> 2188 <tr><th>16,</th><th>2,</th><th>3,</th><th><span style="background-color:#fcc;">25,50</span>, <span style="background-color:#fcc;">40,30</span>, <span style="background-color:#fcc;">60,30</span>, <span style="background-color:#fcc;">75,50</span>,</th><th>1,</th><th><span style="background-color:#fcc;">40,50</span>, <span style="background-color:#fcc;">60,50</span></th></tr> 2189 <tr><td>N = 16 numbers following this one</td><td>NS = 2 line sequences</td><td>NL = the first sequence has 3 segments</td><td>coordinates for 3 line segments = 4 endpoints = 8 numbers</td><td>NL = the second sequence has 1 segment</td><td>coordinates for 1 line segment</td></tr> 2190 </table> 2191 <p>See also: <a href="http://www.framsticks.com/files/dev/files/inkscape-to-icon.html">a script for creating *.neuro icon from SVG</a><br> 2192 Compatibility: this field is called "icon" in *.neuro files.]]></description> 2193 </element> 2194 <element name="longname" type="string"> 2195 <description><![CDATA[Used in hints]]></description> 2196 </element> 2197 <element name="name" type="string"> 2198 <description><![CDATA[Used in genotypes]]></description> 2199 </element> 2200 <element name="prefinputs" type="integer"> 2201 <description><![CDATA[-1 means "any number of inputs is OK"]]></description> 2202 </element> 1987 2203 <element name="preflocation" type="integer" min="0" max="2"/> 1988 <element name="prefoutput" type="integer" min="0" max="1"/> 1989 <element name="properties" type="Interface"/> 2204 <element name="prefoutput" type="integer" min="0" max="1"> 2205 <description><![CDATA[Should be 1 if the neuron provides meaningful output value, 0 otherwise]]></description> 2206 </element> 2207 <element name="properties" type="Interface"> 2208 <description><![CDATA[Compatibility: not preset in *.neuro files.]]></description> 2209 </element> 1990 2210 <element name="summary" type="string"> 1991 <description><![CDATA[Textual summary of all features]]></description> 1992 </element> 1993 <element name="visualhints" type="integer"/> 2211 <description><![CDATA[Textual summary of all features. 2212 Compatibility: not preset in *.neuro files.]]></description> 2213 </element> 2214 <element name="visualhints" type="integer"> 2215 <description><![CDATA[This is a bitfield. Compute the value by adding the following bits: 2216 1 = Invisible - don't draw neurons of this class 2217 2 = No label - don't draw classname label (below the neuron symbol) for this neuron class 2218 4 = First Part - draw the neuron at the first part when attached to a joint (default is in the middle) 2219 8 = Second Part - draw the neuron at the second part when attached to a joint (default is in the middle) 2220 16 = Effector - use muscle color when drawing this neuron 2221 32 = Sensor - use receptor color when drawing this neuron 2222 Compatiblity: visualhints is called "vhints" in *.neuro files.]]></description> 2223 </element> 1994 2224 </type> 1995 2225 <type name="NeuroClassLibrary" context="Global context"> … … 2004 2234 </arguments> 2005 2235 </element> 2236 <element name="getClass" function="true"> 2237 <arguments> 2238 <argument name="class name" type="string"/> 2239 </arguments> 2240 </element> 2006 2241 </type> 2007 2242 <type name="NeuroDef" context="Global context"> 2243 <element name="classObject" type="NeuroClass"/> 2008 2244 <element name="d" type="string"/> 2009 2245 <element name="getInputCount" type="integer"/> … … 2096 2332 ]]></description> 2097 2333 </element> 2098 <element name="ncl_ *" type="integer" min="0" max="1">2334 <element name="ncl_Constant" type="integer" min="0" max="1"> 2099 2335 <description><![CDATA[Constant value 2100 2336 … … 2105 2341 ]]></description> 2106 2342 </element> 2107 <element name="ncl_ |" type="integer" min="0" max="1">2343 <element name="ncl_Bend_muscle" type="integer" min="0" max="1"> 2108 2344 <description><![CDATA[Characteristics: 2109 2345 uses single input … … 2116 2352 bending range (r) float 0..1]]></description> 2117 2353 </element> 2118 <element name="ncl_ @" type="integer" min="0" max="1">2354 <element name="ncl_Rotation_muscle" type="integer" min="0" max="1"> 2119 2355 <description><![CDATA[Characteristics: 2120 2356 uses single input … … 2275 2511 time (t) float 0..6.28319]]></description> 2276 2512 </element> 2513 <element name="ncl_Mzm" type="integer" min="0" max="1"> 2514 <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile. 2515 2516 Characteristics: 2517 does not use inputs 2518 provides output value 2519 does not require location in body 2520 ]]></description> 2521 </element> 2522 <element name="ncl_OThr" type="integer" min="0" max="1"> 2523 <description><![CDATA[Characteristics: 2524 uses single input 2525 does not provide output value 2526 should be located on a Joint 2527 ]]></description> 2528 </element> 2529 <element name="ncl_SeeLight" type="integer" min="0" max="1"> 2530 <description><![CDATA[Characteristics: 2531 does not use inputs 2532 provides output value 2533 should be located on a Part 2534 2535 2536 Properties: 2537 (flavor) float 0..4]]></description> 2538 </element> 2539 <element name="ncl_Linb" type="integer" min="0" max="1"> 2540 <description><![CDATA[output=input(bez sumowania) 2541 2542 Characteristics: 2543 supports any number of inputs 2544 provides output value 2545 does not require location in body 2546 ]]></description> 2547 </element> 2548 <element name="ncl_Delay" type="integer" min="0" max="1"> 2549 <description><![CDATA[Characteristics: 2550 supports any number of inputs 2551 provides output value 2552 does not require location in body 2553 2554 2555 Properties: 2556 delay time (in steps) (t) integer 1..1000]]></description> 2557 </element> 2558 <element name="ncl_ntest" type="integer" min="0" max="1"> 2559 <description><![CDATA[Characteristics: 2560 uses single input 2561 provides output value 2562 should be located on a Joint 2563 ]]></description> 2564 </element> 2565 <element name="ncl_WarnLR" type="integer" min="0" max="1"> 2566 <description><![CDATA[Characteristics: 2567 does not use inputs 2568 provides output value 2569 does not require location in body 2570 2571 2572 Properties: 2573 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 2574 </element> 2575 <element name="ncl_SeeLight2" type="integer" min="0" max="1"> 2576 <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter). 2577 2578 Characteristics: 2579 does not use inputs 2580 provides output value 2581 should be located on a Part 2582 2583 2584 Properties: 2585 (range) float 0..100]]></description> 2586 </element> 2587 <element name="ncl_FeelInjury" type="integer" min="0" max="1"> 2588 <description><![CDATA[Characteristics: 2589 supports any number of inputs 2590 does not provide output value 2591 does not require location in body 2592 ]]></description> 2593 </element> 2594 <element name="ncl_PIDV" type="integer" min="0" max="1"> 2595 <description><![CDATA[PID Regulator (velocity/incremental form) 2596 2597 Characteristics: 2598 uses single input 2599 provides output value 2600 does not require location in body 2601 2602 2603 Properties: 2604 K (k) float 0.01..100 2605 Ti (ti) float 0.01..100 2606 Td (td) float 0.01..100]]></description> 2607 </element> 2608 <element name="ncl_Lin" type="integer" min="0" max="1"> 2609 <description><![CDATA[output=input 2610 2611 Characteristics: 2612 supports any number of inputs 2613 provides output value 2614 does not require location in body 2615 ]]></description> 2616 </element> 2617 <element name="ncl_WarnDD" type="integer" min="0" max="1"> 2618 <description><![CDATA[Characteristics: 2619 does not use inputs 2620 provides output value 2621 does not require location in body 2622 2623 2624 Properties: 2625 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 2626 </element> 2627 <element name="ncl_Sf" type="integer" min="0" max="1"> 2628 <description><![CDATA[Detects only food, not other creatures 2629 (in experiments with food in group #1) 2630 2631 Characteristics: 2632 does not use inputs 2633 provides output value 2634 should be located on a Part 2635 ]]></description> 2636 </element> 2637 <element name="ncl_Nn" type="integer" min="0" max="1"> 2638 <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value 2639 2640 Characteristics: 2641 supports any number of inputs 2642 provides output value 2643 does not require location in body 2644 2645 2646 Properties: 2647 Error rate (e) float 0..0.1]]></description> 2648 </element> 2649 <element name="ncl_Rdr" type="integer" min="0" max="1"> 2650 <description><![CDATA[Characteristics: 2651 uses single input 2652 does not provide output value 2653 does not require location in body 2654 2655 2656 Properties: 2657 ()]]></description> 2658 </element> 2659 <element name="ncl_WarnDist" type="integer" min="0" max="1"> 2660 <description><![CDATA[Characteristics: 2661 does not use inputs 2662 provides output value 2663 does not require location in body 2664 2665 2666 Properties: 2667 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 2668 </element> 2669 <element name="ncl_Cmp" type="integer" min="0" max="1"> 2670 <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*. 2671 2672 Characteristics: 2673 does not use inputs 2674 provides output value 2675 should be located on a Part 2676 ]]></description> 2677 </element> 2678 <element name="ncl_Light" type="integer" min="0" max="1"> 2679 <description><![CDATA[Characteristics: 2680 supports any number of inputs 2681 does not provide output value 2682 should be located on a Part 2683 2684 2685 Properties: 2686 (flavor) float 0..4]]></description> 2687 </element> 2688 <element name="ncl_Thr" type="integer" min="0" max="1"> 2689 <description><![CDATA[if (input>=t) then output=hi else output=lo 2690 2691 Characteristics: 2692 supports any number of inputs 2693 provides output value 2694 does not require location in body 2695 2696 2697 Properties: 2698 threshold (t) float 2699 low output value (lo) float 2700 high output value (hi) float]]></description> 2701 </element> 2702 <element name="ncl_PIDP" type="integer" min="0" max="1"> 2703 <description><![CDATA[PID Regulator (positional/full value form) 2704 2705 Characteristics: 2706 uses single input 2707 provides output value 2708 does not require location in body 2709 2710 2711 Properties: 2712 K (k) float 0.01..100 2713 Ti (ti) float 0.01..100 2714 Td (td) float 0.01..100]]></description> 2715 </element> 2716 <element name="ncl_ptest" type="integer" min="0" max="1"> 2717 <description><![CDATA[different parameter datatypes 2718 2719 Characteristics: 2720 uses single input 2721 provides output value 2722 does not require location in body 2723 2724 2725 Properties: 2726 first integer (i1) integer 2727 first float (f1) float 2728 first string (s1) string 2729 second integer (i2) integer 2730 second float (f2) float 2731 second string (s2) string]]></description> 2732 </element> 2733 <element name="ncl_FF" type="integer" min="0" max="1"> 2734 <description><![CDATA[Characteristics: 2735 supports any number of inputs 2736 does not provide output value 2737 should be located on a Part 2738 ]]></description> 2739 </element> 2277 2740 </type> 2278 2741 <type name="NeuroSignals" context="Global context"> 2279 <description><![CDATA[Signals attached to theneuron.2742 <description><![CDATA[Signals attached to a neuron. 2280 2743 See also: Signal, WorldSignals, CreatureSignals. 2281 2744 scripts/light.neuro and scripts/seelight.neuro are simple custom neuron examples demonstrating how to send/receive signals between creatures.]]></description> 2282 2745 <element name="size" type="integer"/> 2283 <element name="add" function="true" type="void"> 2284 <description><![CDATA[Create a new signal]]></description> 2746 <element name="add" function="true" type="Signal"> 2285 2747 <arguments> 2286 2748 <argument name="channel" type="string"/> … … 2304 2766 Additional filtering options: 2305 2767 - Max distance only receives the neighbor signals (based on their physical location) 2306 - Flavor filtering: only signals having the flavor close to the specified one will be received. The filter value is the maximum allowed difference.]]></description>2768 - Flavor filtering: only signals having the flavor similar to the specified value will be received. The flavorfilter value is the difference of flavor that reduces the received signal to 0. The "flavor attenuation" is linear, i.e., signals differing by (filter/2) in flavor will be reduced to 50%.]]></description> 2307 2769 <arguments> 2308 2770 <argument name="channel" type="string"/> 2309 2771 <argument name="max distance" type="float"/> 2310 2772 <argument name="flavor" type="float"/> 2311 <argument name="f ilter" type="float"/>2773 <argument name="flavorfilter" type="float"/> 2312 2774 </arguments> 2313 2775 </element> 2314 2776 <element name="receiveSet" function="true" type="Vector"> 2315 <description><![CDATA[Get all signals in the specified range. Returns a read only vector object containing Signal objects (individual signals can be accessed as result[0] throught result[result.size-1]).]]></description>2777 <description><![CDATA[Get all signals in the specified range. Returns a read-only vector object containing Signal objects - individual signals can be accessed as result[0], .., result[result.size-1].]]></description> 2316 2778 <arguments> 2317 2779 <argument name="channel" type="string"/> … … 2320 2782 </element> 2321 2783 <element name="receiveSingle" function="true" type="Signal"> 2322 <description><![CDATA[Find the signal source having the highest signal power (including the distance)]]></description>2784 <description><![CDATA[Find the signal source that has the highest signal power (taking into account distance).]]></description> 2323 2785 <arguments> 2324 2786 <argument name="channel" type="string"/> 2325 <argument name=" range" type="float"/>2787 <argument name="max distance" type="float"/> 2326 2788 </arguments> 2327 2789 </element> … … 2334 2796 <element name="odecol2bounce" type="float" min="0" max="1" default="0.1"/> 2335 2797 <element name="odecol2bouncevel" type="float" min="0" max="1" default="0.01"/> 2336 <element name="odecol2mumax" type="float" min="0" max="10" default="1 ">2798 <element name="odecol2mumax" type="float" min="0" max="10" default="1.0"> 2337 2799 <description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description> 2338 2800 </element> … … 2340 2802 <description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description> 2341 2803 </element> 2342 <element name="odecol2softcfm" type="float" min="0" max="1" default="0 "/>2343 <element name="odecol2softerp" type="float" min="0" max="1" default="0 "/>2804 <element name="odecol2softcfm" type="float" min="0" max="1" default="0.0"/> 2805 <element name="odecol2softerp" type="float" min="0" max="1" default="0.0"/> 2344 2806 <element name="odecolbounce" type="float" min="0" max="1" default="0.1"/> 2345 2807 <element name="odecolbouncevel" type="float" min="0" max="1" default="0.01"/> 2346 <element name="odecolmumax" type="float" min="0" max="10" default="5 ">2808 <element name="odecolmumax" type="float" min="0" max="10" default="5.0"> 2347 2809 <description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description> 2348 2810 </element> … … 2350 2812 <description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description> 2351 2813 </element> 2352 <element name="odecolsoftcfm" type="float" min="0" max="1" default="0 "/>2353 <element name="odecolsofterp" type="float" min="0" max="1" default="0 "/>2354 <element name="odemusclemax" type="float" min="0" max="100" default="10 ">2814 <element name="odecolsoftcfm" type="float" min="0" max="1" default="0.0"/> 2815 <element name="odecolsofterp" type="float" min="0" max="1" default="0.0"/> 2816 <element name="odemusclemax" type="float" min="0" max="100" default="10.0"> 2355 2817 <description><![CDATA[i.e. "MMMMM" if f1]]></description> 2356 2818 </element> 2357 <element name="odemusclemin" type="float" min="0" max="100" default="0 ">2819 <element name="odemusclemin" type="float" min="0" max="100" default="0.0"> 2358 2820 <description><![CDATA[i.e. "mmmmm" in f1]]></description> 2359 2821 </element> 2360 <element name="odemusclespeed" type="float" min="0" max="10" default="1 ">2822 <element name="odemusclespeed" type="float" min="0" max="10" default="1.0"> 2361 2823 <description><![CDATA[Muscle state cannot change faster than the supplied value]]></description> 2362 2824 </element> 2363 2825 <element name="odeseed" type="integer" min="0" max="2"> 2364 2826 <description><![CDATA[Affects collisions. 2365 - 'Truly random' is closest to the standard ODE operation. Use Math.seed to influence randomness in ODE collisions 2366 - 'Deterministic' automatically calculates random seed in each step based on the current simulation (world) state, which makes the simulation repeatable but more random than 'Fixed' 2367 - 'Fixed' is completely deterministic and does not depend on Math.seed . This might negatively affect ODE accuracy2827 - 'Truly random' is closest to the standard ODE operation. Use Math.seed to influence randomness in ODE collisions. 2828 - 'Deterministic' automatically calculates random seed in each step based on the current simulation (world) state, which makes the simulation repeatable but more random than 'Fixed'. 2829 - 'Fixed' is completely deterministic and does not depend on Math.seed - the same seed value is set before each step. This might negatively affect ODE accuracy. 2368 2830 ]]></description> 2369 2831 </element> … … 2373 2835 <element name="odeshape" type="integer" min="0" max="1"/> 2374 2836 <element name="odestep" type="float" min="0.001" max="1" default="0.05"/> 2375 <element name="odewaterbuoy" type="float" min="0" max="2" default="1 "/>2837 <element name="odewaterbuoy" type="float" min="0" max="2" default="1.0"/> 2376 2838 <element name="odewaterdrag" type="float" min="0.001" max="1" default="0.5"/> 2377 2839 <element name="odeworldcfm" type="float" min="0" max="1" default="1e-05"> … … 2395 2857 <type name="Orient" context="Global context"> 2396 2858 <description><![CDATA[3D orientation, stored as 3x3 matrix.]]></description> 2859 <element name="toVector" type="Vector"> 2860 <description><![CDATA[for serialization]]></description> 2861 </element> 2397 2862 <element name="x" type="XYZ"/> 2398 2863 <element name="xx" type="float"/> … … 2408 2873 <element name="zz" type="float"/> 2409 2874 <element name="between2" function="true" type="void"> 2875 <description><![CDATA[The calling Orient receives the orientation interpolated from 2 input orientations. 2876 Example: 2877 var o1=Orient.new(), o2=Orient.new(), o3=Orient.new(); 2878 o2.rotate3(0,Math.pi/2,0); 2879 o3.between2(o1,o2,0); // o3 equals o2 2880 o3.between2(o1,o2,1); // o3 equals o1 2881 o3.between2(o1,o2,0.5); // o3 is halfway between o1 and o2 2882 ]]></description> 2410 2883 <arguments> 2411 2884 <argument type="Orient"/> … … 2415 2888 </element> 2416 2889 <element name="betweenOV" function="true" type="void"> 2890 <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. 2891 Example: 2892 var o=Orient.new(); 2893 o.betweenOV(o,(0,1,0),1); //no change, o remains 100 010 001 2894 o.betweenOV(o,(0,1,0),0.9); //o is slightly rotated towards (0,1,0) 2895 o.betweenOV(o,(0,1,0),0); //o is completely transformed, o.x=(0,1,0) 2896 ]]></description> 2417 2897 <arguments> 2418 2898 <argument type="Orient"/> … … 2435 2915 </element> 2436 2916 <element name="new" function="true" type="Orient"><arguments/></element> 2917 <element name="newFromVector" function="true" type="Orient"> 2918 <arguments> 2919 <argument type="Vector"/> 2920 </arguments> 2921 </element> 2437 2922 <element name="normalize" function="true" type="void"><arguments/></element> 2438 2923 <element name="reset" function="true" type="void"><arguments/></element> … … 2468 2953 <type name="Part" context="Global context"> 2469 2954 <element name="as" type="float" min="0" max="1" default="0.25"/> 2470 <element name="dn" type="float" min="0.2" max="5" default="1 "/>2955 <element name="dn" type="float" min="0.2" max="5" default="1.0"/> 2471 2956 <element name="fr" type="float" min="0" max="4" default="0.4"/> 2472 2957 <element name="i" type="string"/> 2473 2958 <element name="ing" type="float" min="0" max="1" default="0.25"/> 2474 <element name="m" type="float" min="0.1" max="999" default="1 "/>2959 <element name="m" type="float" min="0.1" max="999" default="1.0"/> 2475 2960 <element name="rx" type="float"/> 2476 2961 <element name="ry" type="float"/> 2477 2962 <element name="rz" type="float"/> 2478 <element name="s" type="float" min="0.1" max="10" default="1"/> 2963 <element name="s" type="float" min="0.1" max="10" default="1.0"/> 2964 <element name="vb" type="float" min="0" max="1" default="0.5"/> 2965 <element name="vg" type="float" min="0" max="1" default="0.5"/> 2966 <element name="vr" type="float" min="0" max="1" default="0.5"/> 2967 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/> 2479 2968 <element name="Vstyle" type="string"/> 2480 2969 <element name="x" type="float"/> … … 2493 2982 <description><![CDATA[Do creatures die when no energy?]]></description> 2494 2983 </element> 2495 <element name="em_dyn" type="float" min="0" max="1" default="0 ">2984 <element name="em_dyn" type="float" min="0" max="1" default="0.0"> 2496 2985 <description><![CDATA[Energy requirements for a muscle 2497 2986 moving a stick]]></description> 2498 2987 </element> 2499 <element name="em_stat" type="float" min="0" max="1" default="0 ">2988 <element name="em_stat" type="float" min="0" max="1" default="0.0"> 2500 2989 <description><![CDATA[Energy requirements for a muscle 2501 2990 resisting an external force]]></description> 2502 2991 </element> 2503 <element name="en_assim" type="float" min="0" max="1" default="0 ">2992 <element name="en_assim" type="float" min="0" max="1" default="0.0"> 2504 2993 <description><![CDATA[Maximal energy gain produced by a vertical specialized stick. 2505 2994 Horizontal specialized sticks get half of this value.]]></description> … … 2562 3051 <description><![CDATA[A creature is considered stabilized when its center of gravity stays within the specified distance after the "Sampling period while waiting" has elapsed.]]></description> 2563 3052 </element> 2564 <element name="createFromGeno" function="true" type="Creature"> 2565 <description><![CDATA[Uses the supplied Geno object]]></description> 3053 <element name="clear" function="true" type="void"> 3054 <description><![CDATA[Delete all creatures]]></description> 3055 <arguments/></element> 3056 <element name="create" function="true" type="Creature"> 3057 <arguments> 3058 <argument name="genotype object or geno object or string genotype" type="untyped"/> 3059 </arguments> 3060 </element> 3061 <element name="createFromGeno" function="true" type="Creature" deprecated="true"> 3062 <description><![CDATA[Uses the supplied Geno object. 3063 Deprecated. Use the more universal create() function.]]></description> 2566 3064 <arguments> 2567 3065 <argument type="Geno"/> 2568 3066 </arguments> 2569 3067 </element> 2570 <element name="createFromGenotype" function="true" type="Creature"> 2571 <description><![CDATA[Uses the selected Genotype object]]></description> 3068 <element name="createFromGenotype" function="true" type="Creature" deprecated="true"> 3069 <description><![CDATA[Uses the selected Genotype object. 3070 Deprecated. Use the more universal create() function.]]></description> 2572 3071 <arguments/></element> 2573 <element name="createFromString" function="true" type="Creature"> 2574 <description><![CDATA[Uses the supplied string argument]]></description> 3072 <element name="createFromString" function="true" type="Creature" deprecated="true"> 3073 <description><![CDATA[Uses the supplied string argument. 3074 Deprecated. Use the more universal create() function.]]></description> 2575 3075 <arguments> 2576 3076 <argument name="genotype" type="string"/> … … 2580 3080 <description><![CDATA[delete creature]]></description> 2581 3081 <arguments> 2582 <argument name="creature index" type="integer"/>3082 <argument name="creature object or index" type="untyped"/> 2583 3083 </arguments> 2584 3084 </element> … … 2602 3102 <description><![CDATA[kill creature]]></description> 2603 3103 <arguments> 2604 <argument name="creature index" type="integer"/>3104 <argument name="creature object or index" type="integer"/> 2605 3105 </arguments> 2606 3106 </element> … … 2628 3128 </type> 2629 3129 <type name="Populations" context="Global context"> 2630 <description><![CDATA[Manages all Creature objects in the experiment, organized in one or more groups. See also: Creature, Population.]]></description> 2631 <element name="creature" type="integer"/> 2632 <element name="group" type="integer"> 2633 <description><![CDATA[Index of the currently selected group (Population).]]></description> 3130 <description><![CDATA[Manages all Creature objects in the experiment, organized in one or more groups. 3131 Before version 4.0rc4 some operations could only be performed on the "selected" creature (the one pointed to by group/create fields in Populations). Currently, the more convenient and recommended way is to call Creatures's functions that operate directly on the passed objects. 3132 3133 // The old way: 3134 Populations.group=0; 3135 Populations.creature=0; 3136 GenePools.getFromCreature(); 3137 GenePools.copyTo(0); 3138 3139 // Doing the same the new way: 3140 Genotype.newFromCreature(Populations[0][0]).moveTo(GenePools[0]); 3141 3142 See also: Creature, Population.]]></description> 3143 <element name="creature" type="integer" deprecated="true"> 3144 <description><![CDATA[Deprecated. Pass creature object to functions needing it, instead of the old "first select, then call" approach.]]></description> 3145 </element> 3146 <element name="group" type="integer" deprecated="true"> 3147 <description><![CDATA[Index of the currently selected group (Population). 3148 Deprecated. Pass creature object to functions needing it, instead of the old "first select, then call" approach.]]></description> 2634 3149 </element> 2635 3150 <element name="size" type="integer"/> 2636 <element name="addGroup" function="true" type=" void">3151 <element name="addGroup" function="true" type="Population"> 2637 3152 <description><![CDATA[Adds a new population.]]></description> 2638 3153 <arguments> … … 2643 3158 <description><![CDATA[Removes all populations except the first one.]]></description> 2644 3159 <arguments/></element> 2645 <element name="clearGroup" function="true" type="void"> 3160 <element name="clearGroup" function="true" type="void" deprecated="true"> 3161 <description><![CDATA[Deprecated. 3162 Use Populations[pop_index].clear() instead of Populations.clearGroup(pop_index); ]]></description> 2646 3163 <arguments> 2647 3164 <argument name="index" type="integer"/> 2648 3165 </arguments> 2649 3166 </element> 2650 <element name="creatBBCollisions" function="true" type="integer" >3167 <element name="creatBBCollisions" function="true" type="integer" deprecated="true"> 2651 3168 <description><![CDATA[Checks approximate collisions for the selected creature. 2652 Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0).]]></description> 3169 Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0). 3170 Deprecated. Use Creature.boundingBoxCollisions()]]></description> 2653 3171 <arguments> 2654 3172 <argument name="mask" type="integer"/> 2655 3173 </arguments> 2656 3174 </element> 2657 <element name="createFromGenotype" function="true" type="Creature" >3175 <element name="createFromGenotype" function="true" type="Creature" deprecated="true"> 2658 3176 <description><![CDATA[Uses the selected Genotype object.]]></description> 2659 3177 <arguments/></element> 2660 <element name="createFromString" function="true" type="Creature" >3178 <element name="createFromString" function="true" type="Creature" deprecated="true"> 2661 3179 <description><![CDATA[Uses the supplied string argument.]]></description> 2662 3180 <arguments> … … 2670 3188 </arguments> 2671 3189 </element> 2672 <element name="deleteSelected" function="true" type="void" >3190 <element name="deleteSelected" function="true" type="void" deprecated="true"> 2673 3191 <description><![CDATA[Applies to the selected Creature.]]></description> 2674 3192 <arguments/></element> … … 2684 3202 </arguments> 2685 3203 </element> 2686 <element name="killSelected" function="true" type="void" >3204 <element name="killSelected" function="true" type="void" deprecated="true"> 2687 3205 <description><![CDATA[Applies to the selected Creature.]]></description> 2688 3206 <arguments/></element> … … 2751 3269 Creating: Use "add" in Creature.signals, Neuro.signals, or World.signals.]]></description> 2752 3270 <element name="channel" type="string"> 2753 <description><![CDATA[Channel name, read only.]]></description>3271 <description><![CDATA[Channel name, read-only.]]></description> 2754 3272 </element> 2755 3273 <element name="flavor" type="float"> 2756 <description><![CDATA[Signal flavor is can be used to differentiate between signals in a single channel.]]></description>3274 <description><![CDATA[Signal flavor can be used to differentiate between signals in a single channel.]]></description> 2757 3275 </element> 2758 3276 <element name="pos" type="XYZ"> 2759 <description><![CDATA[Signal position, read only.]]></description>3277 <description><![CDATA[Signal position, read-only.]]></description> 2760 3278 </element> 2761 3279 <element name="power" type="float"> … … 2763 3281 </element> 2764 3282 <element name="value" type="untyped"> 2765 <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 function receive() and receiveFilter() ignore this attribute.]]></description>3283 <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> 2766 3284 </element> 2767 3285 <element name="remove" function="true"> 2768 <description><![CDATA[Deletes the signal ]]></description>3286 <description><![CDATA[Deletes the signal.]]></description> 2769 3287 </element> 2770 3288 </type> … … 2814 3332 <type name="sim_params" context="Global context"> 2815 3333 <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> 3334 <element name="aging" type="integer" min="0" max="100000"> 3335 <description><![CDATA[Idle metabolism doubles after this period (0 disables aging)]]></description> 3336 </element> 2816 3337 <element name="autosaveperiod" type="integer" min="0" max="100000"> 2817 3338 <description><![CDATA[Save simulation state once every n-th event 2818 3339 (events are defined by the script. For 'standard.expdef' it is after each death). 2819 Save EXPT file first to initialize name for autosave files.]]></description> 2820 </element> 2821 <element name="bnoise_struct" type="float" min="0" max="10" default="0"> 3340 Save EXPT file first to initialize name for autosave files. 3341 Slave simulators (in multithreaded experiments) ignore this setting and never create autosave files.]]></description> 3342 </element> 3343 <element name="bnoise_struct" type="float" min="0" max="10" default="0.0"> 2822 3344 <description><![CDATA[When >0, body constructs of creatures (position of Parts) will be randomly disturbed when they are created.]]></description> 2823 3345 </element> 2824 <element name="bnoise_vel" type="float" min="0" max="10" default="0 ">3346 <element name="bnoise_vel" type="float" min="0" max="10" default="0.0"> 2825 3347 <description><![CDATA[Random velocities will be applied to all body Parts (in MechaStick) or rigid segments (in ODE) of newly created creatures.]]></description> 3348 </element> 3349 <element name="boostphase" type="integer" min="0" max="1" default="1"> 3350 <description><![CDATA[After stagnation has been detected, switches negative selection to "delete worst", doubles "multiple evaluation" and starts another stagnation detection phase. 3351 "Delete worst" results in extremely quick convergence and high selection pressure, similarly to "local search" optimization techniques.]]></description> 3352 </element> 3353 <element name="capacity" type="integer" min="0" max="10000"> 3354 <description><![CDATA[]]></description> 2826 3355 </element> 2827 3356 <element name="changedProperty" type="integer"/> 2828 3357 <element name="changedPropertyId" type="string"/> 3358 <element name="cpus" type="integer"/> 3359 <element name="cr_c" type="float" min="-10000" max="10000"> 3360 <description><![CDATA[Constant value added to total fitness]]></description> 3361 </element> 3362 <element name="cr_di" type="float" min="-10000" max="10000"> 3363 <description><![CDATA[Weight of distance in total fitness]]></description> 3364 </element> 3365 <element name="cr_gl" type="float" min="-10000" max="10000"> 3366 <description><![CDATA[Weight of body size (number of parts) in total fitness]]></description> 3367 </element> 3368 <element name="cr_joints" type="float" min="-10000" max="10000"> 3369 <description><![CDATA[Weight of structure size (number of joints) in total fitness]]></description> 3370 </element> 3371 <element name="cr_life" type="float" min="-10000" max="10000"> 3372 <description><![CDATA[Weight of life span in total fitness]]></description> 3373 </element> 3374 <element name="cr_nncon" type="float" min="-10000" max="10000"> 3375 <description><![CDATA[Weight of brain connections in total fitness]]></description> 3376 </element> 3377 <element name="cr_nnsiz" type="float" min="-10000" max="10000"> 3378 <description><![CDATA[Weight of brain size (number of neurons) in total fitness]]></description> 3379 </element> 3380 <element name="cr_norm" type="integer" min="0" max="1"> 3381 <description><![CDATA[Normalize each criterion to 0..1 interval before weighting]]></description> 3382 </element> 3383 <element name="cr_simi" type="integer" min="0" max="1"> 3384 <description><![CDATA[If enabled, fitness of each genotype will be reduced by its phenotypic similarity to all other genotypes in the gene pool]]></description> 3385 </element> 3386 <element name="cr_v" type="float" min="-10000" max="10000"> 3387 <description><![CDATA[Weight of horizontal velocity in total fitness]]></description> 3388 </element> 3389 <element name="cr_vpos" type="float" min="-10000" max="10000"> 3390 <description><![CDATA[Weight of vertical position in total fitness]]></description> 3391 </element> 3392 <element name="cr_vvel" type="float" min="-10000" max="10000"> 3393 <description><![CDATA[Weight of vertical velocity in total fitness]]></description> 3394 </element> 2829 3395 <element name="createrr" type="integer" min="0" max="2" default="1"/> 3396 <element name="creath" type="float" min="-1" max="50"> 3397 <description><![CDATA[Vertical position (above the surface) where newborn creatures are placed. 3398 Negative values are only used in the water area: 3399 0 = at the surface 3400 -0.5 = half depth 3401 -1 = just above the bottom]]></description> 3402 </element> 3403 <element name="creaturesgrouploaded" type="integer"> 3404 <description><![CDATA[]]></description> 3405 </element> 2830 3406 <element name="creatwarnfail" type="integer" min="0" max="1"> 2831 3407 <description><![CDATA[Creatures grown with warnings will not be simulated.]]></description> 3408 </element> 3409 <element name="delrule" type="integer" min="0" max="2"> 3410 <description><![CDATA[Negative selection: which genotypes should be removed when we need room for new genotypes in the gene pool]]></description> 3411 </element> 3412 <element name="e_meta" type="float" min="0" max="1"> 3413 <description><![CDATA[Each stick consumes this amount of energy in one time step]]></description> 3414 </element> 3415 <element name="Energy0" type="float" min="0" max="10000"> 3416 <description><![CDATA[Base starting energy level (for each stick)]]></description> 3417 </element> 3418 <element name="evalcount" type="integer" min="0" max="1000" default="0"> 3419 <description><![CDATA[If more than zero: 3420 - each genotype will be evaluated many times 3421 - fitness will be averaged 3422 - fitness standard deviation will be stored in the 'user1' field of a genotype 3423 - there will be no "Unchanged" genotypes ("Unchanged" value is considered zero).]]></description> 2832 3424 </element> 2833 3425 <element name="expdef" type="string"> … … 2840 3432 <element name="expdef_info" type="string"/> 2841 3433 <element name="expdef_title" type="string"/> 2842 <element name="f0_c_del" type="float" min="0" max="100" default="5"> 2843 <description><![CDATA[]]></description> 2844 </element> 2845 <element name="f0_c_new" type="float" min="0" max="100" default="5"> 2846 <description><![CDATA[]]></description> 2847 </element> 2848 <element name="f0_c_wei" type="float" min="0" max="100" default="10"> 2849 <description><![CDATA[]]></description> 2850 </element> 2851 <element name="f0_j_del" type="float" min="0" max="100" default="5"> 2852 <description><![CDATA[]]></description> 2853 </element> 2854 <element name="f0_j_new" type="float" min="0" max="100" default="5"> 2855 <description><![CDATA[]]></description> 2856 </element> 2857 <element name="f0_j_rsf" type="float" min="0" max="100" default="10"> 2858 <description><![CDATA[]]></description> 2859 </element> 2860 <element name="f0_j_stf" type="float" min="0" max="100" default="10"> 2861 <description><![CDATA[]]></description> 2862 </element> 2863 <element name="f0_j_stm" type="float" min="0" max="100" default="10"> 2864 <description><![CDATA[]]></description> 2865 </element> 2866 <element name="f0_n_del" type="float" min="0" max="100" default="5"> 2867 <description><![CDATA[]]></description> 2868 </element> 2869 <element name="f0_n_new" type="float" min="0" max="100" default="5"> 2870 <description><![CDATA[]]></description> 2871 </element> 2872 <element name="f0_n_prp" type="float" min="0" max="100" default="10"> 3434 <element name="expparams" type="ExpParams"/> 3435 <element name="expstate" type="ExpState"/> 3436 <element name="f0_c_del" type="float" min="0" max="100" default="5.0"> 3437 <description><![CDATA[]]></description> 3438 </element> 3439 <element name="f0_c_new" type="float" min="0" max="100" default="5.0"> 3440 <description><![CDATA[]]></description> 3441 </element> 3442 <element name="f0_c_wei" type="float" min="0" max="100" default="10.0"> 3443 <description><![CDATA[]]></description> 3444 </element> 3445 <element name="f0_j_del" type="float" min="0" max="100" default="5.0"> 3446 <description><![CDATA[]]></description> 3447 </element> 3448 <element name="f0_j_new" type="float" min="0" max="100" default="5.0"> 3449 <description><![CDATA[]]></description> 3450 </element> 3451 <element name="f0_j_rsf" type="float" min="0" max="100" default="10.0"> 3452 <description><![CDATA[]]></description> 3453 </element> 3454 <element name="f0_j_stf" type="float" min="0" max="100" default="10.0"> 3455 <description><![CDATA[]]></description> 3456 </element> 3457 <element name="f0_j_stm" type="float" min="0" max="100" default="10.0"> 3458 <description><![CDATA[]]></description> 3459 </element> 3460 <element name="f0_j_vblu" type="float" min="0" max="100" default="0.0"> 3461 <description><![CDATA[]]></description> 3462 </element> 3463 <element name="f0_j_vgrn" type="float" min="0" max="100" default="0.0"> 3464 <description><![CDATA[]]></description> 3465 </element> 3466 <element name="f0_j_vred" type="float" min="0" max="100" default="0.0"> 3467 <description><![CDATA[]]></description> 3468 </element> 3469 <element name="f0_n_del" type="float" min="0" max="100" default="5.0"> 3470 <description><![CDATA[]]></description> 3471 </element> 3472 <element name="f0_n_new" type="float" min="0" max="100" default="5.0"> 3473 <description><![CDATA[]]></description> 3474 </element> 3475 <element name="f0_n_prp" type="float" min="0" max="100" default="10.0"> 2873 3476 <description><![CDATA[]]></description> 2874 3477 </element> … … 2883 3486 The i="mi=md" combination is allowed.]]></description> 2884 3487 </element> 2885 <element name="f0_p_asm" type="float" min="0" max="100" default="10"> 2886 <description><![CDATA[]]></description> 2887 </element> 2888 <element name="f0_p_del" type="float" min="0" max="100" default="5"> 2889 <description><![CDATA[]]></description> 2890 </element> 2891 <element name="f0_p_frc" type="float" min="0" max="100" default="10"> 2892 <description><![CDATA[]]></description> 2893 </element> 2894 <element name="f0_p_ing" type="float" min="0" max="100" default="10"> 2895 <description><![CDATA[]]></description> 2896 </element> 2897 <element name="f0_p_mas" type="float" min="0" max="100" default="10"> 2898 <description><![CDATA[]]></description> 2899 </element> 2900 <element name="f0_p_new" type="float" min="0" max="100" default="5"> 2901 <description><![CDATA[]]></description> 2902 </element> 2903 <element name="f0_p_pos" type="float" min="0" max="100" default="10"> 2904 <description><![CDATA[]]></description> 2905 </element> 2906 <element name="f0_p_swp" type="float" min="0" max="100" default="10"> 3488 <element name="f0_p_asm" type="float" min="0" max="100" default="10.0"> 3489 <description><![CDATA[]]></description> 3490 </element> 3491 <element name="f0_p_del" type="float" min="0" max="100" default="5.0"> 3492 <description><![CDATA[]]></description> 3493 </element> 3494 <element name="f0_p_frc" type="float" min="0" max="100" default="10.0"> 3495 <description><![CDATA[]]></description> 3496 </element> 3497 <element name="f0_p_ing" type="float" min="0" max="100" default="10.0"> 3498 <description><![CDATA[]]></description> 3499 </element> 3500 <element name="f0_p_mas" type="float" min="0" max="100" default="10.0"> 3501 <description><![CDATA[]]></description> 3502 </element> 3503 <element name="f0_p_new" type="float" min="0" max="100" default="5.0"> 3504 <description><![CDATA[]]></description> 3505 </element> 3506 <element name="f0_p_pos" type="float" min="0" max="100" default="10.0"> 3507 <description><![CDATA[]]></description> 3508 </element> 3509 <element name="f0_p_swp" type="float" min="0" max="100" default="10.0"> 3510 <description><![CDATA[]]></description> 3511 </element> 3512 <element name="f0_p_vsiz" type="float" min="0" max="100" default="0.0"> 2907 3513 <description><![CDATA[]]></description> 2908 3514 </element> 2909 3515 <element name="f1_mut_exmod" type="string"> 2910 3516 <description><![CDATA[Modifiers that will not be added nor deleted during mutation 2911 (all: RrLlAaCcFfMmSsIiQqWwEe)]]></description>3517 (all: LlRrCcQqFfMmIiWwEeAaSsDdGgBbHh)]]></description> 2912 3518 </element> 2913 3519 <element name="f1_nmConn" type="float" min="0" max="100" default="0.1"> … … 2921 3527 </element> 2922 3528 <element name="f1_nmVal" type="float" min="0" max="100" default="0.05"/> 2923 <element name="f1_nmWei" type="float" min="0" max="100" default="1 "/>3529 <element name="f1_nmWei" type="float" min="0" max="100" default="1.0"/> 2924 3530 <element name="f1_smComma" type="float" min="0" max="100" default="0.02"/> 2925 3531 <element name="f1_smJunct" type="float" min="0" max="100" default="0.02"/> 2926 3532 <element name="f1_smModif" type="float" min="0" max="100" default="0.1"> 2927 <description><![CDATA[Modifiers: RrLlAaCcFfMmSsIiQqWwEe]]></description>3533 <description><![CDATA[Modifiers: LlRrCcQqFfMmIiWwEeAaSsDdGgBbHh]]></description> 2928 3534 </element> 2929 3535 <element name="f1_smX" type="float" min="0" max="100" default="0.05"/> … … 2983 3589 <description><![CDATA[]]></description> 2984 3590 </element> 2985 <element name="f4_mut_add" type="float" min="0" max="100" default="50 ">3591 <element name="f4_mut_add" type="float" min="0" max="100" default="50.0"> 2986 3592 <description><![CDATA[mutation: probability of adding a node]]></description> 2987 3593 </element> 2988 <element name="f4_mut_add_conn" type="float" min="0" max="100" default="15 ">3594 <element name="f4_mut_add_conn" type="float" min="0" max="100" default="15.0"> 2989 3595 <description><![CDATA[add node mutation: probability of adding a neural connection]]></description> 2990 3596 </element> 2991 <element name="f4_mut_add_div" type="float" min="0" max="100" default="20 ">3597 <element name="f4_mut_add_div" type="float" min="0" max="100" default="20.0"> 2992 3598 <description><![CDATA[add node mutation: probability of adding a division]]></description> 2993 3599 </element> 2994 <element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5 ">3600 <element name="f4_mut_add_neupar" type="float" min="0" max="100" default="5.0"> 2995 3601 <description><![CDATA[add node mutation: probability of adding a neuron property/modifier]]></description> 2996 3602 </element> 2997 <element name="f4_mut_add_rep" type="float" min="0" max="100" default="10 ">3603 <element name="f4_mut_add_rep" type="float" min="0" max="100" default="10.0"> 2998 3604 <description><![CDATA[add node mutation: probability of adding a repetition]]></description> 2999 3605 </element> 3000 <element name="f4_mut_add_simp" type="float" min="0" max="100" default="50 ">3606 <element name="f4_mut_add_simp" type="float" min="0" max="100" default="50.0"> 3001 3607 <description><![CDATA[add node mutation: probability of adding a random, simple gene]]></description> 3002 3608 </element> 3003 <element name="f4_mut_del" type="float" min="0" max="100" default="20 ">3609 <element name="f4_mut_del" type="float" min="0" max="100" default="20.0"> 3004 3610 <description><![CDATA[mutation: probability of deleting a node]]></description> 3005 3611 </element> 3006 <element name="f4_mut_mod" type="float" min="0" max="100" default="30 ">3612 <element name="f4_mut_mod" type="float" min="0" max="100" default="30.0"> 3007 3613 <description><![CDATA[mutation: probability of changing a node]]></description> 3614 </element> 3615 <element name="feed" type="integer" min="0" max="100"> 3616 <description><![CDATA[Number of energy pieces in the world]]></description> 3617 </element> 3618 <element name="feede0" type="float" min="0" max="1000"> 3619 <description><![CDATA[]]></description> 3620 </element> 3621 <element name="feedtrans" type="float" min="0" max="100"> 3622 <description><![CDATA[]]></description> 3008 3623 </element> 3009 3624 <element name="filecomm" type="integer" min="0" max="1" default="1"> 3010 3625 <description><![CDATA[Display comments encountered in opened files]]></description> 3626 </element> 3627 <element name="foodgen" type="string"> 3628 <description><![CDATA[The default food model is a simple, single part object: 3629 //0 3630 m:Vstyle=food 3631 p: 3632 (this genotype is used when you leave this field blank). 3633 You can specify another genotype to create "intelligent" or mobile food.]]></description> 3011 3634 </element> 3012 3635 <element name="gen_extmutinfo" type="integer" min="0" max="2" default="0"> … … 3020 3643 <description><![CDATA[Required for phylogenetic analysis]]></description> 3021 3644 </element> 3645 <element name="genepools" type="GenePools"/> 3022 3646 <element name="genkonw0" type="integer" min="0" max="1"> 3023 3647 <description><![CDATA[]]></description> … … 3032 3656 <description><![CDATA[]]></description> 3033 3657 </element> 3034 <element name="genolib" type="GenePools"/> 3658 <element name="genkonw4" type="integer" min="0" max="1"> 3659 <description><![CDATA[]]></description> 3660 </element> 3035 3661 <element name="genoper_f0" type="integer" min="0" max="0"> 3036 3662 <description><![CDATA[]]></description> … … 3049 3675 </element> 3050 3676 <element name="groupchk" type="integer" min="0" max="1"/> 3677 <element name="identity" type="integer"> 3678 <description><![CDATA[-1 for master simulator, 0...count-1 for slaves]]></description> 3679 </element> 3051 3680 <element name="importchk" type="integer" min="0" max="1"/> 3052 <element name="livelib" type="Populations"/> 3681 <element name="initialgen" type="string"> 3682 <description><![CDATA[The gene pool will be replaced with the supplied genotype when the experiment begins. 3683 Use the empty initial genotype if you want to preserve the current gene pool.]]></description> 3684 </element> 3685 <element name="lastCheckpoint" type="untyped"> 3686 <description><![CDATA[Most recently reported by the experiment definition script.]]></description> 3687 </element> 3053 3688 <element name="loadchk" type="integer" min="0" max="1"/> 3054 <element name="maxjoint" type="float" min="0" max="100" default="2"/> 3055 <element name="minjoint" type="float" min="0" max="100" default="0"/> 3689 <element name="log" type="integer" min="0" max="5"> 3690 <description><![CDATA[Sends [LOG] messages with genotypes count and minimal, average and best gene pool fitness, which can be used to produce graphs by external tools like gnuplot or Excel. 3691 It also sends the [LOGTITLE] message on experiment initialization, which summarizes most important parameters of your experiment. It can be used as a graph title.]]></description> 3692 </element> 3693 <element name="makesound" type="integer" min="0" max="1" default="0"> 3694 <description><![CDATA[Emit sounds on improvements? (frequency depends on the magnitude of improvement)]]></description> 3695 </element> 3696 <element name="MaxCreated" type="integer" min="0" max="50"> 3697 <description><![CDATA[]]></description> 3698 </element> 3699 <element name="maxjoint" type="float" min="0" max="100" default="2.0"/> 3700 <element name="minfitness" type="float"> 3701 <description><![CDATA[Minimal fitness that allows to automatically stop evolution when stagnation detected]]></description> 3702 </element> 3703 <element name="minjoint" type="float" min="0" max="100" default="0.0"/> 3056 3704 <element name="neuadd_N" type="integer" min="0" max="1"> 3057 3705 <description><![CDATA[Standard neuron … … 3121 3769 ]]></description> 3122 3770 </element> 3123 <element name="neuadd_ *" type="integer" min="0" max="1">3771 <element name="neuadd_Constant" type="integer" min="0" max="1"> 3124 3772 <description><![CDATA[Constant value 3125 3773 … … 3130 3778 ]]></description> 3131 3779 </element> 3132 <element name="neuadd_ |" type="integer" min="0" max="1">3780 <element name="neuadd_Bend_muscle" type="integer" min="0" max="1"> 3133 3781 <description><![CDATA[Characteristics: 3134 3782 uses single input … … 3141 3789 bending range (r) float 0..1]]></description> 3142 3790 </element> 3143 <element name="neuadd_ @" type="integer" min="0" max="1">3791 <element name="neuadd_Rotation_muscle" type="integer" min="0" max="1"> 3144 3792 <description><![CDATA[Characteristics: 3145 3793 uses single input … … 3300 3948 time (t) float 0..6.28319]]></description> 3301 3949 </element> 3950 <element name="neuadd_Mzm" type="integer" min="0" max="1"> 3951 <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile. 3952 3953 Characteristics: 3954 does not use inputs 3955 provides output value 3956 does not require location in body 3957 ]]></description> 3958 </element> 3959 <element name="neuadd_OThr" type="integer" min="0" max="1"> 3960 <description><![CDATA[Characteristics: 3961 uses single input 3962 does not provide output value 3963 should be located on a Joint 3964 ]]></description> 3965 </element> 3966 <element name="neuadd_SeeLight" type="integer" min="0" max="1"> 3967 <description><![CDATA[Characteristics: 3968 does not use inputs 3969 provides output value 3970 should be located on a Part 3971 3972 3973 Properties: 3974 (flavor) float 0..4]]></description> 3975 </element> 3976 <element name="neuadd_Linb" type="integer" min="0" max="1"> 3977 <description><![CDATA[output=input(bez sumowania) 3978 3979 Characteristics: 3980 supports any number of inputs 3981 provides output value 3982 does not require location in body 3983 ]]></description> 3984 </element> 3985 <element name="neuadd_Delay" type="integer" min="0" max="1"> 3986 <description><![CDATA[Characteristics: 3987 supports any number of inputs 3988 provides output value 3989 does not require location in body 3990 3991 3992 Properties: 3993 delay time (in steps) (t) integer 1..1000]]></description> 3994 </element> 3995 <element name="neuadd_ntest" type="integer" min="0" max="1"> 3996 <description><![CDATA[Characteristics: 3997 uses single input 3998 provides output value 3999 should be located on a Joint 4000 ]]></description> 4001 </element> 4002 <element name="neuadd_WarnLR" type="integer" min="0" max="1"> 4003 <description><![CDATA[Characteristics: 4004 does not use inputs 4005 provides output value 4006 does not require location in body 4007 4008 4009 Properties: 4010 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 4011 </element> 4012 <element name="neuadd_SeeLight2" type="integer" min="0" max="1"> 4013 <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter). 4014 4015 Characteristics: 4016 does not use inputs 4017 provides output value 4018 should be located on a Part 4019 4020 4021 Properties: 4022 (range) float 0..100]]></description> 4023 </element> 4024 <element name="neuadd_FeelInjury" type="integer" min="0" max="1"> 4025 <description><![CDATA[Characteristics: 4026 supports any number of inputs 4027 does not provide output value 4028 does not require location in body 4029 ]]></description> 4030 </element> 4031 <element name="neuadd_PIDV" type="integer" min="0" max="1"> 4032 <description><![CDATA[PID Regulator (velocity/incremental form) 4033 4034 Characteristics: 4035 uses single input 4036 provides output value 4037 does not require location in body 4038 4039 4040 Properties: 4041 K (k) float 0.01..100 4042 Ti (ti) float 0.01..100 4043 Td (td) float 0.01..100]]></description> 4044 </element> 4045 <element name="neuadd_Lin" type="integer" min="0" max="1"> 4046 <description><![CDATA[output=input 4047 4048 Characteristics: 4049 supports any number of inputs 4050 provides output value 4051 does not require location in body 4052 ]]></description> 4053 </element> 4054 <element name="neuadd_WarnDD" type="integer" min="0" max="1"> 4055 <description><![CDATA[Characteristics: 4056 does not use inputs 4057 provides output value 4058 does not require location in body 4059 4060 4061 Properties: 4062 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 4063 </element> 4064 <element name="neuadd_Sf" type="integer" min="0" max="1"> 4065 <description><![CDATA[Detects only food, not other creatures 4066 (in experiments with food in group #1) 4067 4068 Characteristics: 4069 does not use inputs 4070 provides output value 4071 should be located on a Part 4072 ]]></description> 4073 </element> 4074 <element name="neuadd_Nn" type="integer" min="0" max="1"> 4075 <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value 4076 4077 Characteristics: 4078 supports any number of inputs 4079 provides output value 4080 does not require location in body 4081 4082 4083 Properties: 4084 Error rate (e) float 0..0.1]]></description> 4085 </element> 4086 <element name="neuadd_Rdr" type="integer" min="0" max="1"> 4087 <description><![CDATA[Characteristics: 4088 uses single input 4089 does not provide output value 4090 does not require location in body 4091 4092 4093 Properties: 4094 ()]]></description> 4095 </element> 4096 <element name="neuadd_WarnDist" type="integer" min="0" max="1"> 4097 <description><![CDATA[Characteristics: 4098 does not use inputs 4099 provides output value 4100 does not require location in body 4101 4102 4103 Properties: 4104 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 4105 </element> 4106 <element name="neuadd_Cmp" type="integer" min="0" max="1"> 4107 <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*. 4108 4109 Characteristics: 4110 does not use inputs 4111 provides output value 4112 should be located on a Part 4113 ]]></description> 4114 </element> 4115 <element name="neuadd_Light" type="integer" min="0" max="1"> 4116 <description><![CDATA[Characteristics: 4117 supports any number of inputs 4118 does not provide output value 4119 should be located on a Part 4120 4121 4122 Properties: 4123 (flavor) float 0..4]]></description> 4124 </element> 4125 <element name="neuadd_Thr" type="integer" min="0" max="1"> 4126 <description><![CDATA[if (input>=t) then output=hi else output=lo 4127 4128 Characteristics: 4129 supports any number of inputs 4130 provides output value 4131 does not require location in body 4132 4133 4134 Properties: 4135 threshold (t) float 4136 low output value (lo) float 4137 high output value (hi) float]]></description> 4138 </element> 4139 <element name="neuadd_PIDP" type="integer" min="0" max="1"> 4140 <description><![CDATA[PID Regulator (positional/full value form) 4141 4142 Characteristics: 4143 uses single input 4144 provides output value 4145 does not require location in body 4146 4147 4148 Properties: 4149 K (k) float 0.01..100 4150 Ti (ti) float 0.01..100 4151 Td (td) float 0.01..100]]></description> 4152 </element> 4153 <element name="neuadd_ptest" type="integer" min="0" max="1"> 4154 <description><![CDATA[different parameter datatypes 4155 4156 Characteristics: 4157 uses single input 4158 provides output value 4159 does not require location in body 4160 4161 4162 Properties: 4163 first integer (i1) integer 4164 first float (f1) float 4165 first string (s1) string 4166 second integer (i2) integer 4167 second float (f2) float 4168 second string (s2) string]]></description> 4169 </element> 4170 <element name="neuadd_FF" type="integer" min="0" max="1"> 4171 <description><![CDATA[Characteristics: 4172 supports any number of inputs 4173 does not provide output value 4174 should be located on a Part 4175 ]]></description> 4176 </element> 3302 4177 <element name="ncl_N" type="integer" min="0" max="1"> 3303 4178 <description><![CDATA[Standard neuron … … 3367 4242 ]]></description> 3368 4243 </element> 3369 <element name="ncl_ *" type="integer" min="0" max="1">4244 <element name="ncl_Constant" type="integer" min="0" max="1"> 3370 4245 <description><![CDATA[Constant value 3371 4246 … … 3376 4251 ]]></description> 3377 4252 </element> 3378 <element name="ncl_ |" type="integer" min="0" max="1">4253 <element name="ncl_Bend_muscle" type="integer" min="0" max="1"> 3379 4254 <description><![CDATA[Characteristics: 3380 4255 uses single input … … 3387 4262 bending range (r) float 0..1]]></description> 3388 4263 </element> 3389 <element name="ncl_ @" type="integer" min="0" max="1">4264 <element name="ncl_Rotation_muscle" type="integer" min="0" max="1"> 3390 4265 <description><![CDATA[Characteristics: 3391 4266 uses single input … … 3546 4421 time (t) float 0..6.28319]]></description> 3547 4422 </element> 3548 <element name="nnspeed" type="float" min="0" max="1000" default="1"> 4423 <element name="ncl_Mzm" type="integer" min="0" max="1"> 4424 <description><![CDATA[Helps framstick navigate through a maze. This acts as a memory of already visited places. Returns 1 if the framstick has already visited current block, 0 otherwise. The memory is not volatile. 4425 4426 Characteristics: 4427 does not use inputs 4428 provides output value 4429 does not require location in body 4430 ]]></description> 4431 </element> 4432 <element name="ncl_OThr" type="integer" min="0" max="1"> 4433 <description><![CDATA[Characteristics: 4434 uses single input 4435 does not provide output value 4436 should be located on a Joint 4437 ]]></description> 4438 </element> 4439 <element name="ncl_SeeLight" type="integer" min="0" max="1"> 4440 <description><![CDATA[Characteristics: 4441 does not use inputs 4442 provides output value 4443 should be located on a Part 4444 4445 4446 Properties: 4447 (flavor) float 0..4]]></description> 4448 </element> 4449 <element name="ncl_Linb" type="integer" min="0" max="1"> 4450 <description><![CDATA[output=input(bez sumowania) 4451 4452 Characteristics: 4453 supports any number of inputs 4454 provides output value 4455 does not require location in body 4456 ]]></description> 4457 </element> 4458 <element name="ncl_Delay" type="integer" min="0" max="1"> 4459 <description><![CDATA[Characteristics: 4460 supports any number of inputs 4461 provides output value 4462 does not require location in body 4463 4464 4465 Properties: 4466 delay time (in steps) (t) integer 1..1000]]></description> 4467 </element> 4468 <element name="ncl_ntest" type="integer" min="0" max="1"> 4469 <description><![CDATA[Characteristics: 4470 uses single input 4471 provides output value 4472 should be located on a Joint 4473 ]]></description> 4474 </element> 4475 <element name="ncl_WarnLR" type="integer" min="0" max="1"> 4476 <description><![CDATA[Characteristics: 4477 does not use inputs 4478 provides output value 4479 does not require location in body 4480 4481 4482 Properties: 4483 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 4484 </element> 4485 <element name="ncl_SeeLight2" type="integer" min="0" max="1"> 4486 <description><![CDATA[Returns the average signal intensity of all nearby transmitters. Unlike "SeeLight", signals do not attenuate over distance (however, the maximal signal distance is limited by the "range" parameter). 4487 4488 Characteristics: 4489 does not use inputs 4490 provides output value 4491 should be located on a Part 4492 4493 4494 Properties: 4495 (range) float 0..100]]></description> 4496 </element> 4497 <element name="ncl_FeelInjury" type="integer" min="0" max="1"> 4498 <description><![CDATA[Characteristics: 4499 supports any number of inputs 4500 does not provide output value 4501 does not require location in body 4502 ]]></description> 4503 </element> 4504 <element name="ncl_PIDV" type="integer" min="0" max="1"> 4505 <description><![CDATA[PID Regulator (velocity/incremental form) 4506 4507 Characteristics: 4508 uses single input 4509 provides output value 4510 does not require location in body 4511 4512 4513 Properties: 4514 K (k) float 0.01..100 4515 Ti (ti) float 0.01..100 4516 Td (td) float 0.01..100]]></description> 4517 </element> 4518 <element name="ncl_Lin" type="integer" min="0" max="1"> 4519 <description><![CDATA[output=input 4520 4521 Characteristics: 4522 supports any number of inputs 4523 provides output value 4524 does not require location in body 4525 ]]></description> 4526 </element> 4527 <element name="ncl_WarnDD" type="integer" min="0" max="1"> 4528 <description><![CDATA[Characteristics: 4529 does not use inputs 4530 provides output value 4531 does not require location in body 4532 4533 4534 Properties: 4535 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 4536 </element> 4537 <element name="ncl_Sf" type="integer" min="0" max="1"> 4538 <description><![CDATA[Detects only food, not other creatures 4539 (in experiments with food in group #1) 4540 4541 Characteristics: 4542 does not use inputs 4543 provides output value 4544 should be located on a Part 4545 ]]></description> 4546 </element> 4547 <element name="ncl_Nn" type="integer" min="0" max="1"> 4548 <description><![CDATA[Propagates weighted inputs onto the output, but occassionally generates a random value 4549 4550 Characteristics: 4551 supports any number of inputs 4552 provides output value 4553 does not require location in body 4554 4555 4556 Properties: 4557 Error rate (e) float 0..0.1]]></description> 4558 </element> 4559 <element name="ncl_Rdr" type="integer" min="0" max="1"> 4560 <description><![CDATA[Characteristics: 4561 uses single input 4562 does not provide output value 4563 does not require location in body 4564 4565 4566 Properties: 4567 ()]]></description> 4568 </element> 4569 <element name="ncl_WarnDist" type="integer" min="0" max="1"> 4570 <description><![CDATA[Characteristics: 4571 does not use inputs 4572 provides output value 4573 does not require location in body 4574 4575 4576 Properties: 4577 Maximum distance signal is sensed (maxDist) float 1..1000]]></description> 4578 </element> 4579 <element name="ncl_Cmp" type="integer" min="0" max="1"> 4580 <description><![CDATA[Helps framstick navigate through a maze. Output returns 1 if there is a free space in the direction where the joint to which the neuron is attahced points, 0 otherwise. NOTE: This neuron *must* be attached to a *joint*. 4581 4582 Characteristics: 4583 does not use inputs 4584 provides output value 4585 should be located on a Part 4586 ]]></description> 4587 </element> 4588 <element name="ncl_Light" type="integer" min="0" max="1"> 4589 <description><![CDATA[Characteristics: 4590 supports any number of inputs 4591 does not provide output value 4592 should be located on a Part 4593 4594 4595 Properties: 4596 (flavor) float 0..4]]></description> 4597 </element> 4598 <element name="ncl_Thr" type="integer" min="0" max="1"> 4599 <description><![CDATA[if (input>=t) then output=hi else output=lo 4600 4601 Characteristics: 4602 supports any number of inputs 4603 provides output value 4604 does not require location in body 4605 4606 4607 Properties: 4608 threshold (t) float 4609 low output value (lo) float 4610 high output value (hi) float]]></description> 4611 </element> 4612 <element name="ncl_PIDP" type="integer" min="0" max="1"> 4613 <description><![CDATA[PID Regulator (positional/full value form) 4614 4615 Characteristics: 4616 uses single input 4617 provides output value 4618 does not require location in body 4619 4620 4621 Properties: 4622 K (k) float 0.01..100 4623 Ti (ti) float 0.01..100 4624 Td (td) float 0.01..100]]></description> 4625 </element> 4626 <element name="ncl_ptest" type="integer" min="0" max="1"> 4627 <description><![CDATA[different parameter datatypes 4628 4629 Characteristics: 4630 uses single input 4631 provides output value 4632 does not require location in body 4633 4634 4635 Properties: 4636 first integer (i1) integer 4637 first float (f1) float 4638 first string (s1) string 4639 second integer (i2) integer 4640 second float (f2) float 4641 second string (s2) string]]></description> 4642 </element> 4643 <element name="ncl_FF" type="integer" min="0" max="1"> 4644 <description><![CDATA[Characteristics: 4645 supports any number of inputs 4646 does not provide output value 4647 should be located on a Part 4648 ]]></description> 4649 </element> 4650 <element name="nnoise" type="float" min="0" max="1" default="0.0"> 4651 <description><![CDATA[Gaussian neural noise: a random value is added to each neural output in each simulation step. Set standard deviation here to add random noise, or 0 for deterministic simulation.]]></description> 4652 </element> 4653 <element name="nnspeed" type="float" min="0" max="1000" default="1.0"> 3549 4654 <description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description> 4655 </element> 4656 <element name="notes" type="string"> 4657 <description><![CDATA[You can write anything here 4658 (it will be saved to the experiment file)]]></description> 3550 4659 </element> 3551 4660 <element name="odeairdrag" type="float" min="0" max="0.5" default="0.01"> … … 3554 4663 <element name="odecol2bounce" type="float" min="0" max="1" default="0.1"/> 3555 4664 <element name="odecol2bouncevel" type="float" min="0" max="1" default="0.01"/> 3556 <element name="odecol2mumax" type="float" min="0" max="10" default="1 ">4665 <element name="odecol2mumax" type="float" min="0" max="10" default="1.0"> 3557 4666 <description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description> 3558 4667 </element> … … 3560 4669 <description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description> 3561 4670 </element> 3562 <element name="odecol2softcfm" type="float" min="0" max="1" default="0 "/>3563 <element name="odecol2softerp" type="float" min="0" max="1" default="0 "/>4671 <element name="odecol2softcfm" type="float" min="0" max="1" default="0.0"/> 4672 <element name="odecol2softerp" type="float" min="0" max="1" default="0.0"/> 3564 4673 <element name="odecolbounce" type="float" min="0" max="1" default="0.1"/> 3565 4674 <element name="odecolbouncevel" type="float" min="0" max="1" default="0.01"/> 3566 <element name="odecolmumax" type="float" min="0" max="10" default="5 ">4675 <element name="odecolmumax" type="float" min="0" max="10" default="5.0"> 3567 4676 <description><![CDATA[Mu coefficient for Parts with maximal friction (i.e. "FFFFF" in f1)]]></description> 3568 4677 </element> … … 3570 4679 <description><![CDATA[Mu coefficient for Parts with minimal friction (i.e. "fffff" in f1)]]></description> 3571 4680 </element> 3572 <element name="odecolsoftcfm" type="float" min="0" max="1" default="0 "/>3573 <element name="odecolsofterp" type="float" min="0" max="1" default="0 "/>3574 <element name="odemusclemax" type="float" min="0" max="100" default="10 ">4681 <element name="odecolsoftcfm" type="float" min="0" max="1" default="0.0"/> 4682 <element name="odecolsofterp" type="float" min="0" max="1" default="0.0"/> 4683 <element name="odemusclemax" type="float" min="0" max="100" default="10.0"> 3575 4684 <description><![CDATA[i.e. "MMMMM" if f1]]></description> 3576 4685 </element> 3577 <element name="odemusclemin" type="float" min="0" max="100" default="0 ">4686 <element name="odemusclemin" type="float" min="0" max="100" default="0.0"> 3578 4687 <description><![CDATA[i.e. "mmmmm" in f1]]></description> 3579 4688 </element> 3580 <element name="odemusclespeed" type="float" min="0" max="10" default="1 ">4689 <element name="odemusclespeed" type="float" min="0" max="10" default="1.0"> 3581 4690 <description><![CDATA[Muscle state cannot change faster than the supplied value]]></description> 3582 4691 </element> 3583 4692 <element name="odeseed" type="integer" min="0" max="2"> 3584 4693 <description><![CDATA[Affects collisions. 3585 - 'Truly random' is closest to the standard ODE operation. Use Math.seed to influence randomness in ODE collisions 3586 - 'Deterministic' automatically calculates random seed in each step based on the current simulation (world) state, which makes the simulation repeatable but more random than 'Fixed' 3587 - 'Fixed' is completely deterministic and does not depend on Math.seed . This might negatively affect ODE accuracy4694 - 'Truly random' is closest to the standard ODE operation. Use Math.seed to influence randomness in ODE collisions. 4695 - 'Deterministic' automatically calculates random seed in each step based on the current simulation (world) state, which makes the simulation repeatable but more random than 'Fixed'. 4696 - 'Fixed' is completely deterministic and does not depend on Math.seed - the same seed value is set before each step. This might negatively affect ODE accuracy. 3588 4697 ]]></description> 3589 4698 </element> … … 3593 4702 <element name="odeshape" type="integer" min="0" max="1"/> 3594 4703 <element name="odestep" type="float" min="0.001" max="1" default="0.05"/> 3595 <element name="odewaterbuoy" type="float" min="0" max="2" default="1 "/>4704 <element name="odewaterbuoy" type="float" min="0" max="2" default="1.0"/> 3596 4705 <element name="odewaterdrag" type="float" min="0.001" max="1" default="0.5"/> 3597 4706 <element name="odeworldcfm" type="float" min="0" max="1" default="1e-05"> … … 3604 4713 <description><![CDATA[Overwite existing files or create their backups]]></description> 3605 4714 </element> 4715 <element name="p_mut" type="float" min="0" max="100"> 4716 <description><![CDATA[]]></description> 4717 </element> 4718 <element name="p_nop" type="float" min="0" max="100"> 4719 <description><![CDATA[]]></description> 4720 </element> 4721 <element name="p_xov" type="float" min="0" max="100"> 4722 <description><![CDATA[]]></description> 4723 </element> 4724 <element name="placement" type="integer" min="0" max="1"> 4725 <description><![CDATA[For 'Central' placement, newborn creatures are placed at the world center, if possible.]]></description> 4726 </element> 4727 <element name="populations" type="Populations"/> 3606 4728 <element name="randinit" type="float" min="0" max="10" default="0.01"> 3607 <description><![CDATA[Allowed range for initializing all neuron states with uniform distribution random numbers and zero mean. Set 0 for deterministic initialization.]]></description>4729 <description><![CDATA[Allowed range for initializing all neuron states with uniform distribution random numbers and zero mean. Set to 0 for deterministic initialization.]]></description> 3608 4730 </element> 3609 4731 <element name="resetonexpdef" type="integer" min="0" max="1" default="1"> 3610 4732 <description><![CDATA[If turned on: when a new experiment definition is selected, default values are loaded for most of the simulator parameters, and gene pools and populations are cleared. 3611 When turned off: parameters from previous experiment definition will remain.]]></description> 4733 If turned off: parameters from previous experiment definition will remain (dangerous).]]></description> 4734 </element> 4735 <element name="rotation" type="integer" min="0" max="4"> 4736 <description><![CDATA[Initial heading of newborn creatures]]></description> 3612 4737 </element> 3613 4738 <element name="running" type="integer" min="0" max="1"> 3614 <description><![CDATA[for synchronizing the user interface state]]></description> 4739 <description><![CDATA[useful for synchronizing the user interface state]]></description> 4740 </element> 4741 <element name="savebest" type="integer" min="0" max="3"> 4742 <description><![CDATA[Saves (on each improvement) best found genotype or a complete experiment state to a file in scripts_output subdirectory.]]></description> 4743 </element> 4744 <element name="selrule" type="integer" min="0" max="5"> 4745 <description><![CDATA[Positive selection: how to choose genotypes for cloning/mutation/crossover]]></description> 3615 4746 </element> 3616 4747 <element name="signals" type="WorldSignals"/> … … 3621 4752 <description><![CDATA[]]></description> 3622 4753 </element> 3623 <element name="simil_partdeg" type="float" min="0" max="100" default="1 ">3624 <description><![CDATA[]]></description> 3625 </element> 3626 <element name="simil_parts" type="float" min="0" max="100" default="0 ">4754 <element name="simil_partdeg" type="float" min="0" max="100" default="1.0"> 4755 <description><![CDATA[]]></description> 4756 </element> 4757 <element name="simil_parts" type="float" min="0" max="100" default="0.0"> 3627 4758 <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description> 3628 4759 </element> … … 3635 4766 3636 4767 NOTE: switching between simulation engines causes removal of all objects in the world (e.g. creatures).]]></description> 4768 </element> 4769 <element name="slaves" type="SlaveSimulators"/> 4770 <element name="stagnation" type="integer" min="0" max="1000000" default="0"> 4771 <description><![CDATA[No improvement period required to stop simulation (stagnation). 0 disables automatic stopping.]]></description> 3637 4772 </element> 3638 4773 <element name="symAlphaSteps" type="integer" min="2" max="50" default="20"> … … 3650 4785 <element name="symResultD" type="float"/> 3651 4786 <element name="time" type="integer"/> 3652 <element name="touchrange" type="float" min="0" max="100" default="1"/> 4787 <element name="totaltestedcr" type="integer"> 4788 <description><![CDATA[Total number of creatures evaluated in the experiment]]></description> 4789 </element> 4790 <element name="totaltests" type="integer"> 4791 <description><![CDATA[Total number of evaluations in the experiment. 4792 This is equivalent to "Evaluated creatures" unless multiple evaluation is activated.]]></description> 4793 </element> 4794 <element name="touchrange" type="float" min="0" max="100" default="1.0"/> 4795 <element name="user" type="untyped"/> 3653 4796 <element name="usercode" type="string"> 3654 4797 <description><![CDATA[This script overrides the experiment definition]]></description> 3655 4798 </element> 4799 <element name="vmdebug" type="integer" min="0" max="1"/> 3656 4800 <element name="world" type="World"/> 3657 4801 <element name="wrldbnd" type="integer" min="0" max="2" default="1"/> 3658 <element name="wrldg" type="float" min="0" max="10" default="1 ">4802 <element name="wrldg" type="float" min="0" max="10" default="1.0"> 3659 4803 <description><![CDATA[You can adjust gravity for your experiments. 3660 4804 The "official" setting used to evaluate and compare creatures is 1.]]></description> … … 3670 4814 See also the WorldMap object.]]></description> 3671 4815 </element> 3672 <element name="wrldsiz" type="float" min="10" max="1000" default="20 ">4816 <element name="wrldsiz" type="float" min="10" max="1000" default="20.0"> 3673 4817 <description><![CDATA[Side length of the world]]></description> 3674 4818 </element> 3675 4819 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 3676 <element name="wrldwat" type="float" min="-20" max="50" default="-1"/> 4820 <element name="wrldwat" type="float" min="-20" max="50" default="-1.0"/> 4821 <element name="xov_mins" type="float" min="0" max="9999"> 4822 <description><![CDATA[Only genotypes with dissimilarity below this threshold will be crossed over. 4823 Value of 0 means no crossover restrictions.]]></description> 4824 </element> 3677 4825 <element name="add" function="true"/> 3678 4826 <element name="addGroup" function="true"/> … … 3710 4858 <description><![CDATA[This function was previously called "autosave".]]></description> 3711 4859 <arguments/></element> 4860 <element name="checkpointData" function="true" type="void"> 4861 <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> 4862 <arguments> 4863 <argument name="any_data" type="untyped"/> 4864 </arguments> 4865 </element> 3712 4866 <element name="clear" function="true"/> 4867 <element name="cleardata" function="true"> 4868 <description><![CDATA[Sets the number of instances of each genotype to zero (as if it has never been evaluated). 4869 Genotype performance values stay intact, yet they are meaningless if a genotype has no instances.]]></description> 4870 </element> 3713 4871 <element name="crossOver" function="true" type="Geno"> 3714 4872 <description><![CDATA[returns crossed over genotype]]></description> … … 3724 4882 </element> 3725 4883 <element name="evaluateDistance" function="true" type="float"> 3726 <description><![CDATA[ calculate dissimilarity between two models created from Geno objects]]></description>4884 <description><![CDATA[Calculates dissimilarity between two models created from Geno objects. There are papers available that describe details of the computation method.]]></description> 3727 4885 <arguments> 3728 4886 <argument type="Geno"/> … … 3730 4888 </arguments> 3731 4889 </element> 3732 <element name="export" function="true" type=" void">4890 <element name="export" function="true" type="untyped"> 3733 4891 <description><![CDATA[Save some data to file. arguments: 3734 4892 - filename … … 3773 4931 </element> 3774 4932 <element name="import" function="true" type="void"> 3775 <description><![CDATA[Equivalent to import(filename,2+4+8+ 6) - imports genotypes, parameters, genepool and population settings]]></description>4933 <description><![CDATA[Equivalent to import(filename,2+4+8+16) - imports genotypes, parameters, genepool and population settings]]></description> 3776 4934 <arguments> 3777 4935 <argument name="filename" type="string"/> … … 3837 4995 <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description> 3838 4996 <arguments/></element> 3839 <element name="save" function="true" type=" void">4997 <element name="save" function="true" type="untyped"> 3840 4998 <description><![CDATA[Save experiment file (calls onExpSave() in the current experiment definition)]]></description> 3841 4999 <arguments> 3842 5000 <argument name="filename" type="string"/> 3843 5001 </arguments> 5002 </element> 5003 <element name="script_2D_layout" function="true"> 5004 <description><![CDATA[make a 2d layout (coord's provided)]]></description> 5005 </element> 5006 <element name="script_Alphabetic_symbols" function="true"> 5007 <description><![CDATA[]]></description> 5008 </element> 5009 <element name="script_Alternative_symbols" function="true"> 5010 <description><![CDATA[]]></description> 5011 </element> 5012 <element name="script_Brain_simplifier" function="true"> 5013 <description><![CDATA[Removes all brain neurons that do not influence effectors. Converts genotypes to f0.]]></description> 5014 </element> 5015 <element name="script_Calculate_symmetry" function="true"> 5016 <description><![CDATA[Calculate symmetry value and symmetry plane for all genotypes 5017 (note: may take a long time for complex bodies)]]></description> 5018 </element> 5019 <element name="script_Creatures_circle" function="true"> 5020 <description><![CDATA[Arranges living creatures (first population) in a circle, tallest in the middle 5021 (the tallest one is selected based on the vertical position which should already be measured)]]></description> 5022 </element> 5023 <element name="script_Dump_creatures" function="true"> 5024 <description><![CDATA[Dumps coordinates and velocities of all Parts of all living Creatures from group #0]]></description> 5025 </element> 5026 <element name="script_Food_circle" function="true"> 5027 <description><![CDATA[Arranges food pieces in a circle]]></description> 5028 </element> 5029 <element name="script_Food_circle_2" function="true"> 5030 <description><![CDATA[Arranges food pieces in a circle]]></description> 5031 </element> 5032 <element name="script_Gallery" function="true"> 5033 <description><![CDATA[Arranges creatures from the first gene pool in a grid]]></description> 5034 </element> 5035 <element name="script_Make_f0def_describing_all_neuron_classes" function="true"> 5036 <description><![CDATA[]]></description> 5037 </element> 5038 <element name="script_Make_neuroshtml_describing_all_neuron_classes" function="true"> 5039 <description><![CDATA[]]></description> 5040 </element> 5041 <element name="script_Make_regular_shapes" function="true"> 5042 <description><![CDATA[Make regular shapes (truss, sponge, grid, net)]]></description> 5043 </element> 5044 <element name="script_Neuro_inspection" function="true"> 5045 <description><![CDATA[Performs a given number of simulation steps, logs neural states of selected neurons, can also enforce states of selected neurons. 5046 The log file can be used for further analyses, or to draw plots in gnuplot (see neuro_insp_chart.gp) or another external program. 5047 See script source for details and settings.]]></description> 5048 </element> 5049 <element name="script_Neuro_test" function="true"> 5050 <description><![CDATA[Performs a given number of simulation steps and logs neural states of selected neurons. 5051 See script source for details and settings. 5052 ]]></description> 5053 </element> 5054 <element name="script_Neurons_report" function="true"> 5055 <description><![CDATA[Show all neuron classes and their names]]></description> 5056 </element> 5057 <element name="script_Print_creatures_coordinates" function="true"> 5058 <description><![CDATA[Print coordinates of Parts for all creatures from group #0.]]></description> 5059 </element> 5060 <element name="script_Reload_neuron_definitions" function="true"> 5061 <description><![CDATA[Reloads scripts/*.neuro files]]></description> 5062 </element> 5063 <element name="script_Rotate" function="true"> 5064 <description><![CDATA[]]></description> 5065 </element> 5066 <element name="script_Stabilizacja" function="true"> 5067 <description><![CDATA[]]></description> 5068 </element> 5069 <element name="script_svd_2D" function="true"> 5070 <description><![CDATA[make a 2d layout (coord's provided)]]></description> 5071 </element> 5072 <element name="script_Toy_Spring_Sticks" function="true"> 5073 <description><![CDATA[Make creature joints look like springs]]></description> 3844 5074 </element> 3845 5075 <element name="sleep" function="true" type="void"> … … 3890 5120 <description><![CDATA[]]></description> 3891 5121 </element> 3892 <element name="simil_partdeg" type="float" min="0" max="100" default="1 ">3893 <description><![CDATA[]]></description> 3894 </element> 3895 <element name="simil_parts" type="float" min="0" max="100" default="0 ">5122 <element name="simil_partdeg" type="float" min="0" max="100" default="1.0"> 5123 <description><![CDATA[]]></description> 5124 </element> 5125 <element name="simil_parts" type="float" min="0" max="100" default="0.0"> 3896 5126 <description><![CDATA[Differing number of parts is also handled by the 'part degree' similarity component.]]></description> 3897 5127 </element> 3898 5128 <element name="evaluateDistance" function="true" type="float"> 3899 <description><![CDATA[ calculate dissimilarity between two models created from Geno objects]]></description>5129 <description><![CDATA[Calculates dissimilarity between two models created from Geno objects. There are papers available that describe details of the computation method.]]></description> 3900 5130 <arguments> 3901 5131 <argument type="Geno"/> … … 3909 5139 <description><![CDATA[Save simulation state once every n-th event 3910 5140 (events are defined by the script. For 'standard.expdef' it is after each death). 3911 Save EXPT file first to initialize name for autosave files.]]></description> 3912 </element> 5141 Save EXPT file first to initialize name for autosave files. 5142 Slave simulators (in multithreaded experiments) ignore this setting and never create autosave files.]]></description> 5143 </element> 5144 <element name="cpus" type="integer"/> 3913 5145 <element name="createrr" type="integer" min="0" max="2" default="1"/> 3914 5146 <element name="creatwarnfail" type="integer" min="0" max="1"> … … 3924 5156 <element name="expdef_info" type="string"/> 3925 5157 <element name="expdef_title" type="string"/> 5158 <element name="expparams" type="ExpParams"/> 5159 <element name="expstate" type="ExpState"/> 3926 5160 <element name="filecomm" type="integer" min="0" max="1" default="1"> 3927 5161 <description><![CDATA[Display comments encountered in opened files]]></description> 3928 5162 </element> 3929 <element name="gen olib" type="GenePools"/>5163 <element name="genepools" type="GenePools"/> 3930 5164 <element name="groupchk" type="integer" min="0" max="1"/> 5165 <element name="identity" type="integer"> 5166 <description><![CDATA[-1 for master simulator, 0...count-1 for slaves]]></description> 5167 </element> 3931 5168 <element name="importchk" type="integer" min="0" max="1"/> 3932 <element name="livelib" type="Populations"/> 5169 <element name="lastCheckpoint" type="untyped"> 5170 <description><![CDATA[Most recently reported by the experiment definition script.]]></description> 5171 </element> 3933 5172 <element name="loadchk" type="integer" min="0" max="1"/> 3934 5173 <element name="overwrite" type="integer" min="0" max="1"> 3935 5174 <description><![CDATA[Overwite existing files or create their backups]]></description> 3936 5175 </element> 5176 <element name="populations" type="Populations"/> 3937 5177 <element name="resetonexpdef" type="integer" min="0" max="1" default="1"> 3938 5178 <description><![CDATA[If turned on: when a new experiment definition is selected, default values are loaded for most of the simulator parameters, and gene pools and populations are cleared. 3939 When turned off: parameters from previous experiment definition will remain.]]></description>5179 If turned off: parameters from previous experiment definition will remain (dangerous).]]></description> 3940 5180 </element> 3941 5181 <element name="running" type="integer" min="0" max="1"> 3942 <description><![CDATA[ for synchronizing the user interface state]]></description>5182 <description><![CDATA[useful for synchronizing the user interface state]]></description> 3943 5183 </element> 3944 5184 <element name="simspeed" type="integer"> 3945 5185 <description><![CDATA[steps/second]]></description> 3946 5186 </element> 5187 <element name="slaves" type="SlaveSimulators"/> 3947 5188 <element name="time" type="integer"/> 5189 <element name="user" type="untyped"/> 3948 5190 <element name="usercode" type="string"> 3949 5191 <description><![CDATA[This script overrides the experiment definition]]></description> 3950 5192 </element> 5193 <element name="vmdebug" type="integer" min="0" max="1"/> 3951 5194 <element name="world" type="World"/> 3952 5195 <element name="beep" function="true" type="void"> … … 3956 5199 <description><![CDATA[This function was previously called "autosave".]]></description> 3957 5200 <arguments/></element> 5201 <element name="checkpointData" function="true" type="void"> 5202 <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> 5203 <arguments> 5204 <argument name="any_data" type="untyped"/> 5205 </arguments> 5206 </element> 3958 5207 <element name="eval" function="true" type="void"> 3959 5208 <arguments> … … 3961 5210 </arguments> 3962 5211 </element> 3963 <element name="export" function="true" type=" void">5212 <element name="export" function="true" type="untyped"> 3964 5213 <description><![CDATA[Save some data to file. arguments: 3965 5214 - filename … … 3998 5247 </element> 3999 5248 <element name="import" function="true" type="void"> 4000 <description><![CDATA[Equivalent to import(filename,2+4+8+ 6) - imports genotypes, parameters, genepool and population settings]]></description>5249 <description><![CDATA[Equivalent to import(filename,2+4+8+16) - imports genotypes, parameters, genepool and population settings]]></description> 4001 5250 <arguments> 4002 5251 <argument name="filename" type="string"/> … … 4040 5289 <description><![CDATA[Clears groups and loads default values for simulator parameters, then calls onExpDefLoad() of the current experiment definition.]]></description> 4041 5290 <arguments/></element> 4042 <element name="save" function="true" type=" void">5291 <element name="save" function="true" type="untyped"> 4043 5292 <description><![CDATA[Save experiment file (calls onExpSave() in the current experiment definition)]]></description> 4044 5293 <arguments> … … 4066 5315 <description><![CDATA[the expdef script calls this to stop simulation]]></description> 4067 5316 <arguments/></element> 5317 </type> 5318 <type name="SlaveSimulators" context="Global context"> 5319 <element name="isolation" type="integer" min="0" max="1" default="1"> 5320 <description><![CDATA[Slave simulator access is filtered to exclude object references across simulator boundaries and ensure a safe multithreaded operation. 5321 1. Slave simulations objects can't be accessed from master while the slave simulator is running (except for Simulator.stop/start/running). 5322 2. Master simulator objects can't be passed to slave simulators 5323 3. Data objects (Vectors and Dictionaries) are passed by value rather than by reference (to make sure that no simulator contains a reference to another simulator's data). 5324 Setting isolation=0 disables these restrictions, which can lead to unpredictable results or crashes, but is sometimes useful for inspecting true object relationships. 5325 Sample cases: 5326 Simulator.slaves[0].stop(); - always permitted 5327 Simulator.slaves[0].expdef="prime"; - permitted if the slave simulator is not running 5328 var vec=[1,2,3]; Simulator.slaves[0].user=vec; vec.clear(); - vec has changed, user field is still [1,2,3] 5329 var vec=[1,2,GenePools[0]]; Simulator.slaves[0].user=vec; - user field becomes [1,2,null] (because master's GenePool object can't be passed to the slave) 5330 var g=Simulator.slaves[0].genepools[0][0].genotype; - but the slave's GenePool can be accessed from master (if the slave is not running at the moment)]]></description> 5331 </element> 5332 <element name="running" type="integer"> 5333 <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> 5334 </element> 5335 <element name="size" type="integer" min="0" max="50"> 5336 <description><![CDATA[Changing this value will create/remove slave simulator objects as needed.]]></description> 5337 </element> 5338 <element name="cancelAllEvents" function="true"> 5339 <description><![CDATA[see cancelEventsFromSlave()]]></description> 5340 </element> 5341 <element name="cancelEventsFromSlave" function="true" type="void"> 5342 <description><![CDATA[If the onSlaveStop() event is used to schedule work to a simulator, then you might want to cancel pending events when the experiment is aborted - otherwise it may be difficult to distinguish between self-stop events (called internally from the slave simulator to signal the job was completed) from abort-stop events (requested by the supervising simulator). Calling Simulator.slaves.stopAll(); Simulator.slaves.cancelAllEvents(); makes sure that no old events will be detected after that time point. Without cancelling, the old onSlaveStop() notification (the consequence of the abort-stop) might arrive after the next start() which may confuse the expdef code (slave events are asynchronous).]]></description> 5343 <arguments> 5344 <argument type="Simulator"/> 5345 </arguments> 5346 </element> 5347 <element name="create" function="true" type="Simulator"> 5348 <description><![CDATA[If you need to create AND store the reference to a newly created simulator object, then this function may be more readable than var s=Simulator.slaves[Simulator.slaves.size++];]]></description> 5349 <arguments/></element> 5350 <element name="get" function="true" type="Simulator"> 5351 <description><![CDATA[Access the slave simulator object (Simulator.slaves[index] works, too). 5352 Important: Do not operate on a simulator that is currently running, always stop() it first.]]></description> 5353 <arguments> 5354 <argument name="index" type="integer"/> 5355 </arguments> 5356 </element> 5357 <element name="remove" function="true" type="void"> 5358 <description><![CDATA[Also calls stop() if the simulator is running. Events assocated with the simulator being deleted are cancelled, so the expdef will not see the usual onSlaveStop.]]></description> 5359 <arguments> 5360 <argument name="index_or_object" type="untyped"/> 5361 </arguments> 5362 </element> 5363 <element name="removeAll" function="true"> 5364 <description><![CDATA[Same as Simulator.slaves=0;]]></description> 5365 </element> 5366 <element name="startAll" function="true"/> 5367 <element name="stopAll" function="true"/> 4068 5368 </type> 4069 5369 <type name="stats" context="Global context"> … … 4123 5423 <element name="st_avg_pos_y" type="float"/> 4124 5424 <element name="st_avg_pos_z" type="float"/> 5425 <element name="st_avg_selfcol" type="float"/> 5426 <element name="st_avg_selfcolstate" type="float"/> 4125 5427 <element name="st_avg_size_x" type="float"/> 4126 5428 <element name="st_avg_size_y" type="float"/> … … 4150 5452 <element name="st_max_pos_y" type="float"/> 4151 5453 <element name="st_max_pos_z" type="float"/> 5454 <element name="st_max_selfcol" type="float"/> 5455 <element name="st_max_selfcolstate" type="float"/> 4152 5456 <element name="st_max_size_x" type="float"/> 4153 5457 <element name="st_max_size_y" type="float"/> … … 4176 5480 <element name="st_min_pos_y" type="float"/> 4177 5481 <element name="st_min_pos_z" type="float"/> 5482 <element name="st_min_selfcol" type="float"/> 5483 <element name="st_min_selfcolstate" type="float"/> 4178 5484 <element name="st_min_size_x" type="float"/> 4179 5485 <element name="st_min_size_y" type="float"/> … … 4191 5497 <element name="removeGroup" function="true"/> 4192 5498 </type> 5499 <type name="StopEvent" context="Global context"> 5500 <description><![CDATA[StopEvent]]></description> 5501 <element name="index" type="integer"/> 5502 <element name="slave" type="Simulator"/> 5503 </type> 4193 5504 <type name="String" context="Global context"> 4194 5505 <description><![CDATA[String functions library.]]></description> … … 4203 5514 </arguments> 4204 5515 </element> 5516 <element name="deserialize" function="true" type="untyped"> 5517 <description><![CDATA[extract objects from textual representation]]></description> 5518 <arguments> 5519 <argument type="string"/> 5520 </arguments> 5521 </element> 4205 5522 <element name="format" function="true" type="string"> 4206 <description><![CDATA[Works like the standard C library "sprintf()" but only one %-argument is accepted.4207 Format string: %[-][+][0][width[.precision]]type5523 <description><![CDATA[Works like the standard C library "sprintf()". The '%' operator can be used as a shortcut, e.g. String.format("%x",123) is equivalent of "%x" % 123 5524 Character seqences beginning with % found in the format string are replaced by formatted values produced according to their corresponding format specifiers: %[-][+][0][width[.precision]]type 4208 5525 -: left adjust (default is right adjust) 4209 5526 +: place a sign (+ or -) before a number … … 4211 5528 width: minimum field width 4212 5529 precision: minimum number of decimal digits 4213 type: d=decimal integer, x/X=hexadecimal integer, f/g=floating point number, e="scientific" style floating point, t=time 5530 type: d=decimal integer, x/X=hexadecimal integer, f/g=floating point number, e="scientific" style floating point, c=character of a given ascii code, t=time, %=special case, outputs the literal % character 5531 Multiple values can be formatted in one call, by passing a vector as the second argument: 5532 String.format("a=%03d b=%.2f c=%s",[a,b,c]) or "a=%03d b=%.2f c=%s" % [a,b,c] 5533 Alternatively, if no % characters are required in the output string, the chained call can be used: 5534 "a=%03d b=%.2f c=%s" % a % b % c 5535 The above expression works as expected, because, unlike the regular sprintf, the formatting function preserves % characters left after using all input arguments: 5536 input: "a=%03d b=%.2f c=%s" % a % b % c 5537 actual meaning: (("a=%03d b=%.2f c=%s" % a) % b) % c 5538 phase 1: ("a=000 b=%.2f c=%s" % b) % c 5539 phase 2: "a=000 b=0.00 c=%s" % c 5540 result: "a=000 b=0.00 c=0" 5541 4214 5542 Examples: 4215 5543 String.format("|%07.2f|",Math.pi) -> ="|0003.14|" … … 4219 5547 String.format("%t",Math.time) -> ="Sun Apr 29 19:22:02 2007" 4220 5548 String.format("%T",Math.time) -> ="2007-05-29 19:22:02" 4221 ]]></description> 4222 <arguments> 4223 <argument name="format" type="string"/> 4224 <argument name="value" type="untyped"/> 5549 String.format("x=%d%%",100) -> ="100%" 5550 ]]></description> 5551 <arguments> 5552 <argument name="format_string" type="string"/> 5553 <argument name="value_or_vector" type="untyped"/> 4225 5554 </arguments> 4226 5555 </element> … … 4280 5609 <argument type="string"/> 4281 5610 <argument name="number of characters" type="integer"/> 5611 </arguments> 5612 </element> 5613 <element name="serialize" function="true" type="string"> 5614 <description><![CDATA[convert to textual representation, preserving the object hierarchy]]></description> 5615 <arguments> 5616 <argument type="untyped"/> 4282 5617 </arguments> 4283 5618 </element> … … 4374 5709 <element name="remove" function="true"/> 4375 5710 <element name="removeGroup" function="true"/> 5711 <element name="script_2D_layout" function="true"> 5712 <description><![CDATA[make a 2d layout (coord's provided)]]></description> 5713 </element> 5714 <element name="script_Alphabetic_symbols" function="true"> 5715 <description><![CDATA[]]></description> 5716 </element> 5717 <element name="script_Alternative_symbols" function="true"> 5718 <description><![CDATA[]]></description> 5719 </element> 5720 <element name="script_Brain_simplifier" function="true"> 5721 <description><![CDATA[Removes all brain neurons that do not influence effectors. Converts genotypes to f0.]]></description> 5722 </element> 5723 <element name="script_Calculate_symmetry" function="true"> 5724 <description><![CDATA[Calculate symmetry value and symmetry plane for all genotypes 5725 (note: may take a long time for complex bodies)]]></description> 5726 </element> 5727 <element name="script_Creatures_circle" function="true"> 5728 <description><![CDATA[Arranges living creatures (first population) in a circle, tallest in the middle 5729 (the tallest one is selected based on the vertical position which should already be measured)]]></description> 5730 </element> 5731 <element name="script_Dump_creatures" function="true"> 5732 <description><![CDATA[Dumps coordinates and velocities of all Parts of all living Creatures from group #0]]></description> 5733 </element> 5734 <element name="script_Food_circle" function="true"> 5735 <description><![CDATA[Arranges food pieces in a circle]]></description> 5736 </element> 5737 <element name="script_Food_circle_2" function="true"> 5738 <description><![CDATA[Arranges food pieces in a circle]]></description> 5739 </element> 5740 <element name="script_Gallery" function="true"> 5741 <description><![CDATA[Arranges creatures from the first gene pool in a grid]]></description> 5742 </element> 5743 <element name="script_Make_f0def_describing_all_neuron_classes" function="true"> 5744 <description><![CDATA[]]></description> 5745 </element> 5746 <element name="script_Make_neuroshtml_describing_all_neuron_classes" function="true"> 5747 <description><![CDATA[]]></description> 5748 </element> 5749 <element name="script_Make_regular_shapes" function="true"> 5750 <description><![CDATA[Make regular shapes (truss, sponge, grid, net)]]></description> 5751 </element> 5752 <element name="script_Neuro_inspection" function="true"> 5753 <description><![CDATA[Performs a given number of simulation steps, logs neural states of selected neurons, can also enforce states of selected neurons. 5754 The log file can be used for further analyses, or to draw plots in gnuplot (see neuro_insp_chart.gp) or another external program. 5755 See script source for details and settings.]]></description> 5756 </element> 5757 <element name="script_Neuro_test" function="true"> 5758 <description><![CDATA[Performs a given number of simulation steps and logs neural states of selected neurons. 5759 See script source for details and settings. 5760 ]]></description> 5761 </element> 5762 <element name="script_Neurons_report" function="true"> 5763 <description><![CDATA[Show all neuron classes and their names]]></description> 5764 </element> 5765 <element name="script_Print_creatures_coordinates" function="true"> 5766 <description><![CDATA[Print coordinates of Parts for all creatures from group #0.]]></description> 5767 </element> 5768 <element name="script_Reload_neuron_definitions" function="true"> 5769 <description><![CDATA[Reloads scripts/*.neuro files]]></description> 5770 </element> 5771 <element name="script_Rotate" function="true"> 5772 <description><![CDATA[]]></description> 5773 </element> 5774 <element name="script_Stabilizacja" function="true"> 5775 <description><![CDATA[]]></description> 5776 </element> 5777 <element name="script_svd_2D" function="true"> 5778 <description><![CDATA[make a 2d layout (coord's provided)]]></description> 5779 </element> 5780 <element name="script_Toy_Spring_Sticks" function="true"> 5781 <description><![CDATA[Make creature joints look like springs]]></description> 5782 </element> 4376 5783 </type> 4377 5784 <type name="Vector" context="Global context"> … … 4415 5822 </arguments> 4416 5823 </element> 5824 <element name="sort" function="true" type="void"> 5825 <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. 5826 5827 Example: 5828 function compareLastDigit(a,b) {return (a%10)<(b%10);} 5829 var v=[16,23,35,42,54,61]; 5830 v.sort(function compareLastDigit);]]></description> 5831 <arguments> 5832 <argument name="comparator" type="Object"/> 5833 </arguments> 5834 </element> 4417 5835 </type> 4418 5836 <type name="World" context="Global context"> 4419 5837 <description><![CDATA[Environment properties.]]></description> 4420 <element name="nnspeed" type="float" min="0" max="1000" default="1 ">5838 <element name="nnspeed" type="float" min="0" max="1000" default="1.0"> 4421 5839 <description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description> 4422 5840 </element> … … 4429 5847 </element> 4430 5848 <element name="wrldbnd" type="integer" min="0" max="2" default="1"/> 4431 <element name="wrldg" type="float" min="0" max="10" default="1 ">5849 <element name="wrldg" type="float" min="0" max="10" default="1.0"> 4432 5850 <description><![CDATA[You can adjust gravity for your experiments. 4433 5851 The "official" setting used to evaluate and compare creatures is 1.]]></description> … … 4443 5861 See also the WorldMap object.]]></description> 4444 5862 </element> 4445 <element name="wrldsiz" type="float" min="10" max="1000" default="20 ">5863 <element name="wrldsiz" type="float" min="10" max="1000" default="20.0"> 4446 5864 <description><![CDATA[Side length of the world]]></description> 4447 5865 </element> 4448 5866 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 4449 <element name="wrldwat" type="float" min="-20" max="50" default="-1 "/>5867 <element name="wrldwat" type="float" min="-20" max="50" default="-1.0"/> 4450 5868 <element name="wrldchg" function="true" type="void"><arguments/></element> 4451 5869 </type> … … 4493 5911 </type> 4494 5912 <type name="WorldSignals" context="Global context"> 4495 <description><![CDATA[Use this object to create stationary signals, not associated with any moving object and receive signals from any location in the world. There are Creature and Neuro-based variants of this object that automatically operate from the creature's or neuron's position. 4496 4497 See also: Signal]]></description> 4498 <element name="size" type="integer"> 4499 <description><![CDATA[Number of signals in this set.]]></description> 4500 </element> 5913 <description><![CDATA[Use this object to create stationary signals (not associated with any moving object) and to receive signals from any location in the world. There are Creature-based and Neuro-based variants of this object that automatically operate from creature's or neuron's position. 5914 5915 See also: Signal, CreatureSignals, NeuroSignals.]]></description> 5916 <element name="size" type="integer"/> 4501 5917 <element name="add" function="true" type="Signal"> 4502 <description><![CDATA[Create a new signal]]></description>4503 5918 <arguments> 4504 5919 <argument name="position" type="XYZ"/> … … 4506 5921 </arguments> 4507 5922 </element> 4508 <element name="clear" function="true" type="void"> 4509 <description><![CDATA[Delete all signals]]></description> 4510 <arguments/></element> 5923 <element name="clear" function="true" type="void"><arguments/></element> 4511 5924 <element name="get" function="true" type="Signal"> 4512 <description><![CDATA[Access individual signals (index=0 .. size-1)]]></description>4513 5925 <arguments> 4514 5926 <argument name="index" type="integer"/> … … 4527 5939 Additional filtering options: 4528 5940 - Max distance only receives the neighbor signals (based on their physical location) 4529 - Flavor filtering: only signals having the flavor close to the specified one will be received. The filter value is the maximum allowed difference.]]></description>5941 - Flavor filtering: only signals having the flavor similar to the specified value will be received. The flavorfilter value is the difference of flavor that reduces the received signal to 0. The "flavor attenuation" is linear, i.e., signals differing by (filter/2) in flavor will be reduced to 50%.]]></description> 4530 5942 <arguments> 4531 5943 <argument name="position" type="XYZ"/> … … 4533 5945 <argument name="max distance" type="float"/> 4534 5946 <argument name="flavor" type="float"/> 4535 <argument name="f ilter" type="float"/>5947 <argument name="flavorfilter" type="float"/> 4536 5948 </arguments> 4537 5949 </element> 4538 5950 <element name="receiveSet" function="true" type="Vector"> 4539 <description><![CDATA[Get all signals in the specified range. Returns a read only vector object containing Signal objects (individual signals can be accessed as result[0] throught result[result.size-1]).]]></description>5951 <description><![CDATA[Get all signals in the specified range. Returns a read-only vector object containing Signal objects - individual signals can be accessed as result[0], .., result[result.size-1].]]></description> 4540 5952 <arguments> 4541 5953 <argument name="position" type="XYZ"/> … … 4545 5957 </element> 4546 5958 <element name="receiveSingle" function="true" type="Signal"> 4547 <description><![CDATA[Find the signal source having the highest signal power (including the distance)]]></description>5959 <description><![CDATA[Find the signal source that has the highest signal power (taking into account distance).]]></description> 4548 5960 <arguments> 4549 5961 <argument name="position" type="XYZ"/> … … 4557 5969 <element name="length" type="float"/> 4558 5970 <element name="toString" type="string"/> 5971 <element name="toVector" type="Vector"/> 4559 5972 <element name="x" type="float"/> 4560 5973 <element name="y" type="float"/> … … 4588 6001 </arguments> 4589 6002 </element> 6003 <element name="newFromVector" function="true" type="XYZ"> 6004 <description><![CDATA[used for deserialization]]></description> 6005 <arguments> 6006 <argument type="Vector"/> 6007 </arguments> 6008 </element> 4590 6009 <element name="normalize" function="true" type="void"> 4591 6010 <description><![CDATA[scales the vector length to 1.0]]></description> … … 4626 6045 </type> 4627 6046 <type name="ExpParams" context="Experiment definition"> 6047 <element name="aging" type="integer" min="0" max="100000"> 6048 <description><![CDATA[Idle metabolism doubles after this period (0 disables aging)]]></description> 6049 </element> 6050 <element name="boostphase" type="integer" min="0" max="1" default="1"> 6051 <description><![CDATA[After stagnation has been detected, switches negative selection to "delete worst", doubles "multiple evaluation" and starts another stagnation detection phase. 6052 "Delete worst" results in extremely quick convergence and high selection pressure, similarly to "local search" optimization techniques.]]></description> 6053 </element> 6054 <element name="capacity" type="integer" min="0" max="10000"> 6055 <description><![CDATA[]]></description> 6056 </element> 4628 6057 <element name="changedProperty" type="integer"/> 4629 6058 <element name="changedPropertyId" type="string"/> 6059 <element name="cr_c" type="float" min="-10000" max="10000"> 6060 <description><![CDATA[Constant value added to total fitness]]></description> 6061 </element> 6062 <element name="cr_di" type="float" min="-10000" max="10000"> 6063 <description><![CDATA[Weight of distance in total fitness]]></description> 6064 </element> 6065 <element name="cr_gl" type="float" min="-10000" max="10000"> 6066 <description><![CDATA[Weight of body size (number of parts) in total fitness]]></description> 6067 </element> 6068 <element name="cr_joints" type="float" min="-10000" max="10000"> 6069 <description><![CDATA[Weight of structure size (number of joints) in total fitness]]></description> 6070 </element> 6071 <element name="cr_life" type="float" min="-10000" max="10000"> 6072 <description><![CDATA[Weight of life span in total fitness]]></description> 6073 </element> 6074 <element name="cr_nncon" type="float" min="-10000" max="10000"> 6075 <description><![CDATA[Weight of brain connections in total fitness]]></description> 6076 </element> 6077 <element name="cr_nnsiz" type="float" min="-10000" max="10000"> 6078 <description><![CDATA[Weight of brain size (number of neurons) in total fitness]]></description> 6079 </element> 6080 <element name="cr_norm" type="integer" min="0" max="1"> 6081 <description><![CDATA[Normalize each criterion to 0..1 interval before weighting]]></description> 6082 </element> 6083 <element name="cr_simi" type="integer" min="0" max="1"> 6084 <description><![CDATA[If enabled, fitness of each genotype will be reduced by its phenotypic similarity to all other genotypes in the gene pool]]></description> 6085 </element> 6086 <element name="cr_v" type="float" min="-10000" max="10000"> 6087 <description><![CDATA[Weight of horizontal velocity in total fitness]]></description> 6088 </element> 6089 <element name="cr_vpos" type="float" min="-10000" max="10000"> 6090 <description><![CDATA[Weight of vertical position in total fitness]]></description> 6091 </element> 6092 <element name="cr_vvel" type="float" min="-10000" max="10000"> 6093 <description><![CDATA[Weight of vertical velocity in total fitness]]></description> 6094 </element> 6095 <element name="creath" type="float" min="-1" max="50"> 6096 <description><![CDATA[Vertical position (above the surface) where newborn creatures are placed. 6097 Negative values are only used in the water area: 6098 0 = at the surface 6099 -0.5 = half depth 6100 -1 = just above the bottom]]></description> 6101 </element> 6102 <element name="delrule" type="integer" min="0" max="2"> 6103 <description><![CDATA[Negative selection: which genotypes should be removed when we need room for new genotypes in the gene pool]]></description> 6104 </element> 6105 <element name="e_meta" type="float" min="0" max="1"> 6106 <description><![CDATA[Each stick consumes this amount of energy in one time step]]></description> 6107 </element> 6108 <element name="Energy0" type="float" min="0" max="10000"> 6109 <description><![CDATA[Base starting energy level (for each stick)]]></description> 6110 </element> 6111 <element name="evalcount" type="integer" min="0" max="1000" default="0"> 6112 <description><![CDATA[If more than zero: 6113 - each genotype will be evaluated many times 6114 - fitness will be averaged 6115 - fitness standard deviation will be stored in the 'user1' field of a genotype 6116 - there will be no "Unchanged" genotypes ("Unchanged" value is considered zero).]]></description> 6117 </element> 6118 <element name="feed" type="integer" min="0" max="100"> 6119 <description><![CDATA[Number of energy pieces in the world]]></description> 6120 </element> 6121 <element name="feede0" type="float" min="0" max="1000"> 6122 <description><![CDATA[]]></description> 6123 </element> 6124 <element name="feedtrans" type="float" min="0" max="100"> 6125 <description><![CDATA[]]></description> 6126 </element> 6127 <element name="foodgen" type="string"> 6128 <description><![CDATA[The default food model is a simple, single part object: 6129 //0 6130 m:Vstyle=food 6131 p: 6132 (this genotype is used when you leave this field blank). 6133 You can specify another genotype to create "intelligent" or mobile food.]]></description> 6134 </element> 6135 <element name="initialgen" type="string"> 6136 <description><![CDATA[The gene pool will be replaced with the supplied genotype when the experiment begins. 6137 Use the empty initial genotype if you want to preserve the current gene pool.]]></description> 6138 </element> 6139 <element name="log" type="integer" min="0" max="5"> 6140 <description><![CDATA[Sends [LOG] messages with genotypes count and minimal, average and best gene pool fitness, which can be used to produce graphs by external tools like gnuplot or Excel. 6141 It also sends the [LOGTITLE] message on experiment initialization, which summarizes most important parameters of your experiment. It can be used as a graph title.]]></description> 6142 </element> 6143 <element name="makesound" type="integer" min="0" max="1" default="0"> 6144 <description><![CDATA[Emit sounds on improvements? (frequency depends on the magnitude of improvement)]]></description> 6145 </element> 6146 <element name="MaxCreated" type="integer" min="0" max="50"> 6147 <description><![CDATA[]]></description> 6148 </element> 6149 <element name="minfitness" type="float"> 6150 <description><![CDATA[Minimal fitness that allows to automatically stop evolution when stagnation detected]]></description> 6151 </element> 6152 <element name="p_mut" type="float" min="0" max="100"> 6153 <description><![CDATA[]]></description> 6154 </element> 6155 <element name="p_nop" type="float" min="0" max="100"> 6156 <description><![CDATA[]]></description> 6157 </element> 6158 <element name="p_xov" type="float" min="0" max="100"> 6159 <description><![CDATA[]]></description> 6160 </element> 6161 <element name="placement" type="integer" min="0" max="1"> 6162 <description><![CDATA[For 'Central' placement, newborn creatures are placed at the world center, if possible.]]></description> 6163 </element> 6164 <element name="rotation" type="integer" min="0" max="4"> 6165 <description><![CDATA[Initial heading of newborn creatures]]></description> 6166 </element> 6167 <element name="savebest" type="integer" min="0" max="3"> 6168 <description><![CDATA[Saves (on each improvement) best found genotype or a complete experiment state to a file in scripts_output subdirectory.]]></description> 6169 </element> 6170 <element name="selrule" type="integer" min="0" max="5"> 6171 <description><![CDATA[Positive selection: how to choose genotypes for cloning/mutation/crossover]]></description> 6172 </element> 6173 <element name="stagnation" type="integer" min="0" max="1000000" default="0"> 6174 <description><![CDATA[No improvement period required to stop simulation (stagnation). 0 disables automatic stopping.]]></description> 6175 </element> 6176 <element name="xov_mins" type="float" min="0" max="9999"> 6177 <description><![CDATA[Only genotypes with dissimilarity below this threshold will be crossed over. 6178 Value of 0 means no crossover restrictions.]]></description> 6179 </element> 6180 <element name="add" function="true"/> 6181 <element name="addGroup" function="true"/> 6182 <element name="clear" function="true"/> 6183 <element name="cleardata" function="true"> 6184 <description><![CDATA[Sets the number of instances of each genotype to zero (as if it has never been evaluated). 6185 Genotype performance values stay intact, yet they are meaningless if a genotype has no instances.]]></description> 6186 </element> 6187 <element name="remove" function="true"/> 6188 <element name="removeGroup" function="true"/> 6189 </type> 6190 <type name="ExpState" context="Experiment definition"> 6191 <element name="changedProperty" type="integer"/> 6192 <element name="changedPropertyId" type="string"/> 6193 <element name="creaturesgrouploaded" type="integer"> 6194 <description><![CDATA[]]></description> 6195 </element> 6196 <element name="notes" type="string"> 6197 <description><![CDATA[You can write anything here 6198 (it will be saved to the experiment file)]]></description> 6199 </element> 6200 <element name="totaltestedcr" type="integer"> 6201 <description><![CDATA[Total number of creatures evaluated in the experiment]]></description> 6202 </element> 6203 <element name="totaltests" type="integer"> 6204 <description><![CDATA[Total number of evaluations in the experiment. 6205 This is equivalent to "Evaluated creatures" unless multiple evaluation is activated.]]></description> 6206 </element> 4630 6207 <element name="add" function="true"/> 4631 6208 <element name="addGroup" function="true"/> … … 4634 6211 <element name="removeGroup" function="true"/> 4635 6212 </type> 4636 <type name="ExpState" context="Experiment definition">4637 <element name="changedProperty" type="integer"/>4638 <element name="changedPropertyId" type="string"/>4639 <element name="add" function="true"/>4640 <element name="addGroup" function="true"/>4641 <element name="clear" function="true"/>4642 <element name="remove" function="true"/>4643 <element name="removeGroup" function="true"/>4644 </type>4645 6213 <type name="n" context="Neuron definitions"> 6214 <element name="classObject" type="NeuroClass"/> 4646 6215 <element name="d" type="string"/> 4647 6216 <element name="getInputCount" type="integer"/> … … 4669 6238 <description><![CDATA[Live Neuron object.]]></description> 4670 6239 <element name="channelCount" type="integer"/> 6240 <element name="classObject" type="NeuroClass"/> 4671 6241 <element name="creature" type="Creature"/> 4672 6242 <element name="currState" type="float"> 4673 <description><![CDATA[The only difference from the "state" field is that currState, when written, changes the internal neuron state immediately (which disturbs the regular synchronous NN operation). This feature should only be used while controlling the neuron 'from outside' (like a neuro probe) and not in the neuron definition. See also: Neuro.hold]]></description> 6243 <description><![CDATA[When read, it behaves just like the 'state' field. 6244 When written, changes the current neuron state immediately, which disturbs the regular synchronous NN operation. 6245 This feature should only be used while controlling the neuron 'from outside' (like a neuro probe) and not in the neuron definition. See also: Neuro.hold]]></description> 4674 6246 </element> 4675 6247 <element name="def" type="NeuroDef"/> … … 4702 6274 <element name="state" type="float"> 4703 6275 <description><![CDATA[When read, returns the current neuron state. 4704 When written, sets the next neuron state (for use in the neuron definition)]]></description> 6276 When written, sets the 'internal' neuron state that will become current in the next step. 6277 Typically you should use this field, and not currState.]]></description> 4705 6278 </element> 4706 6279 <element name="weightedInputSum" type="float"/> … … 4768 6341 </type> 4769 6342 <type name="this" context="Fitness formula"> 4770 <description><![CDATA[A Genotype with the associated performance information. All but one Genotype objects are placed in Genotype Groups. There is also a single static Genotype object not associated with a group, which is used as a temporary storage by genetic operators and some functions from GenePools.]]></description> 6343 <description><![CDATA[A Genotype with the associated performance information. Adding genotypes to GenePool makes them accessible in Framsticks GUI and enables the use of GenePool selection methods. 6344 Before version 4.0rc4 the static Genotype object was used in functions operating on the "selected" genotype. This is now deprecated as all operations can be performed using the more convenient direct access (see GenePools).]]></description> 4771 6345 <element name="convtrace1" type="string"/> 4772 6346 <element name="distance" type="float"/> … … 4779 6353 <description><![CDATA[Fitness shifted by (avg-n*stddev)]]></description> 4780 6354 </element> 6355 <element name="genepool" type="untyped"> 6356 <description><![CDATA[GenePool object or null when not in pool]]></description> 6357 </element> 4781 6358 <element name="geno" type="Geno"> 4782 6359 <description><![CDATA[Geno object for this Genotype]]></description> … … 4784 6361 <element name="genotype" type="string"/> 4785 6362 <element name="gnum" type="integer"/> 6363 <element name="index" type="integer"> 6364 <description><![CDATA[-1 when not in pool. 6365 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> 6366 </element> 4786 6367 <element name="info" type="string"> 4787 6368 <description><![CDATA[Additional information or comments]]></description> … … 4817 6398 <element name="vertpos" type="float"/> 4818 6399 <element name="vertvel" type="float"/> 6400 <element name="addPerformanceFromCreature" function="true" type="void"> 6401 <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> 6402 <arguments> 6403 <argument type="Creature"/> 6404 </arguments> 6405 </element> 6406 <element name="copyTo" function="true" type="Genotype"> 6407 <description><![CDATA[returns the duplicate genotype, created in the target pool]]></description> 6408 <arguments> 6409 <argument name="pool" type="GenePool"/> 6410 </arguments> 6411 </element> 6412 <element name="delete" function="true" type="void"><arguments/></element> 6413 <element name="deleteOne" function="true" type="void"> 6414 <description><![CDATA[]]></description> 6415 <arguments/></element> 4819 6416 <element name="getModel" function="true" type="Model"><arguments/></element> 4820 6417 <element name="getNormalized" function="true" type="float"> … … 4823 6420 </arguments> 4824 6421 </element> 6422 <element name="moveTo" function="true" type="void"> 6423 <description><![CDATA[the genotype is removed from its current pool when pool=null]]></description> 6424 <arguments> 6425 <argument name="pool" type="GenePool"/> 6426 </arguments> 6427 </element> 4825 6428 <element name="mutate" function="true" type="void"><arguments/></element> 6429 <element name="newFromCreature" function="true"> 6430 <arguments> 6431 <argument name="creature" type="Creature"/> 6432 </arguments> 6433 </element> 6434 <element name="newFromGeno" function="true"> 6435 <arguments> 6436 <argument name="geno" type="Geno"/> 6437 </arguments> 6438 </element> 6439 <element name="newFromString" function="true"> 6440 <arguments> 6441 <argument name="genotype" type="string"/> 6442 </arguments> 6443 </element> 6444 <element name="splitInstances" function="true" type="void"><arguments/></element> 4826 6445 </type> 4827 6446 <type name="Creature" context="Visual style definition"> 4828 <description><![CDATA[The object inside the simulated world, including its physical structure, neural network and performance data. Food pieces, obstacles and other movable objects can be implemented as Creatures even though the are not "alive". See also: Population.]]></description> 6447 <description><![CDATA[The object inside the simulated world, including its physical structure, neural network and performance data. Food pieces, obstacles and other movable objects can be implemented as Creatures even though the are not "alive". 6448 Before version 4.0rc4 the static Creature object was used in event handlers and in functions operating on the "selected" creature. This is now deprecated as all operations can be performed using the more convenient direct access (see GenePools). For event handlers, the creature object will be passed as argument, like this: 6449 function onDied(cr) {Simulator.print("Creature "+cr.name+" has died");} 6450 See also: Population.]]></description> 4829 6451 <element name="bodysim" type="integer" min="0" max="1" default="1"> 4830 6452 <description><![CDATA[(Physical) body simulation can be disabled for individual objects which makes them immovable. Disabled objects can still participate in collisions depending on their collisions masks. … … 4859 6481 <element name="genotype" type="string"/> 4860 6482 <element name="gnum" type="integer"/> 4861 <element name="group" type="untyped"/> 6483 <element name="group" type="untyped" deprecated="true"> 6484 <description><![CDATA[Deprecated. Use population instead.]]></description> 6485 </element> 4862 6486 <element name="idleen" type="float"/> 4863 6487 <element name="index" type="integer"> 4864 <description><![CDATA[ Index of this Creature in its Population.]]></description>6488 <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> 4865 6489 </element> 4866 6490 <element name="info" type="string"> … … 4890 6514 <description><![CDATA[Initial value of this property is taken from Population.enableperf]]></description> 4891 6515 </element> 6516 <element name="population" type="untyped"/> 4892 6517 <element name="pos_x" type="float"> 4893 6518 <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> … … 4901 6526 <element name="selfcol" type="integer" min="0" max="1"> 4902 6527 <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> 4903 </element>4904 <element name="selfcolstate" type="integer" min="0" max="1">4905 <description><![CDATA[Current self-collision state]]></description>4906 6528 </element> 4907 6529 <element name="selfmask" type="integer" min="0" max="2147483647" default="0"/> … … 4924 6546 <element name="vertpos" type="float"/> 4925 6547 <element name="vertvel" type="float"/> 6548 <element name="boundingBoxCollisions" function="true" type="integer"> 6549 <description><![CDATA[Checks approximate collisions for the selected creature. 6550 Returns the collision mask calculated as in the regular simulation. The argument is the collision mask substituted for the selected creature (defaults to group colmask for 0).]]></description> 6551 <arguments> 6552 <argument name="mask" type="integer"/> 6553 </arguments> 6554 </element> 4926 6555 <element name="currentGeometryAsF0" function="true" type="string"><arguments/></element> 4927 6556 <element name="getJoint" function="true" type="Joint"> … … 5011 6640 </arguments> 5012 6641 </element> 6642 <element name="selfcolstate" function="true" type="integer"> 6643 <description><![CDATA[Current self-collision state. In old versions this was a field, not a function.]]></description> 6644 <arguments/></element> 5013 6645 <element name="worldToLocal" function="true" type="XYZ"> 5014 6646 <description><![CDATA[Local coordinates are measured with respect to the position and orientation of the first Part]]></description> … … 5164 6796 </type> 5165 6797 <type name="j" context="Visual style definition"> 5166 <element name="dx" type="float" min="-2" max="2" default="0 "/>5167 <element name="dy" type="float" min="-2" max="2" default="0 "/>5168 <element name="dz" type="float" min="-2" max="2" default="0 "/>6798 <element name="dx" type="float" min="-2" max="2" default="0.0"/> 6799 <element name="dy" type="float" min="-2" max="2" default="0.0"/> 6800 <element name="dz" type="float" min="-2" max="2" default="0.0"/> 5169 6801 <element name="i" type="string"/> 5170 6802 <element name="p1" type="integer" min="-1" max="999999" default="-1"/> 5171 6803 <element name="p2" type="integer" min="-1" max="999999" default="-1"/> 5172 <element name="rotstif" type="float" min="0" max="1" default="1 "/>6804 <element name="rotstif" type="float" min="0" max="1" default="1.0"/> 5173 6805 <element name="rx" type="float"/> 5174 6806 <element name="ry" type="float"/> 5175 6807 <element name="rz" type="float"/> 5176 6808 <element name="stam" type="float" min="0" max="1" default="0.25"/> 5177 <element name="stif" type="float" min="0" max="1" default="1"/> 6809 <element name="stif" type="float" min="0" max="1" default="1.0"/> 6810 <element name="vb" type="float" min="0" max="1" default="0.5"/> 6811 <element name="vg" type="float" min="0" max="1" default="0.5"/> 6812 <element name="vr" type="float" min="0" max="1" default="0.5"/> 5178 6813 <element name="Vstyle" type="string"/> 5179 6814 </type> … … 5238 6873 <type name="n" context="Visual style definition"> 5239 6874 <element name="class" type="string"/> 6875 <element name="classObject" type="NeuroClass"/> 5240 6876 <element name="d" type="string"/> 5241 6877 <element name="getInputCount" type="integer"/> … … 5263 6899 <type name="p" context="Visual style definition"> 5264 6900 <element name="as" type="float" min="0" max="1" default="0.25"/> 5265 <element name="dn" type="float" min="0.2" max="5" default="1 "/>6901 <element name="dn" type="float" min="0.2" max="5" default="1.0"/> 5266 6902 <element name="fr" type="float" min="0" max="4" default="0.4"/> 5267 6903 <element name="i" type="string"/> 5268 6904 <element name="ing" type="float" min="0" max="1" default="0.25"/> 5269 <element name="m" type="float" min="0.1" max="999" default="1 "/>6905 <element name="m" type="float" min="0.1" max="999" default="1.0"/> 5270 6906 <element name="rx" type="float"/> 5271 6907 <element name="ry" type="float"/> 5272 6908 <element name="rz" type="float"/> 5273 <element name="s" type="float" min="0.1" max="10" default="1"/> 6909 <element name="s" type="float" min="0.1" max="10" default="1.0"/> 6910 <element name="vb" type="float" min="0" max="1" default="0.5"/> 6911 <element name="vg" type="float" min="0" max="1" default="0.5"/> 6912 <element name="vr" type="float" min="0" max="1" default="0.5"/> 6913 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/> 5274 6914 <element name="Vstyle" type="string"/> 5275 6915 <element name="x" type="float"/> … … 5391 7031 <type name="World" context="Visual style definition"> 5392 7032 <description><![CDATA[Environment properties.]]></description> 5393 <element name="nnspeed" type="float" min="0" max="1000" default="1 ">7033 <element name="nnspeed" type="float" min="0" max="1000" default="1.0"> 5394 7034 <description><![CDATA[Number of neural network simulation steps in each physics simulation step]]></description> 5395 7035 </element> … … 5402 7042 </element> 5403 7043 <element name="wrldbnd" type="integer" min="0" max="2" default="1"/> 5404 <element name="wrldg" type="float" min="0" max="10" default="1 ">7044 <element name="wrldg" type="float" min="0" max="10" default="1.0"> 5405 7045 <description><![CDATA[You can adjust gravity for your experiments. 5406 7046 The "official" setting used to evaluate and compare creatures is 1.]]></description> … … 5416 7056 See also the WorldMap object.]]></description> 5417 7057 </element> 5418 <element name="wrldsiz" type="float" min="10" max="1000" default="20 ">7058 <element name="wrldsiz" type="float" min="10" max="1000" default="20.0"> 5419 7059 <description><![CDATA[Side length of the world]]></description> 5420 7060 </element> 5421 7061 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 5422 <element name="wrldwat" type="float" min="-20" max="50" default="-1 "/>7062 <element name="wrldwat" type="float" min="-20" max="50" default="-1.0"/> 5423 7063 <element name="wrldchg" function="true" type="void"><arguments/></element> 5424 7064 </type> … … 5467 7107 <type name="Signal" context="Signal label formula"> 5468 7108 <element name="channel" type="string"> 5469 <description><![CDATA[Channel name, read only.]]></description>7109 <description><![CDATA[Channel name, read-only.]]></description> 5470 7110 </element> 5471 7111 <element name="flavor" type="float"> 5472 <description><![CDATA[Signal flavor is can be used to differentiate between signals in a single channel.]]></description>7112 <description><![CDATA[Signal flavor can be used to differentiate between signals in a single channel.]]></description> 5473 7113 </element> 5474 7114 <element name="pos" type="XYZ"> 5475 <description><![CDATA[Signal position, read only.]]></description>7115 <description><![CDATA[Signal position, read-only.]]></description> 5476 7116 </element> 5477 7117 <element name="power" type="float"> … … 5479 7119 </element> 5480 7120 <element name="value" type="untyped"> 5481 <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 function receive() and receiveFilter() ignore this attribute.]]></description>7121 <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> 5482 7122 </element> 5483 7123 </type> … … 5527 7167 <element name="cmdhandler" type="string"/> 5528 7168 <element name="msgtype" type="integer" min="0" max="1"/> 7169 <element name="quiet" type="integer" min="0" max="1"> 7170 <description><![CDATA[enabled by -Q]]></description> 7171 </element> 5529 7172 <element name="script" type="string"/> 5530 7173 <element name="stdin" type="Object"/> … … 5631 7274 <element name="active" type="integer" min="0" max="1"/> 5632 7275 <element name="banner" type="string"/> 5633 <element name="desiredsimspeed" type="float" min="0" max="999999" default="0 ">7276 <element name="desiredsimspeed" type="float" min="0" max="999999" default="0.0"> 5634 7277 <description><![CDATA[Desired simulation speed in steps/second. 0 = simulation is disabled.]]></description> 5635 7278 </element> … … 5649 7292 <element name="size_x" type="integer"/> 5650 7293 <element name="size_y" type="integer"/> 5651 <element name="userspeed" type="float" min="0" max="100" default="1"> 7294 <element name="user_interaction" type="integer" min="0" max="1" default="1"> 7295 <description><![CDATA[Bit field: 7296 1 - menu access 7297 ]]></description> 7298 </element> 7299 <element name="userspeed" type="float" min="0" max="100" default="1.0"> 5652 7300 <description><![CDATA[User interface sets this property to adjust simulation speed.]]></description> 5653 7301 </element> … … 5672 7320 <element name="resume" function="true"/> 5673 7321 <element name="stop" function="true"/> 7322 </type> 7323 <type name="ImageExport" context="Command line interface"> 7324 <element name="imgex_compress" type="integer" min="0" max="100"/> 7325 <element name="imgex_currframe" type="integer"/> 7326 <element name="imgex_enabled" type="integer" min="0" max="1"/> 7327 <element name="imgex_format" type="integer" min="0" max="2"/> 7328 <element name="imgex_lastfile" type="string"/> 7329 <element name="imgex_maxframes" type="integer"> 7330 <description><![CDATA[How many frames are to be generated?]]></description> 7331 </element> 7332 <element name="imgex_outdir" type="string"> 7333 <description><![CDATA[Directory name WITHOUT trailing '/' sign]]></description> 7334 </element> 7335 <element name="imgex_outfiles" type="string"> 7336 <description><![CDATA[Frame number replaces %d (eg. 'image%03d.jpg')]]></description> 7337 </element> 7338 <element name="imgex_skip" type="integer"> 7339 <description><![CDATA[A scene file is generated each (n+1) simulation steps 7340 (a small value means more frames and smooth animation)]]></description> 7341 </element> 7342 <element name="imgex_startf" type="integer"> 7343 <description><![CDATA[Starting number]]></description> 7344 </element> 7345 <element name="imgex_disable" function="true"/> 7346 <element name="imgex_enable" function="true"/> 7347 <element name="imgex_now" function="true"/> 5674 7348 </type> 5675 7349 <type name="NeuroDiagram" context="Command line interface"> … … 5737 7411 <element name="mode" type="integer" min="0" max="2"/> 5738 7412 <element name="name" type="string"/> 7413 <element name="prev_show" type="string"/> 5739 7414 <element name="regname" type="string"/> 5740 7415 <element name="show" type="string"/> 5741 7416 <element name="showlog" type="integer" min="0" max="1"/> 5742 <element name="switchmode" type="integer" min="0" max=" 2"/>7417 <element name="switchmode" type="integer" min="0" max="3"/> 5743 7418 <element name="switchshows" type="string"> 5744 7419 <description><![CDATA[names of the shows participating in automatic switching (comma separated). Use * as a wildcard.]]></description> … … 5774 7449 <description><![CDATA[Camera object with the automatic target tracking ability.]]></description> 5775 7450 <element name="cam_change" type="integer" min="0" max="5" default="3"/> 5776 <element name="cam_chspeed" type="float" min="0.1" max="10" default="1 "/>5777 <element name="cam_dir" type="float" min="0" max="360" default="30 "/>7451 <element name="cam_chspeed" type="float" min="0.1" max="10" default="1.0"/> 7452 <element name="cam_dir" type="float" min="0" max="360" default="30.0"/> 5778 7453 <element name="cam_distrac" type="integer" min="0" max="1" default="0"> 5779 7454 <description><![CDATA[Suspend automatic tracking when the camera is moved manually]]></description> 5780 7455 </element> 5781 <element name="cam_h" type="float" min="0" max="360" default="45 ">7456 <element name="cam_h" type="float" min="0" max="360" default="45.0"> 5782 7457 <description><![CDATA[0=side view, 90=top view]]></description> 5783 7458 </element> … … 5787 7462 </element> 5788 7463 <element name="cam_tracking" type="integer" min="0" max="3" default="1"/> 5789 <element name="cam_trspeed" type="float" min="0.1" max="10" default="5 "/>7464 <element name="cam_trspeed" type="float" min="0.1" max="10" default="5.0"/> 5790 7465 <element name="cam_zoom" type="float" min="0.2" max="3" default="0.8"/> 5791 7466 <element name="cam_restore" function="true" type="void"> -
java/FramclipsePlugin/src/main/resources/framscript.xsl
r13 r108 25 25 26 26 <xsl:template match="element"> 27 <li>< b><xsl:value-of select="@name"/></b> -27 <li><xsl:choose><xsl:when test="@deprecated='true'"><strike><xsl:value-of select="@name"/></strike></xsl:when><xsl:otherwise><b><xsl:value-of select="@name"/></b></xsl:otherwise></xsl:choose> - 28 28 <xsl:if test="@function='true'"> 29 29 function <xsl:if test="@type!=''">returning <xsl:value-of select="@type"/></xsl:if>
Note: See TracChangeset
for help on using the changeset viewer.