Class DSEProblem
java.lang.Object
de.uka.ipd.sdq.dsexplore.opt4j.representation.DSEProblem
The
DSEProblem
defines the problem. Therefore, it reads in the
current PCM instances and identifies the available design options to define
the design space.-
Constructor Summary
ConstructorDescriptionDSEProblem
(DSEWorkflowConfiguration dseConfig, de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
Perform cleanup jobs (e.g.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) protected List<DesignDecisionGenotype>
org.palladiosimulator.solver.models.PCMInstance
void
void
setInitialPopulation
(List<DesignDecisionGenotype> population) toString()
-
Constructor Details
-
DSEProblem
public DSEProblem(DSEWorkflowConfiguration dseConfig, de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard) throws CoreException - Parameters:
pcmInstance
-- Throws:
CoreException
-
-
Method Details
-
getDesignDecision
-
getDesignDecisions
-
getInitialInstance
public org.palladiosimulator.solver.models.PCMInstance getInitialInstance() -
getGenotypeOfInitialPCMInstance
-
getInitialGenotypeList
-
saveProblem
public void saveProblem() -
toString
-
setInitialPopulation
- 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
-
cleanup
public void cleanup()Perform cleanup jobs (e.g. CostRepo)
-