-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCalculated.java
133 lines (130 loc) · 4.63 KB
/
Calculated.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
package NUM;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.SimpleDoubleProperty;
public class Calculated {
private final SimpleDoubleProperty iteration;
private SimpleDoubleProperty x_lower;
private SimpleDoubleProperty x_upper;
private final SimpleDoubleProperty root;
private SimpleDoubleProperty f_lower;
private SimpleDoubleProperty f_upper;
private final SimpleDoubleProperty f_root;
private SimpleDoubleProperty fLower_fUpper;
private final SimpleDoubleProperty error;
public Calculated(Integer iteration, Double x_lower, Double x_upper, Double root, Double f_lower, Double f_upper, Double f_root, Double fLower_fUpper, Double error) {
this.iteration = new SimpleDoubleProperty(iteration) ;
this.x_lower = new SimpleDoubleProperty(x_lower);
this.x_upper = new SimpleDoubleProperty(x_upper);
this.root = new SimpleDoubleProperty(root);
this.f_lower = new SimpleDoubleProperty(f_lower);
this.f_upper = new SimpleDoubleProperty(f_upper);
this.f_root = new SimpleDoubleProperty(f_root);
this.fLower_fUpper = new SimpleDoubleProperty(fLower_fUpper);
this.error = new SimpleDoubleProperty(error);
}
public Calculated(Integer iteration, Double x_lower, Double x_upper, Double root, Double f_lower, Double f_upper, Double f_root,Double error) {
this.iteration = new SimpleDoubleProperty(iteration) ;
this.x_lower = new SimpleDoubleProperty(x_lower);
this.x_upper = new SimpleDoubleProperty(x_upper);
this.root = new SimpleDoubleProperty(root);
this.f_lower = new SimpleDoubleProperty(f_lower);
this.f_upper = new SimpleDoubleProperty(f_upper);
this.f_root = new SimpleDoubleProperty(f_root);
this.error = new SimpleDoubleProperty(error);
}
public Calculated(Integer iteration, Double root, Double f_lower, Double f_upper, Double f_root, Double error) {
this.iteration = new SimpleDoubleProperty(iteration) ;
this.root = new SimpleDoubleProperty(root);
this.f_lower = new SimpleDoubleProperty(f_lower);
this.f_upper = new SimpleDoubleProperty(f_upper);
this.f_root = new SimpleDoubleProperty(f_root);
this.error = new SimpleDoubleProperty(error);
}
public Calculated(Integer iteration, Double root, Double f_root, Double error) {
this.iteration = new SimpleDoubleProperty(iteration);
this.root = new SimpleDoubleProperty(root);
this.f_root = new SimpleDoubleProperty(f_root);
this.error = new SimpleDoubleProperty(error);
}
public double getIteration() {
return iteration.get();
}
public DoubleProperty iterationProperty() {
return iteration;
}
public void setIteration(double iteration) {
this.iteration.set(iteration);
}
public double getRoot() {
return root.get();
}
public DoubleProperty rootProperty() {
return root;
}
public void setRoot(double root) {
this.root.set(root);
}
public double getX_lower() {
return x_lower.get();
}
public DoubleProperty x_lowerProperty() {
return x_lower;
}
public void setX_lower(double x_lower) {
this.x_lower.set(x_lower);
}
public double getX_upper() {
return x_upper.get();
}
public DoubleProperty x_upperProperty() {
return x_upper;
}
public void setX_upper(double x_upper) {
this.x_upper.set(x_upper);
}
public double getF_lower() {
return f_lower.get();
}
public DoubleProperty f_lowerProperty() {
return f_lower;
}
public void setF_lower(double f_lower) {
this.f_lower.set(f_lower);
}
public double getF_upper() {
return f_upper.get();
}
public DoubleProperty f_upperProperty() {
return f_upper;
}
public void setF_upper(double f_upper) {
this.f_upper.set(f_upper);
}
public double getF_root() {
return f_root.get();
}
public DoubleProperty f_rootProperty() {
return f_root;
}
public void setF_root(double f_root) {
this.f_root.set(f_root);
}
public double getfLower_fUpper() {
return fLower_fUpper.get();
}
public DoubleProperty fLower_fUpperProperty() {
return fLower_fUpper;
}
public void setfLower_fUpper(double fLower_fUpper) {
this.fLower_fUpper.set(fLower_fUpper);
}
public double getError() {
return error.get();
}
public DoubleProperty errorProperty() {
return error;
}
public void setError(double error) {
this.error.set(error);
}
}