Package de.uka.ipd.sdq.pcm.cost.helper
Class CostUtil
java.lang.Object
de.uka.ipd.sdq.pcm.cost.helper.CostUtil
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDoubleFromSpecification
(String specification) double
static CostUtil
double
static double
getTotalCost
(double initialCost, double operatingCost, double interest, int numberOfYears) static double
getTotalCost
(Cost cost) void
-
Method Details
-
getInstance
-
getDoubleFromSpecification
-
getOperatingCost
-
getInitialCost
-
resetCache
public void resetCache() -
getTotalCost
-
getTotalCost
public static double getTotalCost(double initialCost, double operatingCost, double interest, int numberOfYears)
-