Class ReallocateForReduceLinkUsage
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.AbstractTactic
-
- de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.impl.ReallocateForReduceLinkUsage
-
- All Implemented Interfaces:
ITactic
public class ReallocateForReduceLinkUsage extends AbstractTactic
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.Logger
logger
-
Fields inherited from class de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.AbstractTactic
copy, individualFactory
-
-
Constructor Summary
Constructors Constructor Description ReallocateForReduceLinkUsage(org.opt4j.operator.copy.Copy<org.opt4j.core.Genotype> copy, DSEIndividualFactory individualFactory, DSEWorkflowConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TacticsResultCandidate>
getHeuristicCandidates(DSEIndividual individual, UtilisationResultCacheAndHelper resultsCache)
Generates improved individuals based on heuristic and given individual.-
Methods inherited from class de.uka.ipd.sdq.dsexplore.opt4j.optimizer.heuristic.operators.AbstractTactic
doesNotImprove, getHeuristicWeight, getNumberOfGeneratedCandidates, improves, increaseCounterOfGeneratedCandidates, setHeuristicWeight
-
-
-
-
Constructor Detail
-
ReallocateForReduceLinkUsage
public ReallocateForReduceLinkUsage(org.opt4j.operator.copy.Copy<org.opt4j.core.Genotype> copy, DSEIndividualFactory individualFactory, DSEWorkflowConfiguration configuration)
-
-
Method Detail
-
getHeuristicCandidates
public List<TacticsResultCandidate> getHeuristicCandidates(DSEIndividual individual, UtilisationResultCacheAndHelper resultsCache)
Description copied from interface:ITactic
Generates 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:
individual
- The individual that should be improved- Returns:
- Collection of improved individuals
-
-