source: java/main/src/main/java/com/framsticks/model/Neuro.java @ 78

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

Add f0 parsing and f0->Model transformation.

File size: 679 bytes
Line 
1package com.framsticks.model;
2
3import com.framsticks.util.Point3d;
4
5/**
6 * @author Piotr Sniegowski
7 */
8public class Neuro extends BaseNeuro {
9
10        public Integer channelCount;
11
12        public Double inputSum;
13
14        public Double weightedInputSum;
15
16        public Double state;
17
18        public Double currentState;
19        public Double getCurrState() { return currentState; }
20        public void setCurrState(Double currState) { currentState = currState; }
21
22        public Boolean hold;
23
24        public double position_x, position_y, position_z;
25
26        public Point3d getPosition() { return new Point3d(position_x, position_y, position_z); }
27        public void setPosition(Point3d p) { position_x = p.x; position_y = p.y; position_z = p.z; }
28
29}
Note: See TracBrowser for help on using the repository browser.