public class DefaultCostEquation extends java.lang.Object implements ICostEquation
Constructor and Description |
---|
DefaultCostEquation(IProceduralModule4 pm4,
IProceduralLearningModule4 plm4) |
Modifier and Type | Method and Description |
---|---|
double |
computeCost(IModel model,
IProduction prod)
Description of the Method
|
protected double |
sum(double[] times)
Description of the Method
|
public DefaultCostEquation(IProceduralModule4 pm4, IProceduralLearningModule4 plm4)
protected double sum(double[] times)
times
- Description of the Parameterpublic double computeCost(IModel model, IProduction prod)
computeCost
in interface ICostEquation
model
- Description of the Parameterprod
- Description of the Parameter