[Quantproject-developers] QuantProject/b1_ADT/Optimizing/Genetic Genome.cs,1.7,1.8
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-08-28 09:59:46
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16126/b1_ADT/Optimizing/Genetic Modified Files: Genome.cs Log Message: Added new property "Generation" to Genome object Index: Genome.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/Optimizing/Genetic/Genome.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Genome.cs 3 Aug 2005 23:05:23 -0000 1.7 --- Genome.cs 28 Aug 2005 09:59:36 -0000 1.8 *************** *** 87,90 **** --- 87,100 ---- } + /// <summary> + /// Returns the generation at which + /// the current genome has been generated + /// by the Genetic Optimizer + /// </summary> + public int Generation + { + get{return this.genomeManager.CurrentGeneticOptimizer.GenerationCounter;} + } + //implementation of IComparable interface public int CompareTo(object obj) { |