Class ReliabilityAnalysisResult
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.analysis.reliability.ReliabilityAnalysisResult
-
- All Implemented Interfaces:
IAnalysisResult
public class ReliabilityAnalysisResult extends Object implements IAnalysisResult
This class represents the result of a LQN Solver analysis.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description ReliabilityAnalysisResult(double reliabilityValue, org.palladiosimulator.solver.runconfig.PCMSolverWorkflowRunConfiguration lastPCMSolverConfiguration)
Store the reliability result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getUtilisationOfResource(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification resource)
Not applicable to Reliability results.double
getValueFor(org.opt4j.core.Criterion criterion)
Get the value of an analysis result.
-
-
-
Constructor Detail
-
ReliabilityAnalysisResult
public ReliabilityAnalysisResult(double reliabilityValue, org.palladiosimulator.solver.runconfig.PCMSolverWorkflowRunConfiguration lastPCMSolverConfiguration)
Store the reliability result. If the number of exact decimal places has been limited in thePCMSolverWorkflowRunConfiguration
, the result is rounded to that value by cutting all following places.- Parameters:
reliabilityValue
- The success probability.lastPCMSolverConfiguration
- configuration to determine whether to round the result.
-
-
Method Detail
-
getValueFor
public double getValueFor(org.opt4j.core.Criterion criterion)
Get the value of an analysis result. For more information on the type of value useIStatisticAnalysisResult
TODO: check correct criterion.- Specified by:
getValueFor
in interfaceIAnalysisResult
- Returns:
- value calculated from this analysis result
-
getUtilisationOfResource
public double getUtilisationOfResource(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container, org.palladiosimulator.pcm.resourceenvironment.ProcessingResourceSpecification resource)
Not applicable to Reliability results.- Returns:
- -1
-
-