[Quantproject-developers] QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardLag WFLagChosenTic
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2006-08-08 09:43:46
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardLag In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24696/b7_Scripts/WalkForwardTesting/WalkForwardLag Modified Files: WFLagChosenTickers.cs Log Message: - the Generation property has been added (First generation of the genetic optimizer, when the best genome was found) Index: WFLagChosenTickers.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardLag/WFLagChosenTickers.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** WFLagChosenTickers.cs 30 Jul 2006 13:44:48 -0000 1.3 --- WFLagChosenTickers.cs 8 Aug 2006 09:43:40 -0000 1.4 *************** *** 54,57 **** --- 54,58 ---- private DateTime firstOptimizationDate; private DateTime lastOptimizationDate; + private int generation; // public QPHashtable PortfolioPositions *************** *** 97,100 **** --- 98,108 ---- } } + /// <summary> + /// First generation of the genetic optimizer, when the best genome was found + /// </summary> + public int Generation + { + get { return this.generation; } + } public WFLagChosenTickers( int numberOfDrivingPositions , *************** *** 172,175 **** --- 180,186 ---- this.setSignedTickers_setTickersFromGenome( genomeManager , geneticOptimizer.BestGenome ); + + this.generation = geneticOptimizer.BestGenome.Generation; + } #endregion |