java.lang.Object
de.uka.ipd.sdq.dsexplore.opt4j.representation.DSEProblem

public class DSEProblem extends Object
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 Details

  • Method Details

    • 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()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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)