EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.stoex.analyser.operations] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
AndOperation.java | 0% (0/1) | 0% (0/2) | 0% (0/15) | 0% (0/3) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class AndOperation | 0% (0/1) | 0% (0/2) | 0% (0/15) | 0% (0/3) |
AndOperation (): void | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
getEvaluatedPMF (IProbabilityMassFunction, IProbabilityMassFunction): IProbab... | 0% (0/1) | 0% (0/12) | 0% (0/2) |
1 | package de.uka.ipd.sdq.stoex.analyser.operations; |
2 | |
3 | import de.uka.ipd.sdq.probfunction.math.IProbabilityMassFunction; |
4 | |
5 | /** |
6 | * Implements the logical "AND" operation. |
7 | * |
8 | * @author brosch |
9 | * |
10 | */ |
11 | public class AndOperation extends LogicalOperation { |
12 | |
13 | /** |
14 | * Evaluates two Boolean PMFs. |
15 | * |
16 | * Other PMFs than Boolean are not accepted. |
17 | */ |
18 | protected IProbabilityMassFunction getEvaluatedPMF( |
19 | IProbabilityMassFunction left, IProbabilityMassFunction right) { |
20 | return getBoolPMF(findBooleanProbability(left, true) |
21 | * findBooleanProbability(right, true)); |
22 | } |
23 | } |
[all classes][de.uka.ipd.sdq.stoex.analyser.operations] |
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |