Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
838 bytes
|
Line | |
---|
1 | package com.framsticks.model; |
---|
2 | |
---|
3 | import com.framsticks.params.annotations.FramsClassAnnotation; |
---|
4 | import com.framsticks.params.annotations.ParamAnnotation; |
---|
5 | import com.framsticks.util.math.Point3d; |
---|
6 | |
---|
7 | /** |
---|
8 | * @author Piotr Sniegowski |
---|
9 | */ |
---|
10 | @FramsClassAnnotation |
---|
11 | public class Neuro extends BaseNeuro { |
---|
12 | |
---|
13 | @ParamAnnotation |
---|
14 | public int channelCount; |
---|
15 | |
---|
16 | @ParamAnnotation |
---|
17 | public double inputSum; |
---|
18 | |
---|
19 | @ParamAnnotation |
---|
20 | public double weightedInputSum; |
---|
21 | |
---|
22 | @ParamAnnotation |
---|
23 | public double state; |
---|
24 | |
---|
25 | @ParamAnnotation(id = "currState") |
---|
26 | public double currentState; |
---|
27 | |
---|
28 | @ParamAnnotation |
---|
29 | public boolean hold; |
---|
30 | |
---|
31 | @ParamAnnotation |
---|
32 | public double position_x, position_y, position_z; |
---|
33 | |
---|
34 | public Point3d getPosition() { return new Point3d(position_x, position_y, position_z); } |
---|
35 | public void setPosition(Point3d p) { position_x = p.x; position_y = p.y; position_z = p.z; } |
---|
36 | |
---|
37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.