|
@@ -4,6 +4,67 @@ import weka.core.Attribute;
|
|
|
import weka.core.FastVector;
|
|
import weka.core.FastVector;
|
|
|
import weka.core.Instances;
|
|
import weka.core.Instances;
|
|
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
|
+
|
|
|
public class Jul {
|
|
public class Jul {
|
|
|
|
|
|
|
|
|
|
+ private String lunettes;
|
|
|
|
|
+ private String masque;
|
|
|
|
|
+ private String collier;
|
|
|
|
|
+ private String chapeau;
|
|
|
|
|
+ private boolean choisi;
|
|
|
|
|
+ private ArrayList<String> images;
|
|
|
|
|
+
|
|
|
|
|
+ public Jul() { this.images = new ArrayList<>(); }
|
|
|
|
|
+
|
|
|
|
|
+ public String getLunettes() {
|
|
|
|
|
+ return lunettes;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setLunettes(String lunettes) {
|
|
|
|
|
+ this.lunettes = lunettes;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getMasque() {
|
|
|
|
|
+ return masque;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setMasque(String masque) {
|
|
|
|
|
+ this.masque = masque;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getCollier() {
|
|
|
|
|
+ return collier;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCollier(String collier) {
|
|
|
|
|
+ this.collier = collier;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getChapeau() {
|
|
|
|
|
+ return chapeau;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setChapeau(String chapeau) {
|
|
|
|
|
+ this.chapeau = chapeau;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public boolean isEstChoisi() {
|
|
|
|
|
+ return choisi;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setEstChoisi(boolean estChoisi) {
|
|
|
|
|
+ this.choisi = estChoisi;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public ArrayList<String> getImages() {
|
|
|
|
|
+ return images;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void genImages() {
|
|
|
|
|
+ this.images.add(this.lunettes + ".png");
|
|
|
|
|
+ this.images.add(this.masque + ".png");
|
|
|
|
|
+ this.images.add(this.collier + ".png");
|
|
|
|
|
+ this.images.add(this.chapeau + ".png");
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|