Class LQSimAnalysis
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.analysis.AbstractAnalysis
-
- de.uka.ipd.sdq.dsexplore.analysis.lqn.AbstractLQNAnalysis
-
- de.uka.ipd.sdq.dsexplore.analysis.lqn.LQSimAnalysis
-
- All Implemented Interfaces:
IAnalysis
public class LQSimAnalysis extends AbstractLQNAnalysis
Starts a LQN simulation analysis for the design space exploration.
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.lqn.AbstractLQNAnalysis
iteration, logger
-
Fields inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractAnalysis
blackboard, criteriaList, criterionToAspect, qualityAttribute
-
-
Constructor Summary
Constructors Constructor Description LQSimAnalysis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getSolverMessageString()
protected IAnalysisResult
handleException(RuntimeException e, org.palladiosimulator.solver.models.PCMInstance pcm)
try to handle the exception or throw it back.boolean
hasObjectivePerUsageScenario()
Returns whether this analysis provides one objective per usage scenario.protected LQNResult
retrieveResult(org.palladiosimulator.solver.models.PCMInstance pcm, org.palladiosimulator.solver.lqn.LqnModelType model, org.opt4j.core.Criterion criterion)
-
Methods inherited from class de.uka.ipd.sdq.dsexplore.analysis.lqn.AbstractLQNAnalysis
analyse, initialise, retrieveResultsFor, setBlackboard
-
Methods inherited from class de.uka.ipd.sdq.dsexplore.analysis.AbstractAnalysis
canEvaluateAspect, getCriterions, getPCMInstance, getQualityAttribute, hasStatisticResultsFor, initialiseCriteria
-
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.IAnalysis
getCriterions, getQualityAttribute, hasStatisticResultsFor
-
-
-
-
Method Detail
-
getSolverMessageString
protected String getSolverMessageString()
- Specified by:
getSolverMessageString
in classAbstractLQNAnalysis
-
retrieveResult
protected LQNResult retrieveResult(org.palladiosimulator.solver.models.PCMInstance pcm, org.palladiosimulator.solver.lqn.LqnModelType model, org.opt4j.core.Criterion criterion) throws AnalysisFailedException
- Specified by:
retrieveResult
in classAbstractLQNAnalysis
- Throws:
AnalysisFailedException
-
handleException
protected IAnalysisResult handleException(RuntimeException e, org.palladiosimulator.solver.models.PCMInstance pcm)
Description copied from class:AbstractLQNAnalysis
try to handle the exception or throw it back.- Specified by:
handleException
in classAbstractLQNAnalysis
- Returns:
-
hasObjectivePerUsageScenario
public boolean hasObjectivePerUsageScenario() throws CoreException
Description copied from interface:IAnalysis
Returns whether this analysis provides one objective per usage scenario. This method can be called before calling#initialise(MDSDBlackboard, ILaunchConfiguration, ILaunch, IProgressMonitor)
.- Throws:
CoreException
-
-