-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBest.java
More file actions
44 lines (33 loc) · 797 Bytes
/
Best.java
File metadata and controls
44 lines (33 loc) · 797 Bytes
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
package com.company;
public class Best {
public int generations;
public String str[];
private double fitness;
public String x[] = new String[1000];
public Best() {
}
public void setFitness(double fitness) {
this.fitness = fitness;
}
public int getGenerations() {
return generations;
}
public void setGenerations(int generations) {
this.generations = generations;
}
public String[] getStr() {
return str;
}
public void setStr(String[] str) {
this.str = str;
}
public double getFitness() {
return fitness;
}
public String[] getX() {
return x;
}
public void setX(String[] x) {
this.x = x;
}
}