@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof Block))
			return false;
		Block other = (Block) obj;
		if (data == null) {
			if (other.data != null)
				return false;
		} else if (!data.equals(other.data))
			return false;
		if (Double.doubleToLongBits(avgFitness) != Double
				.doubleToLongBits(other.avgFitness))
			return false;
		if (startIndex != other.startIndex)
			return false;
		return true;
	}