Class SubOperation
- java.lang.Object
-
- de.uka.ipd.sdq.stoex.analyser.operations.TermProductOperation
-
- de.uka.ipd.sdq.stoex.analyser.operations.SubOperation
-
public class SubOperation extends TermProductOperation
Implements the operation "subtraction" for different kinds of operands.
-
-
Constructor Summary
Constructors Constructor Description SubOperation()
-
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
-
-