Class SimulizarAnalysisResult
java.lang.Object
de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
de.uka.ipd.sdq.dsexplore.analysis.simulizar.SimulizarAnalysisResult
- All Implemented Interfaces:
IAnalysisResult
,IPerformanceAnalysisResult
,IStatisticAnalysisResult
public class SimulizarAnalysisResult
extends AbstractPerformanceAnalysisResult
implements IStatisticAnalysisResult, IPerformanceAnalysisResult
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
results
-
Constructor Summary
ModifierConstructorDescriptionprotected
SimulizarAnalysisResult
(org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun run, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.pcm.core.entity.Entity pcmEntity, Map<org.opt4j.core.Criterion, EvaluationAspectWithContext> objectiveToAspect, SimulizarQualityAttributeDeclaration qualityAttributeInfo) -
Method Summary
Modifier and TypeMethodDescriptionstatic IStatisticAnalysisResult
findExperimentRunAndCreateResult
(org.palladiosimulator.pcm.core.entity.Entity entity, String experimentName, String experimentSettingName, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.edp2.models.Repository.Repository repo, Map<org.opt4j.core.Criterion, EvaluationAspectWithContext> criterionToAspect, SimulizarQualityAttributeDeclaration qualityAttribute) protected static org.palladiosimulator.edp2.models.Repository.Repository
double
de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval
getConfidenceInterval
(org.opt4j.core.Criterion criterion) double
double
long
double
double
getValueFor
(org.opt4j.core.Criterion criterion) Get the value of an analysis result.static boolean
isExperimentRunExisting
(String experimentName, String experimentSettingName, org.palladiosimulator.edp2.models.Repository.Repository repo) Tries to find a matching experiment setting in all data sources available in the repository manager.Methods inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractPerformanceAnalysisResult
getComputedAggregatedUsage, getResults, solveDependencies
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.dsexplore.analysis.IPerformanceAnalysisResult
getComputedAggregatedUsage, getResults
-
Constructor Details
-
SimulizarAnalysisResult
protected SimulizarAnalysisResult(org.palladiosimulator.edp2.models.ExperimentData.ExperimentRun run, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.pcm.core.entity.Entity pcmEntity, Map<org.opt4j.core.Criterion, EvaluationAspectWithContext> objectiveToAspect, SimulizarQualityAttributeDeclaration qualityAttributeInfo) throws AnalysisFailedException- Throws:
AnalysisFailedException
-
-
Method Details
-
getValueFor
public double getValueFor(org.opt4j.core.Criterion criterion) Description copied from interface:IAnalysisResult
Get the value of an analysis result. For more information on the type of value useIStatisticAnalysisResult
- Specified by:
getValueFor
in interfaceIAnalysisResult
- Returns:
- value calculated from this analysis result
-
getMedianValue
public double getMedianValue()- Specified by:
getMedianValue
in interfaceIStatisticAnalysisResult
-
getMeanValue
public double getMeanValue()- Specified by:
getMeanValue
in interfaceIStatisticAnalysisResult
-
getStandardDeviation
public double getStandardDeviation()- Specified by:
getStandardDeviation
in interfaceIStatisticAnalysisResult
-
getCoefficientOfVariance
public double getCoefficientOfVariance()- Specified by:
getCoefficientOfVariance
in interfaceIStatisticAnalysisResult
-
getConfidenceInterval
public de.uka.ipd.sdq.statistics.estimation.ConfidenceInterval getConfidenceInterval(org.opt4j.core.Criterion criterion) - Specified by:
getConfidenceInterval
in interfaceIStatisticAnalysisResult
-
getNumberOfObservations
public long getNumberOfObservations()- Specified by:
getNumberOfObservations
in interfaceIStatisticAnalysisResult
-
isExperimentRunExisting
public static boolean isExperimentRunExisting(String experimentName, String experimentSettingName, org.palladiosimulator.edp2.models.Repository.Repository repo) Tries to find a matching experiment setting in all data sources available in the repository manager. If a matching experiment setting that contains at least one run is found,true
. If not,false
is returned.- Parameters:
experimentSettingName
- The experiment name to match- Returns:
true
if experiment has been found,false
otherwise
-
findExperimentRunAndCreateResult
public static IStatisticAnalysisResult findExperimentRunAndCreateResult(org.palladiosimulator.pcm.core.entity.Entity entity, String experimentName, String experimentSettingName, org.palladiosimulator.solver.models.PCMInstance pcmInstance, org.palladiosimulator.edp2.models.Repository.Repository repo, Map<org.opt4j.core.Criterion, EvaluationAspectWithContext> criterionToAspect, SimulizarQualityAttributeDeclaration qualityAttribute) throws AnalysisFailedException- Throws:
AnalysisFailedException
-
findSelectedEDP2Repository
protected static org.palladiosimulator.edp2.models.Repository.Repository findSelectedEDP2Repository(ILaunchConfiguration config) throws CoreException - Throws:
CoreException
-