EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.dsexplore.analysis.cost] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
CostAnalysisResult.java | 0% (0/1) | 0% (0/3) | 0% (0/12) | 0% (0/5) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class CostAnalysisResult | 0% (0/1) | 0% (0/3) | 0% (0/12) | 0% (0/5) |
CostAnalysisResult (double, PCMInstance): void | 0% (0/1) | 0% (0/6) | 0% (0/3) | |
getTotalCost (): double | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
getValueFor (Criterion): double | 0% (0/1) | 0% (0/3) | 0% (0/1) |
1 | package de.uka.ipd.sdq.dsexplore.analysis.cost; |
2 | |
3 | import org.opt4j.core.Criterion; |
4 | |
5 | import de.uka.ipd.sdq.dsexplore.analysis.IAnalysisResult; |
6 | import de.uka.ipd.sdq.pcmsolver.models.PCMInstance; |
7 | |
8 | public class CostAnalysisResult implements IAnalysisResult { |
9 | |
10 | private double totalCost; |
11 | |
12 | public CostAnalysisResult(double totalCost, PCMInstance pcmInstance2) { |
13 | this.totalCost = totalCost; |
14 | } |
15 | |
16 | @Override |
17 | public double getValueFor(Criterion criterion) { |
18 | return this.totalCost; |
19 | } |
20 | |
21 | public double getTotalCost() { |
22 | return totalCost; |
23 | } |
24 | |
25 | |
26 | } |
[all classes][de.uka.ipd.sdq.dsexplore.analysis.cost] |
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |