Created
August 11, 2018 17:10
-
-
Save sugiartocokrowibowo/6c89d87a5f6a9b8c27f1964afb4d056b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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