Class ProblemPartCrossover
- java.lang.Object
-
- de.uni_marburg.mdo_over.crossover.ProblemPartCrossover
-
- All Implemented Interfaces:
ICrossoverStrategy
public class ProblemPartCrossover extends Object implements ICrossoverStrategy
-
-
Field Summary
Fields Modifier and Type Field Description ModelGraphFactory
graphFac
-
Constructor Summary
Constructors Constructor Description ProblemPartCrossover(Set<org.eclipse.emf.ecore.EObject> problemPartTypes, org.eclipse.emf.henshin.interpreter.Engine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.eclipse.emf.ecore.EObject>
evolve(org.eclipse.emf.ecore.EObject firstParent, org.eclipse.emf.ecore.EObject secondParent)
Evolves two EMF models and returns a list of offspring models.
-
-
-
Field Detail
-
graphFac
public ModelGraphFactory graphFac
-
-
Constructor Detail
-
ProblemPartCrossover
public ProblemPartCrossover(Set<org.eclipse.emf.ecore.EObject> problemPartTypes, org.eclipse.emf.henshin.interpreter.Engine engine)
-
-
Method Detail
-
evolve
public List<org.eclipse.emf.ecore.EObject> evolve(org.eclipse.emf.ecore.EObject firstParent, org.eclipse.emf.ecore.EObject secondParent)
Description copied from interface:ICrossoverStrategy
Evolves two EMF models and returns a list of offspring models. By contract the parent models must not be modified by this call.- Specified by:
evolve
in interfaceICrossoverStrategy
- Parameters:
firstParent
- first parent model of the crossoversecondParent
- second parent model of the crossover- Returns:
- list of offspring models
-
-