-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataPoint.java
80 lines (65 loc) · 1.67 KB
/
DataPoint.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package com.dead.acctivi_classification;
public class DataPoint {
private double mY,vY,sdY, mZ, vZ, sdZ;
private Category category;
public DataPoint(double mY, double vY, double sdY,double mZ, double vZ, double sdZ, Category category){
this.mY =mY ;
this.vY = vY;
this.sdY = sdY;
this.mZ =mZ ;
this.vZ = vZ;
this.sdZ = sdZ;
this.category = category;
}
public DataPoint(DataPoint dataPoint){
this.mY = dataPoint.getMY();
this.mZ = dataPoint.getMZ();
this.vY = dataPoint.getVY();
this.vZ = dataPoint.getVZ();
this.sdY = dataPoint.getSDY();
this.sdZ = dataPoint.getSDZ();
this.category = dataPoint.getCategory();
}
public double getVZ() {
return vZ;
}
public double getSDZ() {
return sdZ;
}
public double getVY() {
return vY;
}
public double getMZ() {
return mZ;
}
public double getMY() {
return mY;
}
public double getSDY() {
return sdY;
}
public void setMY(double my){
this.mY = my;
}
public void setVY(double vy) {
this.vY = vy;
}
public void setSDY(double sdy) {
this.sdY = sdy;
}
public void setMZ(double mz){
this.mZ = mz;
}
public void setVZ(double vz) {
this.vZ = vz;
}
public void setSDZ(double sdz) {
this.sdZ = sdz;
}
public Category getCategory() {
return category;
}
public void setCategory(Category category) {
this.category = category;
}
}