class SimpleBinaryRepresentation implements GenotypeRepresentation {

    public double[] getDoubleValue() {
        double[] intValues = this.binaryToInteger();
        double[] doubleValues = new double[this.descriptor.getNumVariables()];
        for (int i = 0; i < doubleValues.length; i++){
            doubleValues[i] = this.descriptor.getVariablesLowerBounds()[i] + intValues[i] * this.descriptor.getVariablesPrecisions()[i];
        }
        return doubleValues;
    }

    public  SimpleBinaryRepresentation(SimpleBinaryGenomeDescriptor descriptor);
    public  SimpleBinaryRepresentation(SimpleBinaryRepresentation second);

}