Skip to content

Instantly share code, notes, and snippets.

@sugiartocokrowibowo
Created August 11, 2018 17:10
Show Gist options
  • Save sugiartocokrowibowo/6c89d87a5f6a9b8c27f1964afb4d056b to your computer and use it in GitHub Desktop.
Save sugiartocokrowibowo/6c89d87a5f6a9b8c27f1964afb4d056b to your computer and use it in GitHub Desktop.
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ga.turbin;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.StringProperty;
/**
*
* @author LENOVO
*/
public class FitnessGenerasi {
private IntegerProperty iGenerasi;
private DoubleProperty fitnessValue;
public FitnessGenerasi(int iGenerasi, double fitnessValue) {
this.iGenerasi = new SimpleIntegerProperty(iGenerasi);
this.fitnessValue = new SimpleDoubleProperty(fitnessValue);
}
public IntegerProperty iGenerasiProperty() {
return iGenerasi;
}
public DoubleProperty fitnessValueProperty() {
return fitnessValue;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment