[Quantproject-developers] QuantProject/b4_Business/a2_Strategies/Optimizing/Decoding BasicDecoderF
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2008-03-02 10:04:12
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/Optimizing/Decoding In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25362/a2_Strategies/Optimizing/Decoding Modified Files: BasicDecoderForTestingPositions.cs Log Message: Better implementation of the basic virtual getWeights method Index: BasicDecoderForTestingPositions.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/Optimizing/Decoding/BasicDecoderForTestingPositions.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BasicDecoderForTestingPositions.cs 27 Feb 2008 21:45:23 -0000 1.3 --- BasicDecoderForTestingPositions.cs 2 Mar 2008 10:04:06 -0000 1.4 *************** *** 138,142 **** //in this implementation encoded doesn't contain //information for weights: so weights are all the same ! double[] weights = new double[this.encoded.Length]; for(int i = 0; i<weights.Length; i++) weights[i] = 1.0 / weights.Length; --- 138,142 ---- //in this implementation encoded doesn't contain //information for weights: so weights are all the same ! double[] weights = new double[this.tickerRelatedGeneValues.Length]; for(int i = 0; i<weights.Length; i++) weights[i] = 1.0 / weights.Length; |