Changeset 266 for java/FramclipsePlugin/src/main
- Timestamp:
- 12/15/14 03:57:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/FramclipsePlugin/src/main/resources/framscript.xml
r193 r266 30 30 <element name="info" type="string"/> 31 31 <element name="name" type="string"/> 32 <element name="neurons" type="integer" min="0" max="1" />33 <element name="smooth" type="integer" min="0" max="1" />32 <element name="neurons" type="integer" min="0" max="1" default="1"/> 33 <element name="smooth" type="integer" min="0" max="1" default="1"/> 34 34 <element name="style" type="string"/> 35 <element name="tex" type="integer" min="0" max="2" />35 <element name="tex" type="integer" min="0" max="2" default="1"/> 36 36 <element name="rebuild" function="true"/> 37 37 <element name="streload" function="true"/> 38 38 </type> 39 39 <type name="show" context="show file"> 40 <description><![CDATA[ Show propertiesfor the Framsticks Theater (from the *.show file).]]></description>40 <description><![CDATA[Properties of a show for the Framsticks Theater (from the *.show file).]]></description> 41 41 <element name="code" type="string"/> 42 42 <element name="dispinfo" type="integer" min="0" max="2"/> 43 <element name="excludeshows" type="string"> 44 <description><![CDATA[names of shows excluded from the show menu. Use * as a wildcard.]]></description> 45 </element> 43 46 <element name="expdef" type="string"/> 47 <element name="includeshows" type="string"> 48 <description><![CDATA[names of shows included in the show menu. Use * as a wildcard.]]></description> 49 </element> 44 50 <element name="info" type="string"/> 45 51 <element name="mode" type="integer" min="0" max="2"/> … … 205 211 <element name="boundingBoxCollisions" function="true" type="integer"> 206 212 <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> 213 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ). 214 Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature.]]></description> 208 215 <arguments> 209 216 <argument name="mask" type="integer"/> … … 461 468 <arguments/></element> 462 469 <element name="flush" function="true" type="void"> 463 <description><![CDATA[ useful for unbuffered disk files only (openDirect, appendDirect)]]></description>470 <description><![CDATA[Useful for unbuffered disk files only (openDirect, appendDirect)]]></description> 464 471 <arguments/></element> 472 <element name="getContents" function="true" type="string"> 473 <description><![CDATA[Shortcut to: var f=File.open(filename); c=f.readUntilEOF(); f.close(); return c;]]></description> 474 <arguments> 475 <argument name="filename" type="string"/> 476 </arguments> 477 </element> 465 478 <element name="new" function="true" type="File "><arguments/></element> 466 479 <element name="newFromString" function="true" type="File "> … … 542 555 </type> 543 556 <type name="GenePool" context="Global context"> 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>557 <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> 545 558 <element name="fitfun" type="integer" min="0" max="1" default="0"> 546 559 <description><![CDATA[Enables fitness scaling.]]></description> … … 558 571 </element> 559 572 <element name="index" type="integer"/> 573 <element name="iterator" type="Object"/> 560 574 <element name="name" type="string"/> 561 575 <element name="size" type="integer"> … … 580 594 </arguments> 581 595 </element> 596 <element name="best" function="true" type="Genotype"> 597 <description><![CDATA[Returns the genotype object having the highest fitness. Unrated genotypes (instances==0) are ranked lower than those having at least one instance.]]></description> 598 <arguments/></element> 582 599 <element name="clear" function="true" type="void"> 583 600 <description><![CDATA[Delete all genotypes. GenePools[group].clear() is equivalent to GenePools.clearGroup(group)]]></description> … … 604 621 </element> 605 622 <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>623 <description><![CDATA[Deletes one individual, i.e. decreases its 'instances' and deletes the genotype if the 'instances' goes to 0.]]></description> 607 624 <arguments> 608 625 <argument name="genotype object or index" type="untyped"/> … … 634 651 </arguments> 635 652 </element> 653 <element name="getStatsAvg" function="true" type="float"> 654 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description> 655 <arguments> 656 <argument name="field name" type="string"/> 657 </arguments> 658 </element> 659 <element name="getStatsMax" function="true" type="float"> 660 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description> 661 <arguments> 662 <argument name="field name" type="string"/> 663 </arguments> 664 </element> 665 <element name="getStatsMin" function="true" type="float"> 666 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Genotype fields).]]></description> 667 <arguments> 668 <argument name="field name" type="string"/> 669 </arguments> 670 </element> 636 671 <element name="mergeInstances" function="true" type="void"> 637 672 <description><![CDATA[Merge instances of the same genotype]]></description> 638 673 <arguments/></element> 639 674 <element name="random" function="true" type="Genotype"> 640 <description><![CDATA[ Getsrandom genotype object]]></description>675 <description><![CDATA[Returns a random genotype object]]></description> 641 676 <arguments/></element> 642 677 <element name="randomLikeGeno" function="true" type="Genotype"> 643 <description><![CDATA[ Gets a random genotype index similar to the selected one.]]></description>678 <description><![CDATA[Returns a random genotype index similar to the target genotype.]]></description> 644 679 <arguments> 645 680 <argument name="minimum similarity" type="float"/> … … 648 683 </element> 649 684 <element name="revroulette" function="true" type="Genotype"> 650 <description><![CDATA[ Getreverse fitness-proportional genotype object]]></description>685 <description><![CDATA[Returns a reverse fitness-proportional genotype object]]></description> 651 686 <arguments/></element> 652 687 <element name="roulette" function="true" type="Genotype"> 653 <description><![CDATA[ Getsfitness-proportional genotype object]]></description>688 <description><![CDATA[Returns a fitness-proportional genotype object]]></description> 654 689 <arguments/></element> 655 690 <element name="rouletteLikeGeno" function="true" type="Genotype"> 656 <description><![CDATA[ Gets a random genotype similar to the selected one, fitness-proportional.]]></description>691 <description><![CDATA[Returns a random genotype similar to the target genotype, fitness-proportional.]]></description> 657 692 <arguments> 658 693 <argument name="minimum similarity" type="float"/> … … 664 699 <arguments/></element> 665 700 <element name="tournament" function="true" type="Genotype"> 666 <description><![CDATA[ Getstournament winner genotype object]]></description>701 <description><![CDATA[Returns a tournament winner genotype object]]></description> 667 702 <arguments> 668 703 <argument name="genotypes in tournament" type="integer"/> … … 670 705 </element> 671 706 <element name="worst" function="true" type="Genotype"> 672 <description><![CDATA[ Gets genotype object having lowest fitness]]></description>707 <description><![CDATA[Returns the genotype object having the lowest fitness. Unrated genotypes (instances==0) are ranked lower than those having at least one instance.]]></description> 673 708 <arguments/></element> 674 709 </type> … … 693 728 <description><![CDATA[Index of the currently selected group (GenePool).]]></description> 694 729 </element> 730 <element name="iterator" type="Object"/> 695 731 <element name="size" type="integer"/> 696 <element name="addGroup" function="true" type=" void">732 <element name="addGroup" function="true" type="GenePool"> 697 733 <description><![CDATA[Adds a new gene pool.]]></description> 698 734 <arguments> … … 982 1018 <description><![CDATA[mutation: probability of changing a node]]></description> 983 1019 </element> 1020 <element name="f9_mut" type="float" min="0" max="1" default="0.1"> 1021 <description><![CDATA[How many genes should be mutated during single mutation (1=all genes, 0.1=ten percent)]]></description> 1022 </element> 1023 <element name="fF_xover" type="float" min="0" max="0.5" default="0.5"> 1024 <description><![CDATA[0.5 => children are averaged parents. 1025 0.2 => children are only 20% different from parents. 1026 0 => each child is identical to one parent (no crossover).]]></description> 1027 </element> 984 1028 <element name="gen_extmutinfo" type="integer" min="0" max="2" default="0"> 985 1029 <description><![CDATA[If active, information about employed mutation method will be stored in the 'info' field of each mutated genotype.]]></description> … … 1005 1049 </element> 1006 1050 <element name="genoper_f4" type="integer" min="0" max="0"> 1051 <description><![CDATA[]]></description> 1052 </element> 1053 <element name="genoper_f9" type="integer" min="0" max="0"> 1054 <description><![CDATA[]]></description> 1055 </element> 1056 <element name="genoper_fF" type="integer" min="0" max="0"> 1007 1057 <description><![CDATA[]]></description> 1008 1058 </element> … … 1253 1303 time (t) float 0..6.28319]]></description> 1254 1304 </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 inputs1260 provides output value1261 does not require location in body1262 ]]></description>1263 </element>1264 <element name="neuadd_OThr" type="integer" min="0" max="1">1265 <description><![CDATA[Characteristics:1266 uses single input1267 does not provide output value1268 should be located on a Joint1269 ]]></description>1270 </element>1271 <element name="neuadd_SeeLight" type="integer" min="0" max="1">1272 <description><![CDATA[Characteristics:1273 does not use inputs1274 provides output value1275 should be located on a Part1276 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 inputs1286 provides output value1287 does not require location in body1288 ]]></description>1289 </element>1290 <element name="neuadd_Delay" type="integer" min="0" max="1">1291 <description><![CDATA[Characteristics:1292 supports any number of inputs1293 provides output value1294 does not require location in body1295 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 input1303 provides output value1304 should be located on a Joint1305 ]]></description>1306 </element>1307 <element name="neuadd_WarnLR" type="integer" min="0" max="1">1308 <description><![CDATA[Characteristics:1309 does not use inputs1310 provides output value1311 does not require location in body1312 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 inputs1322 provides output value1323 should be located on a Part1324 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 inputs1332 does not provide output value1333 does not require location in body1334 ]]></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 input1341 provides output value1342 does not require location in body1343 1344 1345 Properties:1346 K (k) float 0.01..1001347 Ti (ti) float 0.01..1001348 Td (td) float 0.01..100]]></description>1349 </element>1350 <element name="neuadd_Lin" type="integer" min="0" max="1">1351 <description><![CDATA[output=input1352 1353 Characteristics:1354 supports any number of inputs1355 provides output value1356 does not require location in body1357 ]]></description>1358 </element>1359 <element name="neuadd_WarnDD" type="integer" min="0" max="1">1360 <description><![CDATA[Characteristics:1361 does not use inputs1362 provides output value1363 does not require location in body1364 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 creatures1371 (in experiments with food in group #1)1372 1373 Characteristics:1374 does not use inputs1375 provides output value1376 should be located on a Part1377 ]]></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 value1381 1382 Characteristics:1383 supports any number of inputs1384 provides output value1385 does not require location in body1386 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 input1394 does not provide output value1395 does not require location in body1396 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 inputs1404 provides output value1405 does not require location in body1406 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 inputs1416 provides output value1417 should be located on a Part1418 ]]></description>1419 </element>1420 <element name="neuadd_Light" type="integer" min="0" max="1">1421 <description><![CDATA[Characteristics:1422 supports any number of inputs1423 does not provide output value1424 should be located on a Part1425 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=lo1432 1433 Characteristics:1434 supports any number of inputs1435 provides output value1436 does not require location in body1437 1438 1439 Properties:1440 threshold (t) float1441 low output value (lo) float1442 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 input1449 provides output value1450 does not require location in body1451 1452 1453 Properties:1454 K (k) float 0.01..1001455 Ti (ti) float 0.01..1001456 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 datatypes1460 1461 Characteristics:1462 uses single input1463 provides output value1464 does not require location in body1465 1466 1467 Properties:1468 first integer (i1) integer1469 first float (f1) float1470 first string (s1) string1471 second integer (i2) integer1472 second float (f2) float1473 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 inputs1478 does not provide output value1479 should be located on a Part1480 ]]></description>1481 </element>1482 1305 <element name="add" function="true"/> 1483 1306 <element name="addGroup" function="true"/> … … 1584 1407 <description><![CDATA[Genotype, excluding the format specifier]]></description> 1585 1408 </element> 1409 <element name="toVector" type="Vector"/> 1586 1410 <element name="getConverted" function="true" type="Geno"> 1587 1411 <arguments> … … 1601 1425 <arguments> 1602 1426 <argument name="genotype" type="string"/> 1427 </arguments> 1428 </element> 1429 <element name="newFromVector" function="true" type="Geno"> 1430 <arguments> 1431 <argument type="Vector"/> 1603 1432 </arguments> 1604 1433 </element> … … 1691 1520 </element> 1692 1521 <element name="mutate" function="true" type="void"><arguments/></element> 1693 <element name="newFromCreature" function="true" >1522 <element name="newFromCreature" function="true" type="Genotype"> 1694 1523 <arguments> 1695 1524 <argument name="creature" type="Creature"/> 1696 1525 </arguments> 1697 1526 </element> 1698 <element name="newFromGeno" function="true" >1527 <element name="newFromGeno" function="true" type="Genotype"> 1699 1528 <arguments> 1700 1529 <argument name="geno" type="Geno"/> 1701 1530 </arguments> 1702 1531 </element> 1703 <element name="newFromString" function="true" >1532 <element name="newFromString" function="true" type="Genotype"> 1704 1533 <arguments> 1705 1534 <argument name="genotype" type="string"/> … … 1805 1634 <element name="ry" type="float"/> 1806 1635 <element name="rz" type="float"/> 1636 <element name="sh" type="integer" min="0" max="1" default="0"/> 1807 1637 <element name="stam" type="float" min="0" max="1" default="0.25"/> 1808 1638 <element name="stif" type="float" min="0" max="1" default="1.0"/> … … 2066 1896 </element> 2067 1897 </type> 1898 <type name="ModelGeometry" context="Global context"> 1899 <description><![CDATA[Example usage: 1900 Simulator.print(ModelGeometry.forModel(Model.newFromString("//0\np:sh=1\n")).area()); 1901 1902 ModelGeometry.geom_density refers to the global simulator parameter (also available in GUI). 1903 To set geom_density for individual ModelGeometry objects: 1904 var mg=ModelGeometry.forModel(GenePools[0][0].getModel()); mg.geom_density=2; GenePools[0][0].user1=mg.area(); 1905 ]]></description> 1906 <element name="geom_density" type="float" min="0.01" max="100" default="1.0"> 1907 <description><![CDATA[Affects the geometry calculation precision]]></description> 1908 </element> 1909 <element name="area" function="true" type="float"><arguments/></element> 1910 <element name="forModel" function="true" type="ModelGeometry"> 1911 <description><![CDATA[The returned ModelGeometry object can be used to calculate geometric properties (volume, area, sizes) of the associated model. The density is copied from the current global ModelGeometry.geom_density on object creation.]]></description> 1912 <arguments> 1913 <argument type="Model"/> 1914 </arguments> 1915 </element> 1916 <element name="sizesAndAxes" function="true" type="Vector"> 1917 <description><![CDATA[The returned vector contains XYZ (sizes) and Orient (axes) objects.]]></description> 1918 <arguments/></element> 1919 <element name="volume" function="true" type="float"><arguments/></element> 1920 </type> 2068 1921 <type name="Neuro" context="Global context"> 2069 1922 <description><![CDATA[Live Neuron object.]]></description> … … 2234 2087 </arguments> 2235 2088 </element> 2236 <element name="getClass" function="true" >2089 <element name="getClass" function="true" type="NeuroClass"> 2237 2090 <arguments> 2238 2091 <argument name="class name" type="string"/> … … 2511 2364 time (t) float 0..6.28319]]></description> 2512 2365 </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 inputs2518 provides output value2519 does not require location in body2520 ]]></description>2521 </element>2522 <element name="ncl_OThr" type="integer" min="0" max="1">2523 <description><![CDATA[Characteristics:2524 uses single input2525 does not provide output value2526 should be located on a Joint2527 ]]></description>2528 </element>2529 <element name="ncl_SeeLight" type="integer" min="0" max="1">2530 <description><![CDATA[Characteristics:2531 does not use inputs2532 provides output value2533 should be located on a Part2534 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 inputs2544 provides output value2545 does not require location in body2546 ]]></description>2547 </element>2548 <element name="ncl_Delay" type="integer" min="0" max="1">2549 <description><![CDATA[Characteristics:2550 supports any number of inputs2551 provides output value2552 does not require location in body2553 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 input2561 provides output value2562 should be located on a Joint2563 ]]></description>2564 </element>2565 <element name="ncl_WarnLR" type="integer" min="0" max="1">2566 <description><![CDATA[Characteristics:2567 does not use inputs2568 provides output value2569 does not require location in body2570 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 inputs2580 provides output value2581 should be located on a Part2582 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 inputs2590 does not provide output value2591 does not require location in body2592 ]]></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 input2599 provides output value2600 does not require location in body2601 2602 2603 Properties:2604 K (k) float 0.01..1002605 Ti (ti) float 0.01..1002606 Td (td) float 0.01..100]]></description>2607 </element>2608 <element name="ncl_Lin" type="integer" min="0" max="1">2609 <description><![CDATA[output=input2610 2611 Characteristics:2612 supports any number of inputs2613 provides output value2614 does not require location in body2615 ]]></description>2616 </element>2617 <element name="ncl_WarnDD" type="integer" min="0" max="1">2618 <description><![CDATA[Characteristics:2619 does not use inputs2620 provides output value2621 does not require location in body2622 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 creatures2629 (in experiments with food in group #1)2630 2631 Characteristics:2632 does not use inputs2633 provides output value2634 should be located on a Part2635 ]]></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 value2639 2640 Characteristics:2641 supports any number of inputs2642 provides output value2643 does not require location in body2644 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 input2652 does not provide output value2653 does not require location in body2654 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 inputs2662 provides output value2663 does not require location in body2664 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 inputs2674 provides output value2675 should be located on a Part2676 ]]></description>2677 </element>2678 <element name="ncl_Light" type="integer" min="0" max="1">2679 <description><![CDATA[Characteristics:2680 supports any number of inputs2681 does not provide output value2682 should be located on a Part2683 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=lo2690 2691 Characteristics:2692 supports any number of inputs2693 provides output value2694 does not require location in body2695 2696 2697 Properties:2698 threshold (t) float2699 low output value (lo) float2700 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 input2707 provides output value2708 does not require location in body2709 2710 2711 Properties:2712 K (k) float 0.01..1002713 Ti (ti) float 0.01..1002714 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 datatypes2718 2719 Characteristics:2720 uses single input2721 provides output value2722 does not require location in body2723 2724 2725 Properties:2726 first integer (i1) integer2727 first float (f1) float2728 first string (s1) string2729 second integer (i2) integer2730 second float (f2) float2731 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 inputs2736 does not provide output value2737 should be located on a Part2738 ]]></description>2739 </element>2740 2366 </type> 2741 2367 <type name="NeuroSignals" context="Global context"> … … 2857 2483 <type name="Orient" context="Global context"> 2858 2484 <description><![CDATA[3D orientation, stored as 3x3 matrix.]]></description> 2485 <element name="angles" type="XYZ"/> 2486 <element name="toString" type="string"/> 2859 2487 <element name="toVector" type="Vector"> 2860 2488 <description><![CDATA[for serialization]]></description> … … 2902 2530 </element> 2903 2531 <element name="clone" function="true" type="Orient"><arguments/></element> 2904 <element name="localToWorld" function="true" >2532 <element name="localToWorld" function="true" type="XYZ"> 2905 2533 <arguments> 2906 2534 <argument name="point" type="XYZ"/> … … 2944 2572 </arguments> 2945 2573 </element> 2946 <element name="worldToLocal" function="true" >2574 <element name="worldToLocal" function="true" type="XYZ"> 2947 2575 <arguments> 2948 2576 <argument name="point" type="XYZ"/> … … 2955 2583 <element name="dn" type="float" min="0.2" max="5" default="1.0"/> 2956 2584 <element name="fr" type="float" min="0" max="4" default="0.4"/> 2585 <element name="h" type="float" min="0" max="1" default="0.0"/> 2957 2586 <element name="i" type="string"/> 2958 2587 <element name="ing" type="float" min="0" max="1" default="0.25"/> … … 2962 2591 <element name="rz" type="float"/> 2963 2592 <element name="s" type="float" min="0.1" max="10" default="1.0"/> 2593 <element name="sh" type="integer" min="0" max="3" default="0"/> 2594 <element name="sx" type="float" min="0.001" max="1000" default="1.0"/> 2595 <element name="sy" type="float" min="0.001" max="1000" default="1.0"/> 2596 <element name="sz" type="float" min="0.001" max="1000" default="1.0"/> 2964 2597 <element name="vb" type="float" min="0" max="1" default="0.5"/> 2965 2598 <element name="vg" type="float" min="0" max="1" default="0.5"/> … … 3001 2634 </element> 3002 2635 <element name="index" type="integer"/> 2636 <element name="iterator" type="Object"/> 3003 2637 <element name="killnostable" type="integer" min="0" max="10000000" default="1000000"> 3004 2638 <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> … … 3019 2653 <element name="selfmask" type="integer" min="0" max="2147483647" default="0"> 3020 2654 <description><![CDATA[Collisions between objects can be handled in two ways: 3021 - standard 'mechanical' collision (simple 'rebound' effect)2655 - standard 'mechanical' collision handler (simple 'rebound' effect) 3022 2656 - special script handler (On[GROUPNAME]Collision function) 3023 2657 … … 3026 2660 The handler is called once for each creature that collides with the creature from [GROUPNAME]. 3027 2661 3028 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. 2662 Collision masks that you set determine which handler will be used (none and both are also possible). On each collision, selfmask and othermask of the colliding objects are logically ANDed. 2663 If the resulting non-zero value falls into 16 lower bits (0x0000ffff), the standard handler is enabled. 2664 If the resulting non-zero value falls into 16 higher bits (0xffff0000), the custom handler is enabled. 2665 3029 2666 Examples: 3030 2667 … … 3037 2674 2.Two groups yield more interesting cases. Let us consider the 'standard.expdef' setting: 3038 2675 Creatures: selfmask=0x10001, othermask=0x20001 3039 Food colmask =selfmask=0x20002, othermask=0x100022676 Food: selfmask=0x20002, othermask=0x10002 3040 2677 There are three possible scenarios: 3041 2678 - creature and creature: collision value = 0x10001 & 0x20001 = 1 -> Standard handling will be used (1 is one of the lower 16 bits) 3042 2679 - food and food: collision value = 0x20002 & 0x10002 = 2 -> As above. 3043 - creature and food: collision value = (0x10001 & 0x10002) or (0x20002 & 0x20001) = 0x10000 or 0x20000 -> Custom handling will be used ( higher 16 bits).2680 - creature and food: collision value = (0x10001 & 0x10002) or (0x20002 & 0x20001) = 0x10000 or 0x20000 -> Custom handling will be used (the result falls into higher 16 bits). 3044 2681 ]]></description> 3045 2682 </element> … … 3051 2688 <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> 3052 2689 </element> 2690 <element name="add" function="true" type="Creature"> 2691 <arguments> 2692 <argument name="genotype object or geno object or string genotype" type="untyped"/> 2693 </arguments> 2694 </element> 3053 2695 <element name="clear" function="true" type="void"> 3054 2696 <description><![CDATA[Delete all creatures]]></description> 3055 2697 <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 2698 <element name="createFromGeno" function="true" type="Creature" deprecated="true"> 3062 2699 <description><![CDATA[Uses the supplied Geno object. 3063 Deprecated. Use the more universal create() function.]]></description>2700 Deprecated. Use the more universal add() function.]]></description> 3064 2701 <arguments> 3065 2702 <argument type="Geno"/> … … 3068 2705 <element name="createFromGenotype" function="true" type="Creature" deprecated="true"> 3069 2706 <description><![CDATA[Uses the selected Genotype object. 3070 Deprecated. Use the more universal create() function.]]></description>2707 Deprecated. Use the more universal add() function.]]></description> 3071 2708 <arguments/></element> 3072 2709 <element name="createFromString" function="true" type="Creature" deprecated="true"> 3073 2710 <description><![CDATA[Uses the supplied string argument. 3074 Deprecated. Use the more universal create() function.]]></description>2711 Deprecated. Use the more universal add() function.]]></description> 3075 2712 <arguments> 3076 2713 <argument name="genotype" type="string"/> … … 3078 2715 </element> 3079 2716 <element name="delete" function="true" type="void"> 3080 <description><![CDATA[ delete creature]]></description>2717 <description><![CDATA[Delete the creature (remove it without executing the onKill event). Removing creatures inside some event handlers (e.g. onCollision) might be unsafe.]]></description> 3081 2718 <arguments> 3082 2719 <argument name="creature object or index" type="untyped"/> … … 3099 2736 </arguments> 3100 2737 </element> 2738 <element name="getStatsAvg" function="true" type="float"> 2739 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description> 2740 <arguments> 2741 <argument name="field name" type="string"/> 2742 </arguments> 2743 </element> 2744 <element name="getStatsMax" function="true" type="float"> 2745 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description> 2746 <arguments> 2747 <argument name="field name" type="string"/> 2748 </arguments> 2749 </element> 2750 <element name="getStatsMin" function="true" type="float"> 2751 <description><![CDATA[Retrieves data from stats.* object. Can only be used for fields covered by stats.* (subset of Creature fields).]]></description> 2752 <arguments> 2753 <argument name="field name" type="string"/> 2754 </arguments> 2755 </element> 3101 2756 <element name="kill" function="true" type="void"> 3102 <description><![CDATA[ kill creature]]></description>2757 <description><![CDATA[Kill the creature (remove it and execute its onKill handler). Killing creatures inside some event handlers (e.g. onCollision) might be unsafe. The recommended and safe way of killing a creature is by setting its energy to 0.]]></description> 3103 2758 <arguments> 3104 2759 <argument name="creature object or index" type="integer"/> … … 3129 2784 <type name="Populations" context="Global context"> 3130 2785 <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/creat e fields in Populations). Currently, the more convenient and recommended way is to call Creatures's functions that operate directly on the passed objects.2786 Before version 4.0rc4 some operations could only be performed on the "selected" creature (the one pointed to by group/creature fields in Populations). Currently, the more convenient and recommended way is to call Creatures's functions that operate directly on the passed objects. 3132 2787 3133 2788 // The old way: … … 3148 2803 Deprecated. Pass creature object to functions needing it, instead of the old "first select, then call" approach.]]></description> 3149 2804 </element> 2805 <element name="iterator" type="Object"/> 3150 2806 <element name="size" type="integer"/> 3151 2807 <element name="addGroup" function="true" type="Population"> … … 3167 2823 <element name="creatBBCollisions" function="true" type="integer" deprecated="true"> 3168 2824 <description><![CDATA[Checks approximate collisions for the selected creature. 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). 2825 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ). 2826 Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature. 2827 3170 2828 Deprecated. Use Creature.boundingBoxCollisions()]]></description> 3171 2829 <arguments> … … 3228 2886 <description><![CDATA[(for internal use only) use &variablename to create Ref objects.]]></description> 3229 2887 </element> 3230 <element name="newS" function="true">3231 <description><![CDATA[(for internal use only) use &variablename to create Ref objects.]]></description>3232 </element>3233 2888 </type> 3234 2889 <type name="Shapes" context="Global context"> … … 3332 2987 <type name="sim_params" context="Global context"> 3333 2988 <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>3337 2989 <element name="autosaveperiod" type="integer" min="0" max="100000"> 3338 2990 <description><![CDATA[Save simulation state once every n-th event … … 3347 2999 <description><![CDATA[Random velocities will be applied to all body Parts (in MechaStick) or rigid segments (in ODE) of newly created creatures.]]></description> 3348 3000 </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>3355 </element>3356 3001 <element name="changedProperty" type="integer"/> 3357 3002 <element name="changedPropertyId" type="string"/> 3358 3003 <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>3395 3004 <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 surface3400 -0.5 = half depth3401 -1 = just above the bottom]]></description>3402 </element>3403 <element name="creaturesgrouploaded" type="integer">3404 <description><![CDATA[]]></description>3405 </element>3406 3005 <element name="creatwarnfail" type="integer" min="0" max="1"> 3407 3006 <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 times3421 - fitness will be averaged3422 - fitness standard deviation will be stored in the 'user1' field of a genotype3423 - there will be no "Unchanged" genotypes ("Unchanged" value is considered zero).]]></description>3424 3007 </element> 3425 3008 <element name="expdef" type="string"> … … 3613 3196 <description><![CDATA[mutation: probability of changing a node]]></description> 3614 3197 </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> 3198 <element name="f9_mut" type="float" min="0" max="1" default="0.1"> 3199 <description><![CDATA[How many genes should be mutated during single mutation (1=all genes, 0.1=ten percent)]]></description> 3200 </element> 3201 <element name="fF_xover" type="float" min="0" max="0.5" default="0.5"> 3202 <description><![CDATA[0.5 => children are averaged parents. 3203 0.2 => children are only 20% different from parents. 3204 0 => each child is identical to one parent (no crossover).]]></description> 3623 3205 </element> 3624 3206 <element name="filecomm" type="integer" min="0" max="1" default="1"> 3625 3207 <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 //03630 m:Vstyle=food3631 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>3634 3208 </element> 3635 3209 <element name="gen_extmutinfo" type="integer" min="0" max="2" default="0"> … … 3659 3233 <description><![CDATA[]]></description> 3660 3234 </element> 3235 <element name="genkonw5" type="integer" min="0" max="1"> 3236 <description><![CDATA[]]></description> 3237 </element> 3661 3238 <element name="genoper_f0" type="integer" min="0" max="0"> 3662 3239 <description><![CDATA[]]></description> … … 3673 3250 <element name="genoper_f4" type="integer" min="0" max="0"> 3674 3251 <description><![CDATA[]]></description> 3252 </element> 3253 <element name="genoper_f9" type="integer" min="0" max="0"> 3254 <description><![CDATA[]]></description> 3255 </element> 3256 <element name="genoper_fF" type="integer" min="0" max="0"> 3257 <description><![CDATA[]]></description> 3258 </element> 3259 <element name="geom_density" type="float" min="0.01" max="100" default="1.0"> 3260 <description><![CDATA[Affects the geometry calculation precision]]></description> 3675 3261 </element> 3676 3262 <element name="groupchk" type="integer" min="0" max="1"/> … … 3679 3265 </element> 3680 3266 <element name="importchk" type="integer" min="0" max="1"/> 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 3267 <element name="lastCheckpoint" type="untyped"> 3686 3268 <description><![CDATA[Most recently reported by the experiment definition script.]]></description> 3687 3269 </element> 3688 3270 <element name="loadchk" type="integer" min="0" max="1"/> 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 3271 <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 3272 <element name="minjoint" type="float" min="0" max="100" default="0.0"/> 3704 3273 <element name="neuadd_N" type="integer" min="0" max="1"> … … 3948 3517 time (t) float 0..6.28319]]></description> 3949 3518 </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 inputs3955 provides output value3956 does not require location in body3957 ]]></description>3958 </element>3959 <element name="neuadd_OThr" type="integer" min="0" max="1">3960 <description><![CDATA[Characteristics:3961 uses single input3962 does not provide output value3963 should be located on a Joint3964 ]]></description>3965 </element>3966 <element name="neuadd_SeeLight" type="integer" min="0" max="1">3967 <description><![CDATA[Characteristics:3968 does not use inputs3969 provides output value3970 should be located on a Part3971 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 inputs3981 provides output value3982 does not require location in body3983 ]]></description>3984 </element>3985 <element name="neuadd_Delay" type="integer" min="0" max="1">3986 <description><![CDATA[Characteristics:3987 supports any number of inputs3988 provides output value3989 does not require location in body3990 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 input3998 provides output value3999 should be located on a Joint4000 ]]></description>4001 </element>4002 <element name="neuadd_WarnLR" type="integer" min="0" max="1">4003 <description><![CDATA[Characteristics:4004 does not use inputs4005 provides output value4006 does not require location in body4007 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 inputs4017 provides output value4018 should be located on a Part4019 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 inputs4027 does not provide output value4028 does not require location in body4029 ]]></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 input4036 provides output value4037 does not require location in body4038 4039 4040 Properties:4041 K (k) float 0.01..1004042 Ti (ti) float 0.01..1004043 Td (td) float 0.01..100]]></description>4044 </element>4045 <element name="neuadd_Lin" type="integer" min="0" max="1">4046 <description><![CDATA[output=input4047 4048 Characteristics:4049 supports any number of inputs4050 provides output value4051 does not require location in body4052 ]]></description>4053 </element>4054 <element name="neuadd_WarnDD" type="integer" min="0" max="1">4055 <description><![CDATA[Characteristics:4056 does not use inputs4057 provides output value4058 does not require location in body4059 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 creatures4066 (in experiments with food in group #1)4067 4068 Characteristics:4069 does not use inputs4070 provides output value4071 should be located on a Part4072 ]]></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 value4076 4077 Characteristics:4078 supports any number of inputs4079 provides output value4080 does not require location in body4081 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 input4089 does not provide output value4090 does not require location in body4091 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 inputs4099 provides output value4100 does not require location in body4101 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 inputs4111 provides output value4112 should be located on a Part4113 ]]></description>4114 </element>4115 <element name="neuadd_Light" type="integer" min="0" max="1">4116 <description><![CDATA[Characteristics:4117 supports any number of inputs4118 does not provide output value4119 should be located on a Part4120 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=lo4127 4128 Characteristics:4129 supports any number of inputs4130 provides output value4131 does not require location in body4132 4133 4134 Properties:4135 threshold (t) float4136 low output value (lo) float4137 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 input4144 provides output value4145 does not require location in body4146 4147 4148 Properties:4149 K (k) float 0.01..1004150 Ti (ti) float 0.01..1004151 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 datatypes4155 4156 Characteristics:4157 uses single input4158 provides output value4159 does not require location in body4160 4161 4162 Properties:4163 first integer (i1) integer4164 first float (f1) float4165 first string (s1) string4166 second integer (i2) integer4167 second float (f2) float4168 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 inputs4173 does not provide output value4174 should be located on a Part4175 ]]></description>4176 </element>4177 3519 <element name="ncl_N" type="integer" min="0" max="1"> 4178 3520 <description><![CDATA[Standard neuron … … 4421 3763 time (t) float 0..6.28319]]></description> 4422 3764 </element> 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 inputs4428 provides output value4429 does not require location in body4430 ]]></description>4431 </element>4432 <element name="ncl_OThr" type="integer" min="0" max="1">4433 <description><![CDATA[Characteristics:4434 uses single input4435 does not provide output value4436 should be located on a Joint4437 ]]></description>4438 </element>4439 <element name="ncl_SeeLight" type="integer" min="0" max="1">4440 <description><![CDATA[Characteristics:4441 does not use inputs4442 provides output value4443 should be located on a Part4444 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 inputs4454 provides output value4455 does not require location in body4456 ]]></description>4457 </element>4458 <element name="ncl_Delay" type="integer" min="0" max="1">4459 <description><![CDATA[Characteristics:4460 supports any number of inputs4461 provides output value4462 does not require location in body4463 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 input4471 provides output value4472 should be located on a Joint4473 ]]></description>4474 </element>4475 <element name="ncl_WarnLR" type="integer" min="0" max="1">4476 <description><![CDATA[Characteristics:4477 does not use inputs4478 provides output value4479 does not require location in body4480 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 inputs4490 provides output value4491 should be located on a Part4492 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 inputs4500 does not provide output value4501 does not require location in body4502 ]]></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 input4509 provides output value4510 does not require location in body4511 4512 4513 Properties:4514 K (k) float 0.01..1004515 Ti (ti) float 0.01..1004516 Td (td) float 0.01..100]]></description>4517 </element>4518 <element name="ncl_Lin" type="integer" min="0" max="1">4519 <description><![CDATA[output=input4520 4521 Characteristics:4522 supports any number of inputs4523 provides output value4524 does not require location in body4525 ]]></description>4526 </element>4527 <element name="ncl_WarnDD" type="integer" min="0" max="1">4528 <description><![CDATA[Characteristics:4529 does not use inputs4530 provides output value4531 does not require location in body4532 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 creatures4539 (in experiments with food in group #1)4540 4541 Characteristics:4542 does not use inputs4543 provides output value4544 should be located on a Part4545 ]]></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 value4549 4550 Characteristics:4551 supports any number of inputs4552 provides output value4553 does not require location in body4554 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 input4562 does not provide output value4563 does not require location in body4564 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 inputs4572 provides output value4573 does not require location in body4574 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 inputs4584 provides output value4585 should be located on a Part4586 ]]></description>4587 </element>4588 <element name="ncl_Light" type="integer" min="0" max="1">4589 <description><![CDATA[Characteristics:4590 supports any number of inputs4591 does not provide output value4592 should be located on a Part4593 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=lo4600 4601 Characteristics:4602 supports any number of inputs4603 provides output value4604 does not require location in body4605 4606 4607 Properties:4608 threshold (t) float4609 low output value (lo) float4610 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 input4617 provides output value4618 does not require location in body4619 4620 4621 Properties:4622 K (k) float 0.01..1004623 Ti (ti) float 0.01..1004624 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 datatypes4628 4629 Characteristics:4630 uses single input4631 provides output value4632 does not require location in body4633 4634 4635 Properties:4636 first integer (i1) integer4637 first float (f1) float4638 first string (s1) string4639 second integer (i2) integer4640 second float (f2) float4641 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 inputs4646 does not provide output value4647 should be located on a Part4648 ]]></description>4649 </element>4650 3765 <element name="nnoise" type="float" min="0" max="1" default="0.0"> 4651 3766 <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> … … 4653 3768 <element name="nnspeed" type="float" min="0" max="1000" default="1.0"> 4654 3769 <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 here4658 (it will be saved to the experiment file)]]></description>4659 3770 </element> 4660 3771 <element name="odeairdrag" type="float" min="0" max="0.5" default="0.01"> … … 4713 3824 <description><![CDATA[Overwite existing files or create their backups]]></description> 4714 3825 </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 3826 <element name="populations" type="Populations"/> 4728 3827 <element name="randinit" type="float" min="0" max="10" default="0.01"> … … 4733 3832 If turned off: parameters from previous experiment definition will remain (dangerous).]]></description> 4734 3833 </element> 4735 <element name="rotation" type="integer" min="0" max="4">4736 <description><![CDATA[Initial heading of newborn creatures]]></description>4737 </element>4738 3834 <element name="running" type="integer" min="0" max="1"> 4739 3835 <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>4746 3836 </element> 4747 3837 <element name="signals" type="WorldSignals"/> … … 4768 3858 </element> 4769 3859 <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>4772 </element>4773 3860 <element name="symAlphaSteps" type="integer" min="2" max="50" default="20"> 4774 3861 <description><![CDATA[Default number of samples per full angle (#1)]]></description> … … 4785 3872 <element name="symResultD" type="float"/> 4786 3873 <element name="time" type="integer"/> 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 3874 <element name="touchrange" type="float" min="0" max="100" default="1.0"/> 4795 3875 <element name="user" type="untyped"/> … … 4818 3898 </element> 4819 3899 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 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> 3900 <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/> 4825 3901 <element name="add" function="true"/> 4826 3902 <element name="addGroup" function="true"/> 3903 <element name="area" function="true" type="float"><arguments/></element> 4827 3904 <element name="beep" function="true" type="void"> 4828 3905 <description><![CDATA[Plays a default system sound]]></description> … … 4865 3942 </element> 4866 3943 <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>4871 3944 <element name="crossOver" function="true" type="Geno"> 4872 3945 <description><![CDATA[returns crossed over genotype]]></description> … … 4877 3950 </element> 4878 3951 <element name="eval" function="true" type="void"> 4879 <arguments> 4880 <argument name="script expression" type="string"/> 3952 <description><![CDATA[The argument must be a complete statement, e.g. "return 2+2;" is valid, while "2+2" is not. The EvalError object is returned for invalid statements. 3953 Example: 3954 var statement="function fun(a) {return a*a;} return fun(Math.pi);"; 3955 var result=Simulator.eval(statement); 3956 if (typeof result=="EvalError") 3957 Simulator.print("Error:"+result.message); 3958 else 3959 Simulator.print("Result:"+result);]]></description> 3960 <arguments> 3961 <argument name="script statement" type="string"/> 4881 3962 </arguments> 4882 3963 </element> … … 4908 3989 </arguments> 4909 3990 </element> 3991 <element name="forModel" function="true" type="ModelGeometry"> 3992 <description><![CDATA[The returned ModelGeometry object can be used to calculate geometric properties (volume, area, sizes) of the associated model. The density is copied from the current global ModelGeometry.geom_density on object creation.]]></description> 3993 <arguments> 3994 <argument type="Model"/> 3995 </arguments> 3996 </element> 4910 3997 <element name="getSimplest" function="true" type="Geno"> 4911 3998 <description><![CDATA[returns the simplest genotype for a given encoding (format). 0 means f0, 4 means f4, etc.]]></description> … … 5001 4088 </arguments> 5002 4089 </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> 5074 </element> 4090 <element name="sizesAndAxes" function="true" type="Vector"> 4091 <description><![CDATA[The returned vector contains XYZ (sizes) and Orient (axes) objects.]]></description> 4092 <arguments/></element> 5075 4093 <element name="sleep" function="true" type="void"> 5076 4094 <description><![CDATA[Suspends the execution for a specified interval]]></description> … … 5111 4129 </arguments> 5112 4130 </element> 4131 <element name="volume" function="true" type="float"><arguments/></element> 5113 4132 <element name="wrldchg" function="true" type="void"><arguments/></element> 5114 4133 </type> … … 5206 4225 </element> 5207 4226 <element name="eval" function="true" type="void"> 5208 <arguments> 5209 <argument name="script expression" type="string"/> 4227 <description><![CDATA[The argument must be a complete statement, e.g. "return 2+2;" is valid, while "2+2" is not. The EvalError object is returned for invalid statements. 4228 Example: 4229 var statement="function fun(a) {return a*a;} return fun(Math.pi);"; 4230 var result=Simulator.eval(statement); 4231 if (typeof result=="EvalError") 4232 Simulator.print("Error:"+result.message); 4233 else 4234 Simulator.print("Result:"+result);]]></description> 4235 <arguments> 4236 <argument name="script statement" type="string"/> 5210 4237 </arguments> 5211 4238 </element> … … 5423 4450 <element name="st_avg_pos_y" type="float"/> 5424 4451 <element name="st_avg_pos_z" type="float"/> 5425 <element name="st_avg_selfcol" type="float"/>5426 <element name="st_avg_selfcolstate" type="float"/>5427 4452 <element name="st_avg_size_x" type="float"/> 5428 4453 <element name="st_avg_size_y" type="float"/> … … 5452 4477 <element name="st_max_pos_y" type="float"/> 5453 4478 <element name="st_max_pos_z" type="float"/> 5454 <element name="st_max_selfcol" type="float"/>5455 <element name="st_max_selfcolstate" type="float"/>5456 4479 <element name="st_max_size_x" type="float"/> 5457 4480 <element name="st_max_size_y" type="float"/> … … 5480 4503 <element name="st_min_pos_y" type="float"/> 5481 4504 <element name="st_min_pos_z" type="float"/> 5482 <element name="st_min_selfcol" type="float"/>5483 <element name="st_min_selfcolstate" type="float"/>5484 4505 <element name="st_min_size_x" type="float"/> 5485 4506 <element name="st_min_size_y" type="float"/> … … 5518 4539 <arguments> 5519 4540 <argument type="string"/> 4541 </arguments> 4542 </element> 4543 <element name="diff" function="true" type="Vector"> 4544 <description><![CDATA[Returns the vector of minimal differences between two strings. The vector contains either 2-element subvectors with differing substrings ["text-1","text-2"] or strings "same". 4545 4546 For example, String.diff("thisisatest", "testing123testing") returns [t,[hi,e],s,[,t],i,[sa,ng123],test,[,ing]]. 4547 4548 Use this function for short strings, as it requires 4*length(string1)*length(string2) bytes of memory.]]></description> 4549 <arguments> 4550 <argument type="string"/> 4551 <argument type="string"/> 4552 </arguments> 4553 </element> 4554 <element name="endsWith" function="true" type="integer"> 4555 <arguments> 4556 <argument name="string" type="string"/> 4557 <argument name="substring" type="string"/> 5520 4558 </arguments> 5521 4559 </element> … … 5554 4592 </arguments> 5555 4593 </element> 4594 <element name="hash" function="true" type="integer"> 4595 <arguments> 4596 <argument type="string"/> 4597 </arguments> 4598 </element> 5556 4599 <element name="indexOf" function="true" type="integer"> 5557 4600 <description><![CDATA[String.indexOf("abcdef","cd") -> 2 … … 5631 4674 <argument type="string"/> 5632 4675 <argument name="word separator" type="string"/> 4676 </arguments> 4677 </element> 4678 <element name="startsWith" function="true" type="integer"> 4679 <arguments> 4680 <argument name="string" type="string"/> 4681 <argument name="substring" type="string"/> 5633 4682 </arguments> 5634 4683 </element> … … 5709 4758 <element name="remove" function="true"/> 5710 4759 <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 genotypes5725 (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 middle5729 (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>5783 4760 </type> 5784 4761 <type name="Vector" context="Global context"> … … 5788 4765 v.add(123); v.add("string");]]></description> 5789 4766 <element name="avg" type="float"/> 4767 <element name="iterator" type="Object"/> 5790 4768 <element name="size" type="integer"/> 5791 4769 <element name="stdev" type="float"> … … 5865 4843 </element> 5866 4844 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 5867 <element name="wrldwat" type="float" min="-20" max=" 50" default="-1.0"/>4845 <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/> 5868 4846 <element name="wrldchg" function="true" type="void"><arguments/></element> 5869 4847 </type> … … 6045 5023 </type> 6046 5024 <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>6057 5025 <element name="changedProperty" type="integer"/> 6058 5026 <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 surface6099 -0.5 = half depth6100 -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 times6114 - fitness will be averaged6115 - fitness standard deviation will be stored in the 'user1' field of a genotype6116 - 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 //06130 m:Vstyle=food6131 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 5027 <element name="add" function="true"/> 6181 5028 <element name="addGroup" function="true"/> 6182 5029 <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 5030 <element name="remove" function="true"/> 6188 5031 <element name="removeGroup" function="true"/> … … 6191 5034 <element name="changedProperty" type="integer"/> 6192 5035 <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 here6198 (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>6207 5036 <element name="add" function="true"/> 6208 5037 <element name="addGroup" function="true"/> … … 6427 5256 </element> 6428 5257 <element name="mutate" function="true" type="void"><arguments/></element> 6429 <element name="newFromCreature" function="true" >5258 <element name="newFromCreature" function="true" type="Genotype"> 6430 5259 <arguments> 6431 5260 <argument name="creature" type="Creature"/> 6432 5261 </arguments> 6433 5262 </element> 6434 <element name="newFromGeno" function="true" >5263 <element name="newFromGeno" function="true" type="Genotype"> 6435 5264 <arguments> 6436 5265 <argument name="geno" type="Geno"/> 6437 5266 </arguments> 6438 5267 </element> 6439 <element name="newFromString" function="true" >5268 <element name="newFromString" function="true" type="Genotype"> 6440 5269 <arguments> 6441 5270 <argument name="genotype" type="string"/> … … 6548 5377 <element name="boundingBoxCollisions" function="true" type="integer"> 6549 5378 <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> 5379 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ). 5380 Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature.]]></description> 6551 5381 <arguments> 6552 5382 <argument name="mask" type="integer"/> … … 6657 5487 This is a link between a creature's element (part/joint/neuron) and the geometry object (Element.node). 6658 5488 Calling Element.useXXX() functions connects the static object references (Creature, Model, Part, Joint, Neuro, MechPart, MechJoint) to the proper creature elements. All these objects are invalid before doing that! E.g. you have to call "Element.useCreature()" before referring to "Creature.energy" in your _build() and _update() functions.]]></description> 6659 <element name="node" type="integer"/> 5489 <element name="node" type="SSGNode"/> 5490 <element name="shadow" type="float"/> 6660 5491 <element name="useCreature" function="true"/> 6661 5492 <element name="useJoint" function="true"/> … … 6675 5506 <description><![CDATA[Scene graph access (build and manipulate the 3d object tree)]]></description> 6676 5507 <element name="code" type="string"/> 6677 <element name="currentNode" type=" integer"/>5508 <element name="currentNode" type="SSGNode"/> 6678 5509 <element name="defaultStyle" type="string"/> 6679 5510 <element name="matrix00" type="float"/> … … 6693 5524 <element name="matrix32" type="float"/> 6694 5525 <element name="matrix33" type="float"/> 6695 <element name="rootNode" type=" integer"/>6696 <element name="updatingNode" type=" integer"/>5526 <element name="rootNode" type="SSGNode"/> 5527 <element name="updatingNode" type="SSGNode"/> 6697 5528 <element name="add" function="true" type="void"> 6698 5529 <description><![CDATA[add a child node to the current node]]></description> 6699 5530 <arguments> 6700 <argument name="node" type="integer"/>5531 <argument type="SSGNode"/> 6701 5532 </arguments> 6702 5533 </element> … … 6709 5540 <element name="dump" function="true" type="void"> 6710 5541 <arguments> 6711 <argument name="node" type=" integer"/>5542 <argument name="node" type="SSGNode"/> 6712 5543 <argument name="level" type="integer"/> 6713 5544 </arguments> … … 6715 5546 <element name="getBranch" function="true" type="integer"> 6716 5547 <arguments> 6717 <argument name="branch node" type=" integer"/>5548 <argument name="branch node" type="SSGNode"/> 6718 5549 <argument name="branch index" type="integer"/> 6719 5550 </arguments> … … 6768 5599 <description><![CDATA[copy current matrix into specified node]]></description> 6769 5600 <arguments> 6770 <argument name="transform node" type=" integer"/>5601 <argument name="transform node" type="SSGNode"/> 6771 5602 </arguments> 6772 5603 </element> … … 6806 5637 <element name="ry" type="float"/> 6807 5638 <element name="rz" type="float"/> 5639 <element name="sh" type="integer" min="0" max="1" default="0"/> 6808 5640 <element name="stam" type="float" min="0" max="1" default="0.25"/> 6809 5641 <element name="stif" type="float" min="0" max="1" default="1.0"/> … … 6816 5648 <description><![CDATA[Loads 3d objects files. 6817 5649 Visual styles placed in subdirectories (like "matrix") automatically access the parent directory if the file is not found in their subdirectory.]]></description> 6818 <element name="loaded" type=" integer"/>5650 <element name="loaded" type="SSGNode"/> 6819 5651 <element name="load" function="true"/> 6820 5652 </type> … … 6844 5676 <type name="MechJoint" context="Visual style definition"> 6845 5677 <description><![CDATA[Current joint properties during the simulation]]></description> 6846 <element name="absorient" type=" integer"/>6847 <element name="calcorient" type=" integer"/>5678 <element name="absorient" type="Orient"/> 5679 <element name="calcorient" type="Orient"/> 6848 5680 <element name="dx" type="float"/> 6849 5681 <element name="dy" type="float"/> 6850 5682 <element name="dz" type="float"/> 6851 5683 <element name="length" type="float"/> 6852 <element name="orient" type=" integer"/>5684 <element name="orient" type="Orient"/> 6853 5685 <element name="rotstif" type="float"/> 6854 5686 <element name="rotstress" type="float"/> … … 6863 5695 <element name="fr" type="float"/> 6864 5696 <element name="m" type="float"/> 6865 <element name="orient" type=" integer"/>6866 <element name="pos" type=" integer"/>5697 <element name="orient" type="Orient"/> 5698 <element name="pos" type="XYZ"/> 6867 5699 <element name="s" type="float"/> 6868 5700 <element name="vol" type="float"/> … … 6901 5733 <element name="dn" type="float" min="0.2" max="5" default="1.0"/> 6902 5734 <element name="fr" type="float" min="0" max="4" default="0.4"/> 5735 <element name="h" type="float" min="0" max="1" default="0.0"/> 6903 5736 <element name="i" type="string"/> 6904 5737 <element name="ing" type="float" min="0" max="1" default="0.25"/> … … 6908 5741 <element name="rz" type="float"/> 6909 5742 <element name="s" type="float" min="0.1" max="10" default="1.0"/> 5743 <element name="sh" type="integer" min="0" max="3" default="0"/> 5744 <element name="sx" type="float" min="0.001" max="1000" default="1.0"/> 5745 <element name="sy" type="float" min="0.001" max="1000" default="1.0"/> 5746 <element name="sz" type="float" min="0.001" max="1000" default="1.0"/> 6910 5747 <element name="vb" type="float" min="0" max="1" default="0.5"/> 6911 5748 <element name="vg" type="float" min="0" max="1" default="0.5"/> … … 6924 5761 <type name="VertexBuilder" context="Visual style definition"> 6925 5762 <element name="material" type="Object"/> 6926 <element name="node" type=" integer">5763 <element name="node" type="SSGNode"> 6927 5764 <description><![CDATA[This field returns the geometry node for use in GeomBuilder. You have to set all relevant geometry properties before using this field. The usual sequence: 6928 5765 1. newXXX - selects the geometry type (see your OpenGL manual for explanation) … … 6962 5799 </type> 6963 5800 <type name="VisParams" context="Visual style definition"> 5801 <element name="axes" type="integer" min="0" max="1" default="0"> 5802 <description><![CDATA[]]></description> 5803 </element> 5804 <element name="bbox" type="integer" min="0" max="1" default="1"> 5805 <description><![CDATA[]]></description> 5806 </element> 5807 <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040"> 5808 <description><![CDATA[]]></description> 5809 </element> 6964 5810 <element name="changedProperty" type="integer"/> 6965 5811 <element name="changedPropertyId" type="string"/> 6966 <element name="modelpan" type="integer" min="0" max="3"> 6967 <description><![CDATA[]]></description> 6968 </element> 6969 <element name="shownames" type="integer" min="0" max="1"> 6970 <description><![CDATA[]]></description> 6971 </element> 6972 <element name="worldpan" type="integer" min="0" max="3"> 5812 <element name="joint_width" type="integer" min="10" max="150" default="100"> 5813 <description><![CDATA[]]></description> 5814 </element> 5815 <element name="modelpan" type="integer" min="0" max="3" default="1"> 5816 <description><![CDATA[]]></description> 5817 </element> 5818 <element name="shadows" type="integer" min="0" max="1" default="1"> 5819 <description><![CDATA[]]></description> 5820 </element> 5821 <element name="shownames" type="integer" min="0" max="1" default="0"> 5822 <description><![CDATA[]]></description> 5823 </element> 5824 <element name="symmetryplane" type="integer" min="0" max="1" default="0"> 5825 <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies). 5826 Use scripting and the Symmetry class to compute symmetry accurately.]]></description> 5827 </element> 5828 <element name="worldpan" type="integer" min="0" max="3" default="2"> 6973 5829 <description><![CDATA[]]></description> 6974 5830 </element> … … 6989 5845 <element name="jointshadow" type="float"/> 6990 5846 <element name="partshadow" type="float"/> 6991 <element name="rootNode" type=" integer"/>5847 <element name="rootNode" type="SSGNode"/> 6992 5848 <element name="style" type="string"> 6993 5849 <description><![CDATA[visual style applied to this object]]></description> … … 7003 5859 </type> 7004 5860 <type name="VisualStyle" context="Visual style definition"> 5861 <element name="axes" type="integer" min="0" max="1" default="0"> 5862 <description><![CDATA[]]></description> 5863 </element> 5864 <element name="bbox" type="integer" min="0" max="1" default="1"> 5865 <description><![CDATA[]]></description> 5866 </element> 5867 <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040"> 5868 <description><![CDATA[]]></description> 5869 </element> 7005 5870 <element name="changedProperty" type="integer"/> 7006 5871 <element name="changedPropertyId" type="string"/> 7007 5872 <element name="code" type="string"/> 7008 5873 <element name="info" type="string"/> 7009 <element name="modelpan" type="integer" min="0" max="3"> 5874 <element name="joint_width" type="integer" min="10" max="150" default="100"> 5875 <description><![CDATA[]]></description> 5876 </element> 5877 <element name="modelpan" type="integer" min="0" max="3" default="1"> 7010 5878 <description><![CDATA[]]></description> 7011 5879 </element> 7012 5880 <element name="name" type="string"/> 7013 <element name="neurons" type="integer" min="0" max="1"/> 7014 <element name="shownames" type="integer" min="0" max="1"> 7015 <description><![CDATA[]]></description> 7016 </element> 7017 <element name="smooth" type="integer" min="0" max="1"/> 5881 <element name="neurons" type="integer" min="0" max="1" default="1"/> 5882 <element name="shadows" type="integer" min="0" max="1" default="1"> 5883 <description><![CDATA[]]></description> 5884 </element> 5885 <element name="shownames" type="integer" min="0" max="1" default="0"> 5886 <description><![CDATA[]]></description> 5887 </element> 5888 <element name="smooth" type="integer" min="0" max="1" default="1"/> 7018 5889 <element name="style" type="string"/> 7019 <element name="tex" type="integer" min="0" max="2"/> 7020 <element name="worldpan" type="integer" min="0" max="3"> 5890 <element name="symmetryplane" type="integer" min="0" max="1" default="0"> 5891 <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies). 5892 Use scripting and the Symmetry class to compute symmetry accurately.]]></description> 5893 </element> 5894 <element name="tex" type="integer" min="0" max="2" default="1"/> 5895 <element name="worldpan" type="integer" min="0" max="3" default="2"> 7021 5896 <description><![CDATA[]]></description> 7022 5897 </element> … … 7060 5935 </element> 7061 5936 <element name="wrldtyp" type="integer" min="0" max="2" default="0"/> 7062 <element name="wrldwat" type="float" min="-20" max=" 50" default="-1.0"/>5937 <element name="wrldwat" type="float" min="-20" max="200" default="-1.0"/> 7063 5938 <element name="wrldchg" function="true" type="void"><arguments/></element> 7064 5939 </type> … … 7322 6197 </type> 7323 6198 <type name="ImageExport" context="Command line interface"> 7324 <element name="imgex_compress" type="integer" min="0" max="100" />6199 <element name="imgex_compress" type="integer" min="0" max="100" default="15"/> 7325 6200 <element name="imgex_currframe" type="integer"/> 7326 6201 <element name="imgex_enabled" type="integer" min="0" max="1"/> 7327 6202 <element name="imgex_format" type="integer" min="0" max="2"/> 7328 6203 <element name="imgex_lastfile" type="string"/> 7329 <element name="imgex_maxframes" type="integer" >6204 <element name="imgex_maxframes" type="integer" min="0" max="1000000" default="10000"> 7330 6205 <description><![CDATA[How many frames are to be generated?]]></description> 7331 6206 </element> … … 7340 6215 (a small value means more frames and smooth animation)]]></description> 7341 6216 </element> 7342 <element name="imgex_startf" type="integer" >6217 <element name="imgex_startf" type="integer" min="0" max="1000000" default="0"> 7343 6218 <description><![CDATA[Starting number]]></description> 7344 6219 </element> … … 7407 6282 <element name="code" type="string"/> 7408 6283 <element name="dispinfo" type="integer" min="0" max="2"/> 6284 <element name="excludeshows" type="string"> 6285 <description><![CDATA[names of shows excluded from the show menu. Use * as a wildcard.]]></description> 6286 </element> 7409 6287 <element name="expdef" type="string"/> 6288 <element name="includeshows" type="string"> 6289 <description><![CDATA[names of shows included in the show menu. Use * as a wildcard.]]></description> 6290 </element> 7410 6291 <element name="info" type="string"/> 7411 6292 <element name="mode" type="integer" min="0" max="2"/> … … 7448 6329 <type name="TrackingCam" context="Command line interface"> 7449 6330 <description><![CDATA[Camera object with the automatic target tracking ability.]]></description> 7450 <element name="cam_change" type="integer" min="0" max="5" default=" 3"/>6331 <element name="cam_change" type="integer" min="0" max="5" default="2"/> 7451 6332 <element name="cam_chspeed" type="float" min="0.1" max="10" default="1.0"/> 7452 6333 <element name="cam_dir" type="float" min="0" max="360" default="30.0"/> … … 7464 6345 <element name="cam_trspeed" type="float" min="0.1" max="10" default="5.0"/> 7465 6346 <element name="cam_zoom" type="float" min="0.2" max="3" default="0.8"/> 6347 <element name="interacting" type="integer" min="0" max="2"/> 7466 6348 <element name="cam_restore" function="true" type="void"> 7467 6349 <description><![CDATA[Update camera position and restore automatic tracking]]></description> … … 7476 6358 </arguments> 7477 6359 </element> 6360 <element name="setOrient" function="true" type="void"> 6361 <arguments> 6362 <argument type="Orient"/> 6363 </arguments> 6364 </element> 7478 6365 <element name="setTarget" function="true" type="void"> 7479 6366 <description><![CDATA[select a new target for the camera]]></description> … … 7494 6381 </type> 7495 6382 <type name="VisualStyle" context="Command line interface"> 6383 <element name="axes" type="integer" min="0" max="1" default="0"> 6384 <description><![CDATA[]]></description> 6385 </element> 6386 <element name="bbox" type="integer" min="0" max="1" default="1"> 6387 <description><![CDATA[]]></description> 6388 </element> 6389 <element name="bgcolor" type="integer" min="0" max="16777215" default="16764040"> 6390 <description><![CDATA[]]></description> 6391 </element> 7496 6392 <element name="changedProperty" type="integer"/> 7497 6393 <element name="changedPropertyId" type="string"/> 7498 6394 <element name="code" type="string"/> 7499 6395 <element name="info" type="string"/> 7500 <element name="modelpan" type="integer" min="0" max="3"> 6396 <element name="joint_width" type="integer" min="10" max="150" default="100"> 6397 <description><![CDATA[]]></description> 6398 </element> 6399 <element name="modelpan" type="integer" min="0" max="3" default="1"> 7501 6400 <description><![CDATA[]]></description> 7502 6401 </element> 7503 6402 <element name="name" type="string"/> 7504 <element name="neurons" type="integer" min="0" max="1"/> 7505 <element name="shownames" type="integer" min="0" max="1"> 7506 <description><![CDATA[]]></description> 7507 </element> 7508 <element name="smooth" type="integer" min="0" max="1"/> 6403 <element name="neurons" type="integer" min="0" max="1" default="1"/> 6404 <element name="shadows" type="integer" min="0" max="1" default="1"> 6405 <description><![CDATA[]]></description> 6406 </element> 6407 <element name="shownames" type="integer" min="0" max="1" default="0"> 6408 <description><![CDATA[]]></description> 6409 </element> 6410 <element name="smooth" type="integer" min="0" max="1" default="1"/> 7509 6411 <element name="style" type="string"/> 7510 <element name="tex" type="integer" min="0" max="2"/> 7511 <element name="worldpan" type="integer" min="0" max="3"> 6412 <element name="symmetryplane" type="integer" min="0" max="1" default="0"> 6413 <description><![CDATA[Displays a guess of the symmetry plane (may take a long time to compue for complex bodies). 6414 Use scripting and the Symmetry class to compute symmetry accurately.]]></description> 6415 </element> 6416 <element name="tex" type="integer" min="0" max="2" default="1"/> 6417 <element name="worldpan" type="integer" min="0" max="3" default="2"> 7512 6418 <description><![CDATA[]]></description> 7513 6419 </element>
Note: See TracChangeset
for help on using the changeset viewer.