[Quantproject-developers] QuantProject/b1_ADT/Optimizing/Genetic GenomeManagement.cs,1.6,1.7
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-08-07 08:21:09
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18128/b1_ADT/Optimizing/Genetic Modified Files: GenomeManagement.cs Log Message: Code has been simplified and a bug has been fixed in setMaskForChildsForMixingWithoutDuplicates (method used by MixGenesWithoutDuplicates) Index: GenomeManagement.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic/GenomeManagement.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** GenomeManagement.cs 31 Jul 2005 19:53:44 -0000 1.6 --- GenomeManagement.cs 7 Aug 2005 08:20:53 -0000 1.7 *************** *** 56,68 **** } - private static void assignFitnessAndMeaningToChilds() - { - foreach(Genome child in childs) - { - child.AssignMeaning(); - child.CalculateFitness(); - } - } - private static void setChildsUsingMaskForChilds(Genome parent1, Genome parent2) --- 56,59 ---- *************** *** 114,118 **** } } - GenomeManagement.assignFitnessAndMeaningToChilds(); return GenomeManagement.childs; } --- 105,108 ---- |