Class SimpleCrossOverFunction

    • Constructor Detail

      • SimpleCrossOverFunction

        public SimpleCrossOverFunction()
    • Method Detail

      • performCrossOver

        public GACrossResult performCrossOver​(SymbolList chromA,
                                              SymbolList chromB)
                                       throws ChangeVetoException
        Description copied from interface: CrossOverFunction
        Performs a cross between the pair of chromosomes
        Parameters:
        chromA - The first chromosome in the cross
        chromB - The second chromosome in the cross
        Returns:
        A GACross that holds the results of the cross
        Throws:
        ChangeVetoException - if the chromosomes are unmodifiable