Class ReliabilityAnalysisResult
java.lang.Object
de.uka.ipd.sdq.dsexplore.analysis.reliability.ReliabilityAnalysisResult
- All Implemented Interfaces:
IAnalysisResult
This class represents the result of a LQN Solver analysis.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReliabilityAnalysisResult
(double reliabilityValue, org.palladiosimulator.solver.runconfig.PCMSolverWorkflowRunConfiguration lastPCMSolverConfiguration) Store the reliability result. -
Method Summary
Modifier and TypeMethodDescriptiondouble
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.
-
Field Details
-
logger
protected static org.apache.log4j.Logger logger
-
-
Constructor Details
-
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 Details
-
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
-