[Quantproject-developers] QuantProject/b4_Business/a2_Strategies/Optimizing/Decoding IDecoderForTe
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2008-02-06 23:09:05
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/Optimizing/Decoding In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28693/a2_Strategies/Optimizing/Decoding Added Files: IDecoderForTestingPositions.cs Log Message: Added IDecoderForTestingPositions. Objects belonging to this type are used for decoding genomes (during genetic or brute force optimization) to TestingPositions --- NEW FILE: IDecoderForTestingPositions.cs --- /* QuantProject - Quantitative Finance Library IDecoderForTestingPositions.cs Copyright (C) 2008 Marco Milletti This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ using System; using QuantProject.Business.Strategies.Eligibles; using QuantProject.Business.Strategies.OutOfSample; using QuantProject.Business.Strategies.ReturnsManagement; namespace QuantProject.Business.Strategies.Optimizing.Decoding { /// <summary> /// Interface to be implemented by decoders for optimizers (both for /// genetic and for brute force optimizers) that will return a /// StrategyPositionsForTesting /// </summary> public interface IDecoderForTestingPositions { /// <summary> /// Decodes to a TestingPositions, an /// object that is a candidate for an out of sample /// testing /// </summary> TestingPositions Decode( int[] encoded , EligibleTickers eligibleTickers , ReturnsManager returnsManager ); } } |