[Quantproject-developers] QuantProject/b7_Scripts/TickerSelectionTesting CandidateProperties.cs,1.2,
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2005-10-21 22:16:01
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10066/b7_Scripts/TickerSelectionTesting Modified Files: CandidateProperties.cs Log Message: Added new constructor to CandidateProperties class. Index: CandidateProperties.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting/CandidateProperties.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CandidateProperties.cs 21 Oct 2005 18:25:01 -0000 1.2 --- CandidateProperties.cs 21 Oct 2005 22:15:53 -0000 1.3 *************** *** 40,51 **** protected double fitness; ! public CandidateProperties(string ticker, float[] arrayOfRatesOfReturn) { this.ticker = ticker; this.longRatesOfReturn = true; this.arrayOfRatesOfReturn = arrayOfRatesOfReturn; ! this.fitness = 0.0; } ! private float[] arrayOfRatesOfReturn_getOppositeArrayOfRatesOfReturn() { --- 40,58 ---- protected double fitness; ! public CandidateProperties(string ticker, float[] arrayOfRatesOfReturn): ! this(ticker,arrayOfRatesOfReturn,0.0) ! { ! ! } ! ! public CandidateProperties(string ticker, float[] arrayOfRatesOfReturn, ! double fitness) { this.ticker = ticker; this.longRatesOfReturn = true; this.arrayOfRatesOfReturn = arrayOfRatesOfReturn; ! this.fitness = fitness; } ! private float[] arrayOfRatesOfReturn_getOppositeArrayOfRatesOfReturn() { |