public Double calculateActivation(Double input) {
		if (!objectIsSetUp)
			throw new InvalidParameterException(
					"No Setup method has been called! You need to call a Setup Method to set the Objects Properties.");
		switch(myAlgorithm){
		case Logistic: return Logistic(input);
		case BoundedIdentity: return SaturatedIdentity(input);
		case Identity: return Identity(input);
		case Threshold: return Threshold(input);
		}
		return 0.0;
	}