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
|
Rev | Line | |
---|
[77] | 1 | package com.framsticks.model; |
---|
| 2 | |
---|
[86] | 3 | import com.framsticks.params.annotations.FramsClassAnnotation; |
---|
| 4 | import com.framsticks.params.annotations.ParamAnnotation; |
---|
[84] | 5 | import com.framsticks.util.math.Point3d; |
---|
[77] | 6 | |
---|
| 7 | /** |
---|
| 8 | * @author Piotr Sniegowski |
---|
| 9 | */ |
---|
[86] | 10 | @FramsClassAnnotation |
---|
[78] | 11 | public class Neuro extends BaseNeuro { |
---|
[77] | 12 | |
---|
[86] | 13 | @ParamAnnotation |
---|
| 14 | public int channelCount; |
---|
[77] | 15 | |
---|
[86] | 16 | @ParamAnnotation |
---|
| 17 | public double inputSum; |
---|
[77] | 18 | |
---|
[86] | 19 | @ParamAnnotation |
---|
| 20 | public double weightedInputSum; |
---|
[77] | 21 | |
---|
[86] | 22 | @ParamAnnotation |
---|
| 23 | public double state; |
---|
[77] | 24 | |
---|
[86] | 25 | @ParamAnnotation(id = "currState") |
---|
| 26 | public double currentState; |
---|
[77] | 27 | |
---|
[86] | 28 | @ParamAnnotation |
---|
| 29 | public boolean hold; |
---|
[77] | 30 | |
---|
[86] | 31 | @ParamAnnotation |
---|
[78] | 32 | public double position_x, position_y, position_z; |
---|
[77] | 33 | |
---|
[78] | 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; } |
---|
[77] | 36 | |
---|
| 37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.