Code example for BigDecimal

Methods: compareTo

0
		this.fitnessValue = score;
	} 
 
	@Override 
	public int compareTo(Gene o) {
		return this.getFitnessValue().compareTo(o.getFitnessValue());
	} 
 
	public boolean isRemoveFromGeneration() { 
		return removeFromGeneration;
	} 
 
	public void setRemoveFromGeneration(boolean removeFromGeneration) {
		this.removeFromGeneration = removeFromGeneration;
	} 
 
	public BinaryMathTree getBinaryMathTree() { 
		return binaryMathTree;
	} 
 
	public void setBinaryMathTree(BinaryMathTree binaryMathTree) {