qpOASES  3.0.1
include/qpOASES/extras/SolutionAnalysis.hpp
Go to the documentation of this file.
00001 /*
00002  *  This file is part of qpOASES.
00003  *
00004  *  qpOASES -- An Implementation of the Online Active Set Strategy.
00005  *  Copyright (C) 2007-2014 by Hans Joachim Ferreau, Andreas Potschka,
00006  *  Christian Kirches et al. All rights reserved.
00007  *
00008  *  qpOASES is free software; you can redistribute it and/or
00009  *  modify it under the terms of the GNU Lesser General Public
00010  *  License as published by the Free Software Foundation; either
00011  *  version 2.1 of the License, or (at your option) any later version.
00012  *
00013  *  qpOASES is distributed in the hope that it will be useful,
00014  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  *  See the GNU Lesser General Public License for more details.
00017  *
00018  *  You should have received a copy of the GNU Lesser General Public
00019  *  License along with qpOASES; if not, write to the Free Software
00020  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021  *
00022  */
00023 
00024 
00036 #ifndef QPOASES_SOLUTIONANALYSIS_HPP
00037 #define QPOASES_SOLUTIONANALYSIS_HPP
00038 
00039 
00040 #include <qpOASES/SQProblem.hpp>
00041 
00042 
00043 BEGIN_NAMESPACE_QPOASES
00044 
00045 
00056 class SolutionAnalysis
00057 {
00058     /*
00059      *  PUBLIC MEMBER FUNCTIONS
00060      */
00061     public:
00063         SolutionAnalysis( );
00064 
00066         SolutionAnalysis(   const SolutionAnalysis& rhs     
00067                             );
00068 
00070         ~SolutionAnalysis( );
00071 
00073         SolutionAnalysis& operator=(    const SolutionAnalysis& rhs     
00074                                         );
00075 
00076 
00081         returnValue getMaxKKTviolation( QProblemB* qp,          
00082                                         real_t& maxKKTviolation 
00083                                         ) const;
00084 
00089         returnValue getMaxKKTviolation( QProblem* qp,           
00090                                         real_t& maxKKTviolation 
00091                                         ) const;
00092 
00097         returnValue getMaxKKTviolation( SQProblem* qp,          
00098                                         real_t& maxKKTviolation 
00099                                         ) const;
00100 
00101 
00108         returnValue getVarianceCovariance(  QProblemB* qp,          
00109                                             real_t* g_b_bA_VAR,     
00110                                             real_t* Primal_Dual_VAR 
00111                                             ) const;
00112 
00119         returnValue getVarianceCovariance(  QProblem* qp,           
00120                                             real_t* g_b_bA_VAR,     
00121                                             real_t* Primal_Dual_VAR 
00122                                             ) const;
00123 
00130         returnValue getVarianceCovariance(  SQProblem* qp,          
00131                                             real_t* g_b_bA_VAR,     
00132                                             real_t* Primal_Dual_VAR 
00133                                             ) const;
00134 
00138     /*
00139      *  PROTECTED MEMBER VARIABLES
00140      */
00141     protected:
00142 
00143 };
00144 
00145 
00146 END_NAMESPACE_QPOASES
00147 
00148 #include <qpOASES/extras/SolutionAnalysis.ipp>
00149 
00150 #endif  /* QPOASES_SOLUTIONANALYSIS_HPP */
00151 
00152 
00153 /*
00154  *  end of file
00155  */