Class CrossoverPointRecombination

    • Constructor Detail

      • CrossoverPointRecombination

        public CrossoverPointRecombination​(IInferenceStrategy strategy,
                                           IAttributeProcessor attributeProcessor,
                                           org.eclipse.emf.henshin.interpreter.Engine engine)
    • Method Detail

      • recombine

        public List<org.eclipse.emf.ecore.EObject> recombine​(CoSpan firstSplit,
                                                             CoSpan secondSplit)
        Description copied from interface: IRecombinationStrategy
        Recombines two parent solutions (represented by splits) and creates two or more EMF models as offspring.
        Specified by:
        recombine in interface IRecombinationStrategy
        Parameters:
        firstSplit - the first parent represented by a split
        secondSplit - the second parent represented by a split
        Returns:
        a list containing the roots of the offspring models created as recombinations of the input splits