qpOASES 3.2.1
An Implementation of the Online Active Set Strategy
Constraints.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/*
45 * g e t N C
46 */
48{
49 return n;
50}
51
52
53/*
54 * g e t N E C
55 */
57{
59}
60
61
62/*
63 * g e t N I C
64 */
66{
68}
69
70
71/*
72 * g e t N U C
73 */
75{
77}
78
79
80/*
81 * g e t N A C
82 */
84{
85 return active.getLength( );
86}
87
88
89/*
90 * g e t N I A C
91 */
93{
94 return inactive.getLength( );
95}
96
97
98
99/*
100 * g e t A c t i v e
101 */
103{
104 return &active;
105}
106
107
108/*
109 * g e t I n a c t i v e
110 */
112{
113 return &inactive;
114}
115
116
118
119
120/*
121 * end of file
122 */
@ 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 getNUC() const
Definition Constraints.ipp:74
Indexlist active
Definition Constraints.hpp:233
Indexlist * getInactive()
Definition Constraints.ipp:111
int_t getNC() const
Definition Constraints.ipp:47
Indexlist inactive
Definition Constraints.hpp:234
int_t getNIAC() const
Definition Constraints.ipp:92
int_t getNAC() const
Definition Constraints.ipp:83
int_t getNIC() const
Definition Constraints.ipp:65
Indexlist * getActive()
Definition Constraints.ipp:102
int_t getNEC() const
Definition Constraints.ipp:56
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