Class ConcurrentProcessingSystemImplCatia
java.lang.Object
de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.AbstractTactic
de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.impl.ConcurrentProcessingSystemImplCatia
- All Implemented Interfaces:
ITactic
-
Field Summary
FieldsFields inherited from class de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.AbstractTactic
copy, individualFactory -
Constructor Summary
ConstructorsConstructorDescriptionConcurrentProcessingSystemImplCatia(org.opt4j.operator.copy.Copy<org.opt4j.core.Genotype> copy, DSEIndividualFactory individualFactory, DSEWorkflowConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleancompOccurrence(List<CompInfoResDemand> list, org.palladiosimulator.pcm.allocation.AllocationContext a) booleancps(List<ActiveResInfo> list) deployedComponents(List<CompInfoResDemand> comp, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer node) booleanbooleanep(ActiveResInfo activeRes, List<ServiceInfo> list) intintgetHeuristicCandidates(DSEIndividual i, UtilisationResultCacheAndHelper resultsCache) Generates improved individuals based on heuristic and given individual.doublegetMaxRT(List<ServiceInfo> list) intintgetMaxUtilisedCpu(List<ActiveResInfo> list) intgetMaxUtilisedHdd(List<ActiveResInfo> list) doublegetMinRT(List<ServiceInfo> list) getOverUsedCpu(List<ActiveResInfo> list) getOverUsedHDD(List<ActiveResInfo> list) getSeffsOfComp(List<ServiceInfo> list, String comp) getUnderUsedCpu(List<ActiveResInfo> list) getUnderUsedHDD(List<ActiveResInfo> list) voidincrementComputation(List<CompInfoResDemand> list, org.palladiosimulator.pcm.allocation.AllocationContext b, double value) voidincrementStorage(List<CompInfoResDemand> list, org.palladiosimulator.pcm.allocation.AllocationContext b, double value) booleanolb(List<ServiceInfo> list, PassiveResInfo criticPassiveRes) booleanunbalancedSeffs(List<ServiceInfo> list) voidupdateFrequency(List<ServiceInfo> list, String seffName, String compName, double f) Methods inherited from class de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.AbstractTactic
doesNotImprove, getHeuristicWeight, getNumberOfGeneratedCandidates, improves, increaseCounterOfGeneratedCandidates, setHeuristicWeight
-
Field Details
-
logger
protected static org.apache.log4j.Logger logger
-
-
Constructor Details
-
ConcurrentProcessingSystemImplCatia
public ConcurrentProcessingSystemImplCatia(org.opt4j.operator.copy.Copy<org.opt4j.core.Genotype> copy, DSEIndividualFactory individualFactory, DSEWorkflowConfiguration configuration)
-
-
Method Details
-
getMaxUtilisedCpu
-
getMaxUtilisedHdd
-
getMaxUtilisedActiveRes
-
getOverUsedCpu
-
getUnderUsedCpu
-
getOverUsedHDD
-
getUnderUsedHDD
-
getCriticalPassiveRes
-
compOccurrence
public boolean compOccurrence(List<CompInfoResDemand> list, org.palladiosimulator.pcm.allocation.AllocationContext a) -
incrementComputation
public void incrementComputation(List<CompInfoResDemand> list, org.palladiosimulator.pcm.allocation.AllocationContext b, double value) -
incrementStorage
public void incrementStorage(List<CompInfoResDemand> list, org.palladiosimulator.pcm.allocation.AllocationContext b, double value) -
updateFrequency
-
unbalancedSeffs
-
cps
-
olb
-
ep
-
getCompMaxCPUdemand
-
getCompMaxHDDdemand
-
deployedComponents
public List<CompInfoResDemand> deployedComponents(List<CompInfoResDemand> comp, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer node) -
getSeffsOfComp
-
getMaxRT
-
getMinRT
-
doesMatchPrecondition
-
getSolution
-
getHeuristicCandidates
public List<TacticsResultCandidate> getHeuristicCandidates(DSEIndividual i, UtilisationResultCacheAndHelper resultsCache) Description copied from interface:ITacticGenerates improved individuals based on heuristic and given individual. Candidates must only use model objects from the design decision model, they must not refer to model elements from the PCM model (as these may not be identical Java objects even if they represent the same EMF object).- Parameters:
i- The individual that should be improved- Returns:
- Collection of improved individuals
-