Class MultOperation
- java.lang.Object
-
- de.uka.ipd.sdq.stoex.analyser.operations.TermProductOperation
-
- de.uka.ipd.sdq.stoex.analyser.operations.MultOperation
-
public class MultOperation extends TermProductOperation
Implements the operation "multiplication" for different kinds of operands.
-
-
Constructor Summary
Constructors Constructor Description MultOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Double
calculateOperationForValues(Double value1, Double value2)
double
compute(double left, double right)
int
compute(int left, int right)
IProbabilityDensityFunction
compute(IProbabilityDensityFunction left, double right)
IProbabilityMassFunction
compute(IProbabilityMassFunction left, double right)
-
Methods inherited from class de.uka.ipd.sdq.stoex.analyser.operations.TermProductOperation
compute, compute
-
-
-
-
Method Detail
-
compute
public double compute(double left, double right)
- Specified by:
compute
in classTermProductOperation
-
compute
public int compute(int left, int right)
- Specified by:
compute
in classTermProductOperation
-
compute
public IProbabilityMassFunction compute(IProbabilityMassFunction left, double right) throws DomainNotNumbersException
- Specified by:
compute
in classTermProductOperation
- Throws:
DomainNotNumbersException
-
compute
public IProbabilityDensityFunction compute(IProbabilityDensityFunction left, double right) throws DomainNotNumbersException
- Specified by:
compute
in classTermProductOperation
- Throws:
DomainNotNumbersException
-
calculateOperationForValues
protected Double calculateOperationForValues(Double value1, Double value2)
- Specified by:
calculateOperationForValues
in classTermProductOperation
-
-