Class SubOperation
java.lang.Object
de.uka.ipd.sdq.stoex.analyser.operations.TermProductOperation
de.uka.ipd.sdq.stoex.analyser.operations.SubOperation
Implements the operation "subtraction" for different kinds of operands.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Double
calculateOperationForValues
(Double value1, Double value2) double
compute
(double left, double right) int
compute
(int left, int right) compute
(IProbabilityDensityFunction left, double right) compute
(IProbabilityMassFunction left, double right) Methods inherited from class de.uka.ipd.sdq.stoex.analyser.operations.TermProductOperation
compute, compute
-
Constructor Details
-
SubOperation
public SubOperation()
-
-
Method Details
-
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
- Specified by:
calculateOperationForValues
in classTermProductOperation
-