diff options
| author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-04-21 00:09:55 +0100 | 
|---|---|---|
| committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-04-21 00:09:55 +0100 | 
| commit | efe490fec1c7a94f004b496c7c97c82083fe44ec (patch) | |
| tree | ffe7a8bb411a9208c3220247247081eb90ac4fc0 /src/jcgp/backend/population | |
| parent | 88314e71f908efcfc38da3b800319c171a6ccceb (diff) | |
Tooltips are looking strange, checking on a different machine
Diffstat (limited to 'src/jcgp/backend/population')
| -rw-r--r-- | src/jcgp/backend/population/Chromosome.java | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jcgp/backend/population/Chromosome.java b/src/jcgp/backend/population/Chromosome.java index 71e19ec..f8830fa 100644 --- a/src/jcgp/backend/population/Chromosome.java +++ b/src/jcgp/backend/population/Chromosome.java @@ -15,7 +15,7 @@ public class Chromosome {  	private ArrayList<Node> activeNodes; -	private int fitness = 0; +	private double fitness = 0;  	private boolean recomputeActiveNodes = true;  	/** @@ -154,11 +154,11 @@ public class Chromosome {  		return inputs[index];  	} -	public int getFitness() { +	public double getFitness() {  		return fitness;  	} -	public void setFitness(int newFitness) { +	public void setFitness(double newFitness) {  		fitness = newFitness;  	}  | 
