Update of /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardLag/WFLagGenomesDebugger
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20417/b7_Scripts/WalkForwardTesting/WalkForwardLag/WFLagGenomesDebugger
Modified Files:
WFLagDebugChosenPositionsCollection.cs
Log Message:
The code has been changed in order to use the new constructor for WFLagDebugGenome.
Right clicking the grid now returns a WFLagChosenPositionsDebugInfo, it returned a WFLagChosenPositions in the previous version
Index: WFLagDebugChosenPositionsCollection.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/WalkForwardTesting/WalkForwardLag/WFLagGenomesDebugger/WFLagDebugChosenPositionsCollection.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** WFLagDebugChosenPositionsCollection.cs 22 Jul 2006 20:37:20 -0000 1.2
--- WFLagDebugChosenPositionsCollection.cs 28 Oct 2007 19:14:14 -0000 1.3
***************
*** 135,139 ****
return hitTestInfo.Row;
}
! private WFLagChosenPositions rightClickEventHandler_getWFLagChosenPositions(
DataGrid dataGrid , int rowNumber )
{
--- 135,140 ----
return hitTestInfo.Row;
}
! private WFLagChosenPositionsDebugInfo
! rightClickEventHandler_getWFLagChosenPositionsDebugInfo(
DataGrid dataGrid , int rowNumber )
{
***************
*** 141,163 ****
WFLagChosenPositionsDebugInfo wFLagChosenPositionsDebugInfo =
(WFLagChosenPositionsDebugInfo)(this.chosenPositionsDebugInfoList[ rowNumber ]);
! WFLagChosenPositions wFLagChosenPositions =
! wFLagChosenPositionsDebugInfo.GetChosenPositions();
! return wFLagChosenPositions;
}
! private WFLagChosenPositions rightClickEventHandler_getWFLagChosenPositions(
object sender, System.Windows.Forms.MouseEventArgs e )
{
int rowNumber = rightClickEventHandler_getRowNumber(
sender , e );
! WFLagChosenPositions wFLagChosenPositions =
! this.rightClickEventHandler_getWFLagChosenPositions( (DataGrid)sender , rowNumber );
! return wFLagChosenPositions;
}
private void rightClickEventHandler(object sender, System.Windows.Forms.MouseEventArgs e)
{
! WFLagChosenPositions wFLagChosenPositions =
! this.rightClickEventHandler_getWFLagChosenPositions( sender , e );
! WFLagDebugGenome wFLagDebugGenome = new WFLagDebugGenome( wFLagChosenPositions ,
this.inSampleDays , this.benchmark );
wFLagDebugGenome.Show();
--- 142,171 ----
WFLagChosenPositionsDebugInfo wFLagChosenPositionsDebugInfo =
(WFLagChosenPositionsDebugInfo)(this.chosenPositionsDebugInfoList[ rowNumber ]);
! return wFLagChosenPositionsDebugInfo;
}
! private WFLagChosenPositionsDebugInfo
! rightClickEventHandler_getWFLagChosenPositionsDebugInfo(
object sender, System.Windows.Forms.MouseEventArgs e )
{
int rowNumber = rightClickEventHandler_getRowNumber(
sender , e );
! WFLagChosenPositionsDebugInfo wFLagChosenPositionsDebugInfo =
! this.rightClickEventHandler_getWFLagChosenPositionsDebugInfo(
! (DataGrid)sender , rowNumber );
! return wFLagChosenPositionsDebugInfo;
}
private void rightClickEventHandler(object sender, System.Windows.Forms.MouseEventArgs e)
{
! // wFLagWeightedPositions wFLagChosenPositions =
! // this.rightClickEventHandler_getWFLagChosenPositions( sender , e );
! WFLagChosenPositionsDebugInfo wFLagChosenPositionsDebugInfo =
! rightClickEventHandler_getWFLagChosenPositionsDebugInfo(
! sender , e );
! WFLagWeightedPositions wFLagWeightedPositions =
! wFLagChosenPositionsDebugInfo.GetChosenPositions();
! WFLagDebugGenome wFLagDebugGenome = new WFLagDebugGenome(
! wFLagWeightedPositions ,
! wFLagChosenPositionsDebugInfo.LastOptimization ,
this.inSampleDays , this.benchmark );
wFLagDebugGenome.Show();
|