[Quantproject-developers] QuantProject/b4_Business/a2_Strategies/OutOfSample TestingPositions.cs,
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2008-03-07 23:27:24
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/OutOfSample In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6290/a2_Strategies/OutOfSample Modified Files: TestingPositions.cs Log Message: Interface IGeneticOptimized has been renamed to IGeneticallyOptimizable. TestingPositions does not implement this interface (that should be implemented by TestingPositions created for specific strategies) Index: TestingPositions.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/OutOfSample/TestingPositions.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TestingPositions.cs 5 Mar 2008 17:13:41 -0000 1.3 --- TestingPositions.cs 7 Mar 2008 23:27:13 -0000 1.4 *************** *** 40,50 **** private string hashCodeForTickerComposition; private double fitnessInSample; ! public WeightedPositions WeightedPositions { get{return this.weightedPositions;} } ! ! public double FitnessInSample { get{return this.fitnessInSample;} --- 40,49 ---- private string hashCodeForTickerComposition; private double fitnessInSample; ! public WeightedPositions WeightedPositions { get{return this.weightedPositions;} } ! public double FitnessInSample { get{return this.fitnessInSample;} *************** *** 52,56 **** } - public string HashCodeForTickerComposition { --- 51,54 ---- *************** *** 76,80 **** this.weightedPositions = weightedPositions; this.fitnessInSample = double.MinValue; ! } public TestingPositions(WeightedPositions weightedPositions, --- 74,78 ---- this.weightedPositions = weightedPositions; this.fitnessInSample = double.MinValue; ! } public TestingPositions(WeightedPositions weightedPositions, *************** *** 83,87 **** this.weightedPositions = weightedPositions; this.fitnessInSample = fitnessInSample; ! } //it creates an empty TestingPositions --- 81,85 ---- this.weightedPositions = weightedPositions; this.fitnessInSample = fitnessInSample; ! } //it creates an empty TestingPositions |