Update of /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/LinearCombination
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20797/b7_Scripts/WalkForwardTesting/LinearCombination
Modified Files:
GenomeRepresentation.cs
Log Message:
Added MeaningForGenome class, to be used inside the TickerSelectionTesting namespace.
Decode implementation in GenomeManagerForEfficientPortfolio (and so the Meaning property for the correlated Genome) has been changed.
Index: GenomeRepresentation.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/LinearCombination/GenomeRepresentation.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** GenomeRepresentation.cs 29 Jul 2005 13:36:28 -0000 1.2
--- GenomeRepresentation.cs 21 Oct 2005 18:14:04 -0000 1.3
***************
*** 25,28 ****
--- 25,29 ----
using QuantProject.ADT.Optimizing.Genetic;
using QuantProject.Business.Financial.Ordering;
+ using QuantProject.Scripts.TickerSelectionTesting.EfficientPortfolios;
namespace QuantProject.Scripts.WalkForwardTesting.LinearCombination
***************
*** 93,97 ****
{
string signedTickers = "";
! foreach ( string geneValue in (string[])genome.Meaning )
signedTickers += geneValue + ";";
signedTickers = signedTickers.Substring( 0 ,
--- 94,98 ----
{
string signedTickers = "";
! foreach ( string geneValue in ((MeaningForGenome)genome.Meaning).Tickers )
signedTickers += geneValue + ";";
signedTickers = signedTickers.Substring( 0 ,
|