source: cpp/gdk/neurocls-factory.h @ 80

Last change on this file since 80 was 80, checked in by Maciej Komosinski, 11 years ago
  • new properties in Parts and Joints: visual red, green, blue, thickness
  • updated list of Neurons and their properties
  • Property svn:eol-style set to native
File size: 5.5 KB
Line 
1
2// do not edit - generated automatically from "f0.def"
3// (to be included in "neurofactory.cpp")
4
5
6
7
8
9
10#define FIELDSTRUCT NI_StdNeuron
11ParamEntry NI_StdNeuron_tab []={
12{"Neuron",1, 4 ,"N",},
13{"in",1,0,"Inertia","f 0.0 1.0 0.8",FIELD(inertia),},
14{"fo",1,0,"Force","f 0.0 999.0 0.04",FIELD(force),},
15{"si",1,0,"Sigmoid","f -99999.0 99999.0 2.0",FIELD(sigmo),},
16{"s",2,0,"State","f -1.0 1.0 0.0",FIELD(newstate),},
17 {0,0,0,},};
18#undef FIELDSTRUCT
19
20#define FIELDSTRUCT NI_StdUNeuron
21ParamEntry NI_StdUNeuron_tab []={
22{"Unipolar neuron [EXPERIMENTAL!]",1, 4 ,"Nu",},
23{"in",1,0,"Inertia","f 0.0 1.0 0.8",FIELD(inertia),},
24{"fo",1,0,"Force","f 0.0 999.0 0.04",FIELD(force),},
25{"si",1,0,"Sigmoid","f -99999.0 99999.0 2.0",FIELD(sigmo),},
26{"s",2,0,"State","f -1.0 1.0 0.0",FIELD(newstate),},
27 {0,0,0,},};
28#undef FIELDSTRUCT
29
30#define FIELDSTRUCT NI_Gyro
31ParamEntry NI_Gyro_tab []={
32{"Gyroscope",1, 0 ,"G",},
33 {0,0,0,},};
34#undef FIELDSTRUCT
35
36#define FIELDSTRUCT NI_Touch
37ParamEntry NI_Touch_tab []={
38{"Touch",1, 1 ,"T",},
39{"r",1,0,"Range","f 0.0 1.0 1.0",FIELD(range),},
40 {0,0,0,},};
41#undef FIELDSTRUCT
42
43#define FIELDSTRUCT NI_Smell
44ParamEntry NI_Smell_tab []={
45{"Smell",1, 0 ,"S",},
46 {0,0,0,},};
47#undef FIELDSTRUCT
48
49#define FIELDSTRUCT NI_Const
50ParamEntry NI_Const_tab []={
51{"Constant",1, 0 ,"*",},
52 {0,0,0,},};
53#undef FIELDSTRUCT
54
55#define FIELDSTRUCT NI_BendMuscle
56ParamEntry NI_BendMuscle_tab []={
57{"Bend muscle",1, 2 ,"|",},
58{"p",0,0,"power","f 0.01 1.0 0.25",FIELD(power),},
59{"r",0,0,"bending range","f 0.0 1.0 1.0",FIELD(bendrange),},
60 {0,0,0,},};
61#undef FIELDSTRUCT
62
63#define FIELDSTRUCT NI_RotMuscle
64ParamEntry NI_RotMuscle_tab []={
65{"Rotation muscle",1, 1 ,"@",},
66{"p",0,0,"power","f 0.01 1.0 1.0",FIELD(power),},
67 {0,0,0,},};
68#undef FIELDSTRUCT
69
70#define FIELDSTRUCT NI_Diff
71ParamEntry NI_Diff_tab []={
72{"Differentiate",1, 0 ,"D",},
73 {0,0,0,},};
74#undef FIELDSTRUCT
75
76#define FIELDSTRUCT NI_FuzzyNeuro
77ParamEntry NI_FuzzyNeuro_tab []={
78{"Fuzzy system [EXPERIMENTAL!]",1, 4 ,"Fuzzy",},
79{"ns",0,0,"number of fuzzy sets","d 1  ",FIELD(fuzzySetsNr),},
80{"nr",0,0,"number of rules","d 1  ",FIELD(rulesNr),},
81{"fs",0,0,"fuzzy sets","s 0 -1 0",FIELD(fuzzySetString),},
82{"fr",0,0,"fuzzy rules","s 0 -1 0",FIELD(fuzzyRulesString),},
83 {0,0,0,},};
84#undef FIELDSTRUCT
85
86#define FIELDSTRUCT NI_VectorEye
87ParamEntry NI_VectorEye_tab []={
88{"Vector Eye [EXPERIMENTAL!]",1, 9 ,"VEye",},
89{"tx",0,0,"target.x","f   ",FIELD(target.x),},
90{"ty",0,0,"target.y","f   ",FIELD(target.y),},
91{"tz",0,0,"target.z","f   ",FIELD(target.z),},
92{"ts",0,0,"target shape","s 0 -1 0",FIELD(targetShape),},
93{"p",0,0,"perspective","f 0.1 10.0 1.0",FIELD(perspz),},
94{"s",0,0,"scale","f 0.1 100.0 1.0",FIELD(perspscale),},
95{"h",0,0,"show hidden lines","d 0 1 0",FIELD(showhidden),},
96{"o",0,0,"output lines count (each line needs four channels)","d 0 99 0",FIELD(outputcount),},
97{"d",0,0,"debug","d 0 1 0",FIELD(showdebug),},
98 {0,0,0,},};
99#undef FIELDSTRUCT
100
101#define FIELDSTRUCT NI_VisualMotorNeuron
102ParamEntry NI_VisualMotorNeuron_tab []={
103{"Visual-Motor Cortex [EXPERIMENTAL!]",1, 3 ,"VMotor",},
104{"noIF",0,0,"number of basic features","d   ",FIELD(noIF),},
105{"noDim",0,0,"number of degrees of freedom","d   ",FIELD(noDim),},
106{"params",0,0,"parameters","s   ",FIELD(params),},
107 {0,0,0,},};
108#undef FIELDSTRUCT
109
110#define FIELDSTRUCT NI_Sticky
111ParamEntry NI_Sticky_tab []={
112{"Sticky [EXPERIMENTAL!]",1, 0 ,"Sti",},
113 {0,0,0,},};
114#undef FIELDSTRUCT
115
116#define FIELDSTRUCT NI_LinearMuscle
117ParamEntry NI_LinearMuscle_tab []={
118{"Linear muscle [EXPERIMENTAL!]",1, 1 ,"LMu",},
119{"p",0,0,"power","f 0.01 1.0 1.0",FIELD(power),},
120 {0,0,0,},};
121#undef FIELDSTRUCT
122
123#define FIELDSTRUCT NI_WaterDetect
124ParamEntry NI_WaterDetect_tab []={
125{"Water detector",1, 0 ,"Water",},
126 {0,0,0,},};
127#undef FIELDSTRUCT
128
129#define FIELDSTRUCT NI_Energy
130ParamEntry NI_Energy_tab []={
131{"Energy level",1, 0 ,"Energy",},
132 {0,0,0,},};
133#undef FIELDSTRUCT
134
135#define FIELDSTRUCT NI_Channelize
136ParamEntry NI_Channelize_tab []={
137{"Channelize",1, 0 ,"Ch",},
138 {0,0,0,},};
139#undef FIELDSTRUCT
140
141#define FIELDSTRUCT NI_ChMux
142ParamEntry NI_ChMux_tab []={
143{"Channel multiplexer",1, 0 ,"ChMux",},
144 {0,0,0,},};
145#undef FIELDSTRUCT
146
147#define FIELDSTRUCT NI_ChSel
148ParamEntry NI_ChSel_tab []={
149{"Channel selector",1, 1 ,"ChSel",},
150{"ch",0,0,"channel","d   ",FIELD(ch),},
151 {0,0,0,},};
152#undef FIELDSTRUCT
153
154#define FIELDSTRUCT NI_Random
155ParamEntry NI_Random_tab []={
156{"Random noise",1, 0 ,"Rnd",},
157 {0,0,0,},};
158#undef FIELDSTRUCT
159
160#define FIELDSTRUCT NI_Sinus
161ParamEntry NI_Sinus_tab []={
162{"Sinus generator",1, 2 ,"Sin",},
163{"f0",0,0,"base frequency","f -1.0 1.0 0.06283185307",FIELD(f0),},
164{"t",0,0,"time","f 0 6.283185307 0",FIELD(t),},
165 {0,0,0,},};
166#undef FIELDSTRUCT
167
168
169#define SETIMPLEMENTATION \
170setImplementation("N",new NI_StdNeuron); \
171setImplementation("Nu",new NI_StdUNeuron); \
172setImplementation("G",new NI_Gyro); \
173setImplementation("T",new NI_Touch); \
174setImplementation("S",new NI_Smell); \
175setImplementation("*",new NI_Const); \
176setImplementation("|",new NI_BendMuscle); \
177setImplementation("@",new NI_RotMuscle); \
178setImplementation("D",new NI_Diff); \
179setImplementation("Fuzzy",new NI_FuzzyNeuro); \
180setImplementation("VEye",new NI_VectorEye); \
181setImplementation("VMotor",new NI_VisualMotorNeuron); \
182setImplementation("Sti",new NI_Sticky); \
183setImplementation("LMu",new NI_LinearMuscle); \
184setImplementation("Water",new NI_WaterDetect); \
185setImplementation("Energy",new NI_Energy); \
186setImplementation("Ch",new NI_Channelize); \
187setImplementation("ChMux",new NI_ChMux); \
188setImplementation("ChSel",new NI_ChSel); \
189setImplementation("Rnd",new NI_Random); \
190setImplementation("Sin",new NI_Sinus); \
191
Note: See TracBrowser for help on using the repository browser.