qpOASES 3.2.1
An Implementation of the Online Active Set Strategy
Bounds.ipp
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-2017 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
37
38
39/*****************************************************************************
40 * P U B L I C *
41 *****************************************************************************/
42
43/*
44 * g e t N V
45 */
46inline int_t Bounds::getNV( ) const
47{
48 return n;
49}
50
51
52/*
53 * g e t N F V
54 */
55inline int_t Bounds::getNFV( ) const
56{
58}
59
60
61/*
62 * g e t N B V
63 */
64inline int_t Bounds::getNBV( ) const
65{
67}
68
69
70/*
71 * g e t N U V
72 */
73inline int_t Bounds::getNUV( ) const
74{
76}
77
78
79/*
80 * g e t N F R
81 */
82inline int_t Bounds::getNFR( ) const
83{
84 return freee.getLength( );
85}
86
87
88/*
89 * g e t N F X
90 */
91inline int_t Bounds::getNFX( ) const
92{
93 return fixed.getLength( );
94}
95
96
97/*
98 * g e t F r e e
99 */
101{
102 return &freee;
103}
104
105
106/*
107 * g e t F i x e d
108 */
110{
111 return &fixed;
112}
113
114
116
117
118/*
119 * end of file
120 */
@ ST_EQUALITY
Definition Types.hpp:265
@ ST_UNBOUNDED
Definition Types.hpp:263
@ ST_BOUNDED
Definition Types.hpp:264
int int_t
Definition Types.hpp:180
#define END_NAMESPACE_QPOASES
Definition Types.hpp:110
#define BEGIN_NAMESPACE_QPOASES
Definition Types.hpp:107
int_t getNFV() const
Definition Bounds.ipp:55
int_t getNUV() const
Definition Bounds.ipp:73
Indexlist freee
Definition Bounds.hpp:242
int_t getNV() const
Definition Bounds.ipp:46
Indexlist * getFixed()
Definition Bounds.ipp:109
Indexlist fixed
Definition Bounds.hpp:243
int_t getNBV() const
Definition Bounds.ipp:64
Indexlist * getFree()
Definition Bounds.ipp:100
int_t getNFR() const
Definition Bounds.ipp:82
int_t getNFX() const
Definition Bounds.ipp:91
Stores and manages index lists.
Definition Indexlist.hpp:56
int_t getLength() const
Definition Indexlist.ipp:60
int_t n
Definition SubjectTo.hpp:210
int_t getNumberOfType(SubjectToType _type) const
Definition SubjectTo.ipp:47