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); }
public static void GUI_Edit(Window parent, DefaultSigmoid sigmoid) { Forms.EditDefaultSigmoid.ShowDialogue(parent, sigmoid, sigmoid.geneList); }