Class DSEProblem
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.opt4j.representation.DSEProblem
-
public class DSEProblem extends Object
TheDSEProblem
defines the problem. Therefore, it reads in the current PCM instances and identifies the available design options to define the design space.
-
-
Constructor Summary
Constructors Constructor Description DSEProblem(DSEWorkflowConfiguration dseConfig, de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
Perform cleanup jobs (e.g.DegreeOfFreedomInstance
getDegree(org.palladiosimulator.pcm.core.entity.Entity entity, Class<? extends DegreeOfFreedomInstance> degreeClass)
Returns the degree of freedom of the type (or subtype) that has the given entity as the changeableEntity.protected DegreeOfFreedomInstance
getDesignDecision(int index)
List<DegreeOfFreedomInstance>
getDesignDecisions()
DecisionSpace
getEMFProblem()
DesignDecisionGenotype
getGenotypeOfInitialPCMInstance()
protected List<DesignDecisionGenotype>
getInitialGenotypeList()
org.palladiosimulator.solver.models.PCMInstance
getInitialInstance()
void
saveProblem()
void
setInitialPopulation(List<DesignDecisionGenotype> population)
String
toString()
-
-
-
Constructor Detail
-
DSEProblem
public DSEProblem(DSEWorkflowConfiguration dseConfig, de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard) throws CoreException
- Parameters:
pcmInstance
-- Throws:
CoreException
-
-
Method Detail
-
getDesignDecision
protected DegreeOfFreedomInstance getDesignDecision(int index)
-
getDesignDecisions
public List<DegreeOfFreedomInstance> getDesignDecisions()
-
getInitialInstance
public org.palladiosimulator.solver.models.PCMInstance getInitialInstance()
-
getGenotypeOfInitialPCMInstance
public DesignDecisionGenotype getGenotypeOfInitialPCMInstance()
-
getInitialGenotypeList
protected List<DesignDecisionGenotype> getInitialGenotypeList()
-
saveProblem
public void saveProblem()
-
setInitialPopulation
public void setInitialPopulation(List<DesignDecisionGenotype> population) throws CoreException
- Throws:
CoreException
-
getDegree
public DegreeOfFreedomInstance getDegree(org.palladiosimulator.pcm.core.entity.Entity entity, Class<? extends DegreeOfFreedomInstance> degreeClass)
Returns the degree of freedom of the type (or subtype) that has the given entity as the changeableEntity.- Parameters:
entity
-degreeClass
-- Returns:
- The matching DegreeOfFreedomInstance from this problem.
-
getEMFProblem
public DecisionSpace getEMFProblem()
-
cleanup
public void cleanup()
Perform cleanup jobs (e.g. CostRepo)
-
-