EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.stoex.analyser.operations]

COVERAGE SUMMARY FOR SOURCE FILE [OrOperation.java]

nameclass, %method, %block, %line, %
OrOperation.java0%   (0/1)0%   (0/2)0%   (0/17)0%   (0/3)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class OrOperation0%   (0/1)0%   (0/2)0%   (0/17)0%   (0/3)
OrOperation (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getEvaluatedPMF (IProbabilityMassFunction, IProbabilityMassFunction): IProbab... 0%   (0/1)0%   (0/14)0%   (0/2)

1package de.uka.ipd.sdq.stoex.analyser.operations;
2 
3import de.uka.ipd.sdq.probfunction.math.IProbabilityMassFunction;
4 
5/**
6 * Implements the logical "OR" operation.
7 * 
8 * @author brosch
9 * 
10 */
11public class OrOperation 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(1.0 - findBooleanProbability(left, false)
21                                * findBooleanProbability(right, false));
22        }
23 
24}

[all classes][de.uka.ipd.sdq.stoex.analyser.operations]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov