User Manual, Developers Guide and API Documentation

dlref.hpp

Go to the documentation of this file.
00001 /*******************************************************************************
00002  * This file is part of openWNS (open Wireless Network Simulator)
00003  * _____________________________________________________________________________
00004  *
00005  * Copyright (C) 2004-2007
00006  * Chair of Communication Networks (ComNets)
00007  * Kopernikusstr. 16, D-52074 Aachen, Germany
00008  * phone: ++49-241-80-27910,
00009  * fax: ++49-241-80-22242
00010  * email: info@openwns.org
00011  * www: http://www.openwns.org
00012  * _____________________________________________________________________________
00013  *
00014  * openWNS is free software; you can redistribute it and/or modify it under the
00015  * terms of the GNU Lesser General Public License version 2 as published by the
00016  * Free Software Foundation;
00017  *
00018  * openWNS is distributed in the hope that it will be useful, but WITHOUT ANY
00019  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
00020  * A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00021  * details.
00022  *
00023  * You should have received a copy of the GNU Lesser General Public License
00024  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00025  *
00026  ******************************************************************************/
00027 
00028 #ifndef WNS_EVALUATION_STATISTICS_DLREF_HPP
00029 #define WNS_EVALUATION_STATISTICS_DLREF_HPP
00030 
00031 #include <WNS/evaluation/statistics/dlre.hpp>
00032 
00033 namespace wns { namespace evaluation { namespace statistics {
00037             class DLREF : public DLRE
00038             {
00039             public:
00040 
00044                 DLREF(std::vector<double> xValues,
00045                       int level,
00046                       double error,
00047                       double preFirst,
00048                       std::string name,
00049                       std::string description,
00050                       bool forceRMinusAOk,
00051                       double fMin,
00052                       int maxNrv,
00053                       int skipInterval,
00054                       formatType format);
00055 
00059                 DLREF(double xMin,
00060                       double xMax,
00061                       double intSize,
00062                       double error,
00063                       double preFirst,
00064                       std::string name,
00065                       std::string description,
00066                       bool forceRMinusAOk,
00067                       double fMin,
00068                       int maxNrv,
00069                       int skipInterval,
00070                       formatType format);
00071 
00072                 DLREF(const wns::pyconfig::View& config);
00073 
00074                 ~DLREF();
00075 
00079                 virtual void
00080                 print(std::ostream& stream = std::cout) const;
00081 
00085                 void
00086                 put(double value);
00087 
00091                 virtual double
00092                 curFLev();
00093 
00097                 virtual double
00098                 f(double xt);
00099 
00103                 virtual void
00104                 getResultLine(const int index, ResultLine& line) const;
00105 
00109                 virtual void
00110                 changeError(double newError);
00111 
00112             private:
00113 
00114                 // runtime control
00115                 DLRE::Phase
00116                 rtc();
00117 
00118                 // minimum f level
00119                 double fMin_;
00120             };
00121         }
00122     }
00123 }
00124 
00125 #endif  // WNS_EVALUATION_STATISTICS_DLREF_HPP

Generated on Sun May 27 03:31:39 2012 for openWNS by  doxygen 1.5.5