[Quantproject-developers] QuantProject/b1_ADT/Optimizing/Genetic NewGenerationEventArgs.cs,1.1,1.2
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-07-23 18:01:11
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13352/b1_ADT/Optimizing/Genetic Modified Files: NewGenerationEventArgs.cs Log Message: - The property GenerationNumber has been added - The property GenerationCounter has been added Index: NewGenerationEventArgs.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic/NewGenerationEventArgs.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NewGenerationEventArgs.cs 13 Jul 2005 16:32:10 -0000 1.1 --- NewGenerationEventArgs.cs 23 Jul 2005 18:01:02 -0000 1.2 *************** *** 33,41 **** --- 33,60 ---- { private ArrayList generation; + private int generationNumber; + private int generationCounter; + /// <summary> + /// Current generation + /// </summary> public ArrayList Generation { get { return this.generation; } } + /// <summary> + /// Total number of generations to be created + /// </summary> + public int GenerationNumber + { + get { return this.generationNumber; } + } + /// <summary> + /// Number of the current generation + /// </summary> + public int GenerationCounter + { + get { return this.generationCounter; } + } public NewGenerationEventArgs( ArrayList generation ) *************** *** 43,46 **** --- 62,72 ---- this.generation = generation; } + public NewGenerationEventArgs( ArrayList generation , + int generationCounter , int generationNumber ) + { + this.generation = generation; + this.generationCounter = generationCounter; + this.generationNumber = generationNumber; + } } } |