Flipper.h
Go to the documentation of this file.
1 /*
2  * This file is part of qpOASES.
3  *
4  * qpOASES -- An Implementation of the Online Active Set Strategy.
5  * Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka,
6  * Christian Kirches et al. All rights reserved.
7  *
8  * qpOASES is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * qpOASES is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with qpOASES; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  */
23 
24 
36 #ifndef QPOASES_FLIPPER_H
37 #define QPOASES_FLIPPER_H
38 
39 
40 #include <qpOASES_e/Bounds.h>
41 #include <qpOASES_e/Constraints.h>
42 
43 
45 
46 
57 typedef struct
58 {
59  unsigned int nV;
60  unsigned int nC;
62  Bounds bounds;
63  Constraints constraints;
68 } Flipper;
69 
70 
72 void FlipperCON( Flipper* _THIS,
73  unsigned int _nV,
74  unsigned int _nC
75  );
76 
78 void FlipperCPY( Flipper* FROM,
79  Flipper* TO
80  );
81 
86  unsigned int _nV,
87  unsigned int _nC
88  );
89 
90 
94  Bounds* const _bounds,
95  real_t* const R,
96  Constraints* const _constraints,
97  real_t* const _Q,
98  real_t* const _T
99  );
100 
104  const Bounds* const _bounds,
105  const real_t* const _R,
106  const Constraints* const _constraints,
107  const real_t* const _Q,
108  const real_t* const _T
109  );
110 
113 unsigned int Flipper_getDimT( Flipper* _THIS );
114 
115 
117 
118 
119 #endif /* QPOASES_FLIPPER_H */
120 
121 
122 /*
123  * end of file
124  */
USING_NAMESPACE_ACADO typedef TaylorVariable< Interval > T
returnValue Flipper_init(Flipper *_THIS, unsigned int _nV, unsigned int _nC)
Definition: Flipper.c:73
Allows to pass back messages to the calling function.
void FlipperCPY(Flipper *FROM, Flipper *TO)
Definition: Flipper.c:62
unsigned int nC
Definition: Flipper.h:60
Auxiliary class for storing a copy of the current matrix factorisations.
returnValue Flipper_set(Flipper *_THIS, const Bounds *const _bounds, const real_t *const _R, const Constraints *const _constraints, const real_t *const _Q, const real_t *const _T)
Definition: Flipper.c:119
returnValue Flipper_get(Flipper *_THIS, Bounds *const _bounds, real_t *const R, Constraints *const _constraints, real_t *const _Q, real_t *const _T)
Definition: Flipper.c:89
unsigned int Flipper_getDimT(Flipper *_THIS)
Definition: Flipper.c:152
void FlipperCON(Flipper *_THIS, unsigned int _nV, unsigned int _nC)
Definition: Flipper.c:50
Manages working sets of bounds (= box constraints).
double real_t
Definition: AD_test.c:10
unsigned int nV
Definition: Flipper.h:59
#define R


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:34:34