source: java/main/src/test/resources/info/Genotype.info @ 86

Last change on this file since 86 was 86, checked in by psniegowski, 11 years ago

HIGHLIGHTS:

  • use java annotations to mark classes and fields to be used when:
    • using java classes with ReflectionAccess? to represent remote objects with FramsClass? description found by "info ..." requests
    • to build up FramsClass? representation of objects not present at remote server
  • allow using primitive types (instead of wraping counterparts) in reflected classes
  • rework FramsClass? creation process (add FramsClassBuilder?)
  • add more tests

CHANGELOG:
Prepare model.World class.

Minor change.

Use primitive types for Genotype and Creature classes.

Use primitive types in model.Neuro* classes.

Use primitive types in model.Joint* classes.

Use primitive types in model.Part* classes.

Fix primitive values.

Extract FramsClassBuilder?.

Add tests of Model classes.

More fixes.

Refactorize out ParamCandidate?.

Several fixes.

Fix all regressions after introducing annotations.

Use annotations throughout the project.

Add exception classes.

Improve creation of FramsClass?.

More changes.

Many changes regarding annotations.

Annotate classes in com.framsticks.model package.

Remove manual FramsClass? constructor.

Construct FramsClass? for Creature. Add test.

Add default values to the ParamAnnotation?.

Add ParamBuilderTest? and ParamAnnotation?.

Add FramsClassAnnotation?.

File size: 2.2 KB
Line 
1class:
2id:Genotype
3
4prop:
5name:Name
6id:name
7type:s
8flags:0
9
10prop:
11name:Genotype
12id:genotype
13type:s
14flags:0
15
16prop:
17name:Info
18id:info
19type:s
20help:Additional information or comments
21flags:0
22
23prop:
24name:Similarity
25id:simi
26type:f
27flags:3
28
29prop:
30name:Starting energy
31id:energ0
32type:f
33flags:3
34
35prop:
36name:Body parts (deprecated; use numparts)
37id:strsiz
38type:f
39flags:35
40
41prop:
42name:Body joints (deprecated; use numjoints)
43id:strjoints
44type:f
45flags:35
46
47prop:
48name:Brain size (deprecated; use numneurons)
49id:nnsiz
50type:f
51flags:35
52
53prop:
54name:Brain connections (deprecated; use numconnections)
55id:nncon
56type:f
57flags:35
58
59prop:
60name:Body parts
61id:numparts
62type:f
63flags:3
64
65prop:
66name:Body joints
67id:numjoints
68type:f
69flags:3
70
71prop:
72name:Brain size
73id:numneurons
74type:f
75flags:3
76
77prop:
78name:Brain connections
79id:numconnections
80type:f
81flags:3
82
83prop:
84name:Ordinal number
85id:num
86type:d
87flags:0
88
89prop:
90name:Generation
91id:gnum
92type:d
93flags:0
94
95prop:
96name:Deprecated; use instances
97id:popsiz
98type:d
99flags:32
100
101prop:
102name:Instances
103id:instances
104type:d
105help:Copies of this genotype
106flags:2
107
108prop:
109name:Life span
110id:lifespan
111type:f
112help:Average life span
113flags:0
114
115prop:
116name:Velocity
117id:velocity
118type:f
119help:Average velocity
120flags:0
121
122prop:
123name:Distance
124id:distance
125type:f
126flags:0
127
128prop:
129name:Vertical velocity
130id:vertvel
131type:f
132flags:0
133
134prop:
135name:Vertical position
136id:vertpos
137type:f
138flags:0
139
140prop:
141name:Fitness
142id:fit
143type:f
144flags:3
145
146prop:
147name:Final fitness
148id:fit2
149type:f
150help:Fitness shifted by (avg-n*stddev)
151flags:3
152
153prop:
154name:f0 genotype
155id:f0genotype
156type:s
157help:converted to f0 genotype
158flags:3
159
160prop:
161name:Conversion backtrace [1]
162id:convtrace1
163type:s
164flags:3
165
166prop:
167name:User field 1
168id:user1
169type:x
170flags:0
171
172prop:
173name:User field 2
174id:user2
175type:x
176flags:0
177
178prop:
179name:User field 3
180id:user3
181type:x
182flags:0
183
184prop:
185name:Mutate
186id:mutate
187type:p
188flags:0
189
190prop:
191name:Valid
192id:isValid
193type:d 0 1
194flags:35
195
196prop:
197name:get normalized property
198id:getNormalized
199type:p
200flags:35
201
202prop:
203name:#
204id:uid
205type:s
206help:Unique identifier
207flags:33
208
209prop:
210name:Model object
211id:getModel
212type:p
213flags:35
214
215prop:
216name:Model Parts
217id:parts
218type:l Part
219flags:0
220
221prop:
222name:Model Joints
223id:joints
224type:l Joint
225flags:0
226
227prop:
228name:Neuron Definitions
229id:neurodefs
230type:l NeuroDef
231flags:0
232
Note: See TracBrowser for help on using the repository browser.