Class ProblemPartCrossover

    • 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 interface ICrossoverStrategy
        Parameters:
        firstParent - first parent model of the crossover
        secondParent - second parent model of the crossover
        Returns:
        list of offspring models