Package de.uka.ipd.sdq.dsexplore.launch
Class DSEWorkflowConfiguration
java.lang.Object
de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
de.uka.ipd.sdq.dsexplore.launch.DSEWorkflowConfiguration
- All Implemented Interfaces:
de.uka.ipd.sdq.workflow.configuration.IJobConfiguration
,Cloneable
public class DSEWorkflowConfiguration
extends org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
Configuration for a PerOpteryx run.
Contains different types of information:
- Inherits the PCM model information
- Contains information on the run, such as max iterations
- Contains the raw ILaunchConfiguration in order to derive SimuCom and PCMSolver configuration (TODO: refactor, make this a composite configuration and initialise the proper configurations earlier. Make the analysis extension provide access to the appropriate configuration builder.)
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
accuracyInfluenceAnalysisEnabled, accuracyInfluenceAnalysisState, accuracyInfluenceIssueReceivingJob, accuracyInformationModelFile, allocationFiles, deleteTemporaryDataAfterAnalysis, eventMiddlewareFile, overwriteWithoutAsking, PCM_EPACKAGES, rmiMiddlewareFile, temporaryDataLocation, usageModelFile
Fields inherited from class de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
isDebug, isInteractive
Fields inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
isFixed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
int
double
int
int
double
int
double
int
double
double
double
double
double
double
double
boolean
double
double
int
double
double
double
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isBayes()
boolean
boolean
boolean
Returns whether the rule based search should explore the full search tree up to the depth given by the number of iterations.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setActivateComposedTerminationCriteria
(boolean activateComposedTerminationCriteria) void
void
setCacheInstancesFileName
(URI name) void
setComposedCriteriaExpression
(String expression) void
setConfigurationName
(String configurationName) void
setConsiderQMLBoundsWhenApplyingHeuristics
(boolean considerQMLBoundsWhenApplyingHeuristics) void
setCrossoverRate
(double crossoverRate) void
void
setDesignDecisionFileName
(URI designDecisionFileName) void
setEvaluators
(List<IAnalysis> evaluators) void
setIndividualsPerGeneration
(int individualsPerGeneration) void
setMaxCost
(double maxCost) void
setMaxIterations
(int maxIterations) void
setMaxNumberOfResourceContainers
(int maxNumberOfResourceContainers) void
setMaxPOFOD
(double maxPOFOD) void
setMinNumberOfResourceContainers
(int minNumberOfResourceContainers) void
setMrtRequirements
(double mrtRequirements) void
setNewProblem
(boolean newProblem) void
setNumberOfCandidatesPerAllocationLevel
(int numberOfCandidatesPerAllocationLevel) void
setOptimise
(boolean optimise) void
setOriginalConfig
(ILaunchConfiguration originalConfig) void
void
void
setProcessingRateDecreaseFactor
(double processingRateDecreaseFactor) void
setProcessingRateIncreaseFactor
(double processingRateIncreaseFactor) void
setProcessingRateThresholdHighUtilisation
(double processingRateThresholdHighUtilisation) void
setProcessingRateThresholdLowUtilisation
(double processingRateThresholdLowUtilisation) void
setProcessingRateWeight
(double processingRateWeight) void
setRawConfig
(ILaunchConfiguration configuration) void
setReallocationThresholdUtilisationDifference
(double reallocationThresholdUtilisationDifference) void
setReallocationWeight
(double reallocationWeight) void
setResultFolder
(URI resultFolder) void
setResultsAsCSV
(boolean resultsAsCVS) void
setResultsAsEMF
(boolean asEMF) void
setRunInComparisionMode
(boolean runInComparisionMode) void
setSearchMethod
(DSEWorkflowConfiguration.SearchMethod searchMethod) void
setServerConsolidationThresholdLowUtilisation
(double serverConsolidationThresholdLowUtilisation) void
setServerConsolidationWeight
(double serverConsolidationWeight) void
setServerExpansionMaxNumberOfReplacements
(int serverExpansionMaxNumberOfReplacements) void
setServerExpansionThresholdHighUtilisation
(double serverExpansionThresholdHighUtilisation) void
setServerExpansionWeight
(double serverExpansionWeight) void
setStopOnInitialFailure
(boolean stop) void
setTacticsProbability
(double tacticsProbability) void
setTCConfigurations
(List<IConfiguration> tcConfigurations) void
setUseAntipatternKnowledge
(boolean isUseAntipattern) void
setUseLinkReallocationTactic
(boolean isUseLinkReallocationTactic) void
setUseProcessingRate
(boolean useProcessingRate) void
setUseReallocation
(boolean useReallocation) void
setUseServerConsolidation
(boolean useServerConsolidation) void
setUseServerExpansion
(boolean useServerExpansion) void
setUseStartingPopulationHeuristic
(boolean useStartingPopulationHeuristic) void
setUseTerminationCriteria
(boolean useTerminationCriteria) Methods inherited from class org.palladiosimulator.analyzer.workflow.configurations.AbstractPCMWorkflowRunConfiguration
clone, getAccuracyInfluenceAnalysisState, getAccuracyInfluenceIssueReceivingJob, getAccuracyInformationModelFile, getAllocationFiles, getBaseProjectID, getClone, getEventMiddlewareFile, getGeneratedProjectPath, getModelPaths, getPCMModelFiles, getRMIMiddlewareFile, getStoragePluginID, getUsageModelFile, isAccuracyInfluenceAnalysisEnabled, isDeleteTemporaryDataAfterAnalysis, isOverwriteWithoutAsking, setAccuracyInfluenceAnalysisEnabled, setAccuracyInfluenceAnalysisState, setAccuracyInfluenceIssueReceivingJob, setAccuracyInformationModelFile, setAllocationFiles, setBaseProjectID, setDeleteTemporaryDataAfterAnalysis, setEventMiddlewareFile, setGeneratedProjectPath, setModelPaths, setOverwriteWithoutAsking, setRMIMiddlewareFile, setStoragePluginID, setUsageModelFile, validateAndFreeze
Methods inherited from class de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration
isDebug, isInteractive, setDebug, setInteractive
Methods inherited from class de.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
checkFixed, isFrozen, isValid
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.workflow.configuration.IJobConfiguration
isValid
-
Field Details
-
startTimestamp
-
-
Constructor Details
-
DSEWorkflowConfiguration
public DSEWorkflowConfiguration()
-
-
Method Details
-
setUseTerminationCriteria
public void setUseTerminationCriteria(boolean useTerminationCriteria) -
getUseTerminationCriteria
public boolean getUseTerminationCriteria() -
setRunInComparisionMode
public void setRunInComparisionMode(boolean runInComparisionMode) -
getRunInComparisionMode
public boolean getRunInComparisionMode() -
setActivateComposedTerminationCriteria
public void setActivateComposedTerminationCriteria(boolean activateComposedTerminationCriteria) -
getActivateComposedTerminationCriteria
public boolean getActivateComposedTerminationCriteria() -
setComposedCriteriaExpression
-
getComposedCriteriaExpression
-
setTCConfigurations
-
getTCConfigurations
-
getUseStartingPopulationHeuristic
public boolean getUseStartingPopulationHeuristic()- Returns:
- the useStartingPopulationHeuristic
-
setUseStartingPopulationHeuristic
public void setUseStartingPopulationHeuristic(boolean useStartingPopulationHeuristic) - Parameters:
useStartingPopulationHeuristic
- the useStartingPopulationHeuristic to set
-
getMinNumberOfResourceContainers
public int getMinNumberOfResourceContainers()- Returns:
- the minNumberOfResourceContainers
-
setMinNumberOfResourceContainers
public void setMinNumberOfResourceContainers(int minNumberOfResourceContainers) - Parameters:
minNumberOfResourceContainers
- the minNumberOfResourceContainers to set
-
getMaxNumberOfResourceContainers
public int getMaxNumberOfResourceContainers()- Returns:
- the maxNumberOfResourceContainers
-
setMaxNumberOfResourceContainers
public void setMaxNumberOfResourceContainers(int maxNumberOfResourceContainers) - Parameters:
maxNumberOfResourceContainers
- the maxNumberOfResourceContainers to set
-
getNumberOfCandidatesPerAllocationLevel
public int getNumberOfCandidatesPerAllocationLevel()- Returns:
- the numberOfCandidatesPerAllocationLevel
-
setNumberOfCandidatesPerAllocationLevel
public void setNumberOfCandidatesPerAllocationLevel(int numberOfCandidatesPerAllocationLevel) - Parameters:
numberOfCandidatesPerAllocationLevel
- the numberOfCandidatesPerAllocationLevel to set
-
getDecimalFormat
-
getOriginalConfig
-
setOriginalConfig
-
setMaxIterations
public void setMaxIterations(int maxIterations) -
setMrtRequirements
public void setMrtRequirements(double mrtRequirements) -
setIndividualsPerGeneration
public void setIndividualsPerGeneration(int individualsPerGeneration) -
setMaxCost
public void setMaxCost(double maxCost) -
setMaxPOFOD
public void setMaxPOFOD(double maxPOFOD) -
setNewProblem
public void setNewProblem(boolean newProblem) -
setOptimise
public void setOptimise(boolean optimise) -
setDesignDecisionFileName
-
setConfigurationName
-
getMaxIterations
public int getMaxIterations() -
getIndividualsPerGeneration
public int getIndividualsPerGeneration() -
isNewProblem
public boolean isNewProblem() -
isOptimise
public boolean isOptimise() -
getMrtRequirements
public double getMrtRequirements() -
getMaxCost
public double getMaxCost() -
getMaxPOFOD
public double getMaxPOFOD() -
getErrorMessage
- Specified by:
getErrorMessage
in interfacede.uka.ipd.sdq.workflow.configuration.IJobConfiguration
- Specified by:
getErrorMessage
in classde.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
-
setDefaults
public void setDefaults()- Specified by:
setDefaults
in interfacede.uka.ipd.sdq.workflow.configuration.IJobConfiguration
- Specified by:
setDefaults
in classde.uka.ipd.sdq.workflow.configuration.AbstractJobConfiguration
-
getOriginalConfiguration
-
hasPredefinedInstances
- Throws:
CoreException
-
isRandomSearch
public boolean isRandomSearch() -
isRuleBasedSearch
public boolean isRuleBasedSearch() -
isBayes
public boolean isBayes() -
isEvolutionarySearch
public boolean isEvolutionarySearch() -
isFullRuleBasedSearch
public boolean isFullRuleBasedSearch()Returns whether the rule based search should explore the full search tree up to the depth given by the number of iterations. Otherwise, suboptimal candidates are pruned and not further explored per iteration.- Returns:
-
getPredefinedInstancesFileName
-
getCacheInstancesFileName
-
getPredefinedAllCandidatesFileName
-
getArchiveCandidateFileName
-
setPredefinedInstancesFileName
-
setCacheInstancesFileName
-
setPredefinedAllCandidatesFileName
-
setArchiveCandidateFileName
-
hasCacheInstances
- Throws:
CoreException
-
getDesignDecisionFileName
-
setRawConfig
-
getRawConfiguration
-
getConfigurationName
-
setResultFolder
- Parameters:
resultFolder
- the resultFolder to set
-
getResultFolder
- Returns:
- the resultFolder
-
getCrossoverRate
public double getCrossoverRate() -
setCrossoverRate
public void setCrossoverRate(double crossoverRate) -
isConsiderQMLBoundsWhenApplyingHeuristics
public boolean isConsiderQMLBoundsWhenApplyingHeuristics() -
setConsiderQMLBoundsWhenApplyingHeuristics
public void setConsiderQMLBoundsWhenApplyingHeuristics(boolean considerQMLBoundsWhenApplyingHeuristics) -
setTacticsProbability
public void setTacticsProbability(double tacticsProbability) -
getTacticsProbability
public double getTacticsProbability() -
getUseReallocation
public boolean getUseReallocation() -
setUseReallocation
public void setUseReallocation(boolean useReallocation) -
getReallocationThresholdUtilisationDifference
public double getReallocationThresholdUtilisationDifference() -
setReallocationThresholdUtilisationDifference
public void setReallocationThresholdUtilisationDifference(double reallocationThresholdUtilisationDifference) -
getReallocationWeight
public double getReallocationWeight() -
setReallocationWeight
public void setReallocationWeight(double reallocationWeight) -
getUseProcessingRate
public boolean getUseProcessingRate() -
setUseProcessingRate
public void setUseProcessingRate(boolean useProcessingRate) -
getProcessingRateThresholdLowUtilisation
public double getProcessingRateThresholdLowUtilisation() -
setProcessingRateThresholdLowUtilisation
public void setProcessingRateThresholdLowUtilisation(double processingRateThresholdLowUtilisation) -
getProcessingRateThresholdHighUtilisation
public double getProcessingRateThresholdHighUtilisation() -
setProcessingRateThresholdHighUtilisation
public void setProcessingRateThresholdHighUtilisation(double processingRateThresholdHighUtilisation) -
getProcessingRateDecreaseFactor
public double getProcessingRateDecreaseFactor() -
setProcessingRateDecreaseFactor
public void setProcessingRateDecreaseFactor(double processingRateDecreaseFactor) -
getProcessingRateIncreaseFactor
public double getProcessingRateIncreaseFactor() -
setProcessingRateIncreaseFactor
public void setProcessingRateIncreaseFactor(double processingRateIncreaseFactor) -
getProcessingRateWeight
public double getProcessingRateWeight() -
setProcessingRateWeight
public void setProcessingRateWeight(double processingRateWeight) -
getUseServerConsolidation
public boolean getUseServerConsolidation() -
setUseServerConsolidation
public void setUseServerConsolidation(boolean useServerConsolidation) -
getServerConsolidationThresholdLowUtilisation
public double getServerConsolidationThresholdLowUtilisation() -
setServerConsolidationThresholdLowUtilisation
public void setServerConsolidationThresholdLowUtilisation(double serverConsolidationThresholdLowUtilisation) -
getServerConsolidationWeight
public double getServerConsolidationWeight() -
setServerConsolidationWeight
public void setServerConsolidationWeight(double serverConsolidationWeight) -
getUseServerExpansion
public boolean getUseServerExpansion() -
setUseServerExpansion
public void setUseServerExpansion(boolean useServerExpansion) -
getServerExpansionThresholdHighUtilisation
public double getServerExpansionThresholdHighUtilisation() -
setServerExpansionThresholdHighUtilisation
public void setServerExpansionThresholdHighUtilisation(double serverExpansionThresholdHighUtilisation) -
getServerExpansionMaxNumberOfReplacements
public int getServerExpansionMaxNumberOfReplacements() -
setServerExpansionMaxNumberOfReplacements
public void setServerExpansionMaxNumberOfReplacements(int serverExpansionMaxNumberOfReplacements) -
getServerExpansionWeight
public double getServerExpansionWeight() -
setServerExpansionWeight
public void setServerExpansionWeight(double serverExpansionWeight) -
setSearchMethod
-
isUseHeuristics
public boolean isUseHeuristics() -
setEvaluators
-
getEvaluators
-
getUseLinkReallocationTactic
public boolean getUseLinkReallocationTactic() -
setUseLinkReallocationTactic
public void setUseLinkReallocationTactic(boolean isUseLinkReallocationTactic) -
getUseAntipatternKnowledge
public boolean getUseAntipatternKnowledge() -
setUseAntipatternKnowledge
public void setUseAntipatternKnowledge(boolean isUseAntipattern) -
isStopOnInitialFailure
public boolean isStopOnInitialFailure() -
setStopOnInitialFailure
public void setStopOnInitialFailure(boolean stop) -
isResultsAsEMF
public boolean isResultsAsEMF() -
setResultsAsEMF
public void setResultsAsEMF(boolean asEMF) -
isResultsAsCSV
public boolean isResultsAsCSV() -
setResultsAsCSV
public void setResultsAsCSV(boolean resultsAsCVS)
-