[Quantproject-developers] QuantProject/b1_ADT/Optimizing/Genetic GeneticOptimizer.cs,1.5,1.6
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-07-23 18:02:33
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13685/b1_ADT/Optimizing/Genetic Modified Files: GeneticOptimizer.cs Log Message: The NewGeneration event args are enriched with currentGeneration and generationNumber Index: GeneticOptimizer.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic/GeneticOptimizer.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** GeneticOptimizer.cs 13 Jul 2005 16:36:03 -0000 1.5 --- GeneticOptimizer.cs 23 Jul 2005 18:02:23 -0000 1.6 *************** *** 234,238 **** this.createGenomes(); this.currentGeneration.Sort(this.genomeComparer); ! this.NewGeneration( this , new NewGenerationEventArgs( this.currentGeneration ) ); this.calculateTotalFitness(); this.updateCumulativeFitnessList(); --- 234,239 ---- this.createGenomes(); this.currentGeneration.Sort(this.genomeComparer); ! this.NewGeneration( this , new NewGenerationEventArgs( ! this.currentGeneration , this.generationCounter , this.generationNumber ) ); this.calculateTotalFitness(); this.updateCumulativeFitnessList(); *************** *** 386,390 **** this.updateCurrentGeneration(); this.currentGeneration.Sort(this.genomeComparer); ! this.NewGeneration( this , new NewGenerationEventArgs( this.currentGeneration ) ); this.calculateTotalFitness(); this.updateCumulativeFitnessList(); --- 387,392 ---- this.updateCurrentGeneration(); this.currentGeneration.Sort(this.genomeComparer); ! this.NewGeneration( this , new NewGenerationEventArgs( ! this.currentGeneration , this.generationCounter , this.generationNumber ) ); this.calculateTotalFitness(); this.updateCumulativeFitnessList(); |