Changeset 408
- Timestamp:
- 07/01/15 03:55:45 (9 years ago)
- Location:
- cpp/frams
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/neuro_layout_test.cpp
r391 r408 16 16 Sample code: Neuron layout tester 17 17 18 Hint: Use loader_test to extract genotypes from framsticks *.gen files:18 Hint: Use loader_test to extract genotypes from Framsticks *.gen files: 19 19 loader_test "data/walking.gen" "Walking Lizard" | neuro_layout_test - 20 20 */ -
cpp/frams/genetics/f1/conv_f1.h
r287 r408 19 19 20 20 /** 21 Official framsticks f1 -> f0 converter.21 Official Framsticks f1 -> f0 converter. 22 22 Source code is published as educational example, but currently not 23 23 well documented. -
cpp/frams/model/model.h
r304 r408 25 25 26 26 /** 27 "Model" is the skeleton of the framsticks creature.27 "Model" is the skeleton of the Framsticks creature. 28 28 This object can be used for 2 purposes: 29 - you can build a creature from any supported framsticks genotype29 - you can build a creature from any supported Framsticks genotype 30 30 format 31 31 - or generate low level f0 genotype from existing construct. … … 33 33 In both cases you have access to geometry and neuron net data. 34 34 Using this standard class assures compatibility and good 35 integration with core framsticks engine.35 integration with core Framsticks engine. 36 36 37 37 Model contains 3 kinds of objects: -
cpp/frams/model/modelparts.h
r286 r408 62 62 }; 63 63 64 /// Part is the only real physical object in the framsticks creature.64 /// Part is the only real physical object in the Framsticks creature. 65 65 /// You can use this class for querying and adjusting constructed 66 66 /// model properties … … 84 84 85 85 /// 86 paInt shape;///default=old framsticks compatible, do not mix with shapes>086 paInt shape;///default=old Framsticks compatible, do not mix with shapes>0 87 87 enum Shape {SHAPE_DEFAULT=0, SHAPE_ELLIPSOID=1, SHAPE_CUBOID=2, SHAPE_CYLINDER=3}; 88 88 double mass,size,density,friction,ingest,assim,hollow; … … 125 125 class Pt3D rot; ///< orientation delta between parts expressed as 3 angles 126 126 enum Shape {SHAPE_DEFAULT=0, SHAPE_SOLID=1}; 127 paInt shape;///< default=old framsticks compatible, creates a physical rod between parts (cylinder or cuboid), do not mix with shape>0, solid=merge parts into one physical entity127 paInt shape;///< default=old Framsticks compatible, creates a physical rod between parts (cylinder or cuboid), do not mix with shape>0, solid=merge parts into one physical entity 128 128 129 129 Joint(); … … 300 300 #endif 301 301 302 /** Single processing unit in framsticks NN. */302 /** Single processing unit in Framsticks NN. */ 303 303 class Neuro: public PartBase 304 304 { … … 343 343 new Neuro can be created as root object (without parent) or can be 344 344 the child of existing Neuro. Children of the Neuro are its inputs. 345 Standard framsticks neuron calculates the sum of all input units - other processing345 Standard Framsticks neuron calculates the sum of all input units - other processing 346 346 units don't have to treat them equally and can even ignore some of them. 347 347 There are hints about expected inputs in the class database, @see getClass … … 350 350 except for two standard classes: (information about all current classes 351 351 can be retrieved with getClass/getClassProperties methods) 352 - getClassName()="N" is the standard framsticks neuron, accepts any number of inputs,352 - getClassName()="N" is the standard Framsticks neuron, accepts any number of inputs, 353 353 compatible with old Neuro object 354 354 - getClassName()="-" is the neuron link, compatible with old Neuro-Neuro link
Note: See TracChangeset
for help on using the changeset viewer.