Class AbstractAnalysis
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.analysis.AbstractAnalysis
-
- All Implemented Interfaces:
IAnalysis
- Direct Known Subclasses:
AbstractLQNAnalysis
,CostEvaluator
,FeatureEvaluator
,ReliabilityAnalysis
,SecurityEvaluator
,SimuComAnalysis
,SimulizarAnalysis
public abstract class AbstractAnalysis extends Object implements IAnalysis
-
-
Field Summary
Fields Modifier and Type Field Description protected de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard
blackboard
protected List<org.opt4j.core.Criterion>
criteriaList
protected Map<org.opt4j.core.Criterion,EvaluationAspectWithContext>
criterionToAspect
protected IAnalysisQualityAttributeDeclaration
qualityAttribute
-
Constructor Summary
Constructors Constructor Description AbstractAnalysis(IAnalysisQualityAttributeDeclaration qualityAttribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEvaluateAspect(EvaluationAspect aspect, Dimension dimension)
List<org.opt4j.core.Criterion>
getCriterions()
Can only be called after initialisation (#initialise(MDSDBlackboard, ILaunchConfiguration, ILaunch, IProgressMonitor)
).protected org.palladiosimulator.solver.models.PCMInstance
getPCMInstance()
DSEConstantsContainer.QualityAttribute
getQualityAttribute()
Returns aString
that represents the quality attribute that this analysis determines.boolean
hasStatisticResultsFor()
Returns whether this analysis also provides statistics for the objectives.protected void
initialiseCriteria(DSEWorkflowConfiguration configuration)
-
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
analyse, hasObjectivePerUsageScenario, initialise, retrieveResultsFor, setBlackboard
-
-
-
-
Field Detail
-
blackboard
protected de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard
-
qualityAttribute
protected IAnalysisQualityAttributeDeclaration qualityAttribute
-
criteriaList
protected List<org.opt4j.core.Criterion> criteriaList
-
criterionToAspect
protected Map<org.opt4j.core.Criterion,EvaluationAspectWithContext> criterionToAspect
-
-
Constructor Detail
-
AbstractAnalysis
public AbstractAnalysis(IAnalysisQualityAttributeDeclaration qualityAttribute)
-
-
Method Detail
-
getQualityAttribute
public DSEConstantsContainer.QualityAttribute getQualityAttribute() throws CoreException
Description copied from interface:IAnalysis
Returns aString
that represents the quality attribute that this analysis determines. This method can be called without initialization.- Specified by:
getQualityAttribute
in interfaceIAnalysis
- Returns:
- Throws:
CoreException
-
initialiseCriteria
protected void initialiseCriteria(DSEWorkflowConfiguration configuration) throws CoreException
- Throws:
CoreException
-
canEvaluateAspect
protected boolean canEvaluateAspect(EvaluationAspect aspect, Dimension dimension)
-
getPCMInstance
protected org.palladiosimulator.solver.models.PCMInstance getPCMInstance()
-
getCriterions
public List<org.opt4j.core.Criterion> getCriterions() throws CoreException
Description copied from interface:IAnalysis
Can only be called after initialisation (#initialise(MDSDBlackboard, ILaunchConfiguration, ILaunch, IProgressMonitor)
).- Specified by:
getCriterions
in interfaceIAnalysis
- Returns:
- Throws:
CoreException
-
hasStatisticResultsFor
public boolean hasStatisticResultsFor() throws CoreException
Description copied from interface:IAnalysis
Returns whether this analysis also provides statistics for the objectives. This method can be called without initialization.- Specified by:
hasStatisticResultsFor
in interfaceIAnalysis
- Returns:
- Throws:
CoreException
-
-