Пример #1
0
        public override GeneModule CrossoverModule(GeneModule g2, CrossoverFunction crossoverFunction)
        {
            var child = (DefaultSigmoid)GetNewThis();

            DefaultSigmoid s2 = (DefaultSigmoid)g2;

            crossoverFunction.Crossover(geneList, s2.geneList, child.geneList);
            child.GenesHasChanged();

            return(child);
        }
Пример #2
0
 public static void GUI_Edit(Window parent, DefaultSigmoid sigmoid)
 {
     Forms.EditDefaultSigmoid.ShowDialogue(parent, sigmoid, sigmoid.geneList);
 }