Changeset 671 for cpp/frams/genetics/f1/conv_f1.h
- Timestamp:
- 08/18/17 15:24:59 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f1/conv_f1.h
r408 r671 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-201 5Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2017 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 11 11 struct F1Props 12 12 { 13 double dlug,skr,masa,tarcie,ruch,asym,odpor,wchl,rot,energ;14 double bendrange;15 int resetrange;16 double grub,cred,cgreen,cblue;17 void wykluczanie();13 double length, curvedness, weight, friction, muscle_power, assimilation, stamina, ingestion, twist, energy; 14 double muscle_bend_range; 15 bool muscle_reset_range; 16 double visual_size, cred, cgreen, cblue; 17 void normalizeBiol4(); 18 18 }; 19 19 … … 49 49 Another example: 50 50 51 "X[G][-1:2.3][-2:3.4]" - The first neuron is the standalone G receptor. Other neuron can use its output 51 "X[G][-1:2.3][-2:3.4]" - The first neuron is the standalone G receptor. Other neuron can use its output 52 52 signal by specifying it as regular input ("-1:2.3" and "-2:3.4"). This NN contains 3 neurons. 53 53 \image html nn-ex3.gif … … 57 57 Adding another neuron with "G" input will add another gyroscope object. This NN contains 4 neurons 58 58 (or 2 neurons if you try it in Framsticks v1). 59 60 61 */62 class GenoConv_f1 : public GenoConverter59 \image html nn-ex4.gif 60 61 */ 62 class GenoConv_f1 : public GenoConverter 63 63 { 64 64 public: 65 GenoConv_f1()65 GenoConv_f1() 66 66 { 67 name="Recursive encoding";68 in_format='1';69 mapsupport=1;67 name = "Recursive encoding"; 68 in_format = '1'; 69 mapsupport = 1; 70 70 } 71 SString convert(SString &i,MultiMap *map);72 ~GenoConv_f1() {}71 SString convert(SString &i, MultiMap *map); 72 ~GenoConv_f1() {} 73 73 }; 74 74
Note: See TracChangeset
for help on using the changeset viewer.