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

Last change on this file since 66 was 66, checked in by Maciej Komosinski, 13 years ago

set 'eol-style' to 'native'

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