Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

mimo-lsd-decoder.h

Go to the documentation of this file.
00001 /*-*-c++-*-*****************************************************************
00002                           mimo-lsd-decoder.h  -  description
00003                              -------------------
00004     begin                : Feb 2004
00005     copyright            : (C) 2004 by Xin Qi
00006     email                : 
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00028 #ifndef MIMO_LSD_DECODER_H
00029 #define MIMO_LSD_DECODER_H
00030 
00031 // Mimolib includes
00032 #include <mimo-decoder.h>
00033 
00034 namespace mimo
00035 {
00036 
00040 class LsdDecoder : public mimo::Decoder
00041 {
00042    private:
00043       double noise;
00044 
00045    public:
00046       LsdDecoder(int deviceID, simth::DeviceSystemIntf* system, 
00047          const simth::PropertyList& pl);
00048       
00049       virtual ~ LsdDecoder();
00050 
00051       virtual int getDataLength(int codedLength) const;
00052       virtual int getCodeLength(int rawLength) const;
00053 
00054       virtual void Decode(const CVectorSeq& input_vectors,
00055               const MatrixFreqSignal& channel_estimation, 
00056               simth::ModSeq& output_symbols,
00057               simth::LlrSeq* output_softout);
00058 
00062       void setSNR(double snr);
00063 };
00064 
00065 
00066 
00067 } // namespace
00068 
00069 #endif // MIMO_LSD_DECODER_H
00070 
00071 
00072 

Generated on Fri Jul 23 16:27:47 2004 for mimolib by doxygen 1.3.2