Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
external_packages
qpOASES-3.0beta
include
qpOASES
qpOASES-3.0beta/include/qpOASES/ConstraintProduct.hpp
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-2011 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
39
#ifndef QPOASES_CONSTRAINT_PRODUCT_HPP
40
#define QPOASES_CONSTRAINT_PRODUCT_HPP
41
42
43
BEGIN_NAMESPACE_QPOASES
44
45
57
class
ConstraintProduct
58
{
59
public
:
61
ConstraintProduct
( ) {};
62
64
ConstraintProduct
(
const
ConstraintProduct
&toCopy
65
) {};
66
68
virtual
~ConstraintProduct
( ) {};
69
71
ConstraintProduct
&
operator=
(
const
ConstraintProduct
&toCopy
72
)
73
{
74
return
*
this
;
75
}
76
82
virtual
int
operator()
(
int
constrIndex,
83
const
real_t
*
const
x,
84
real_t
*
const
constrValue
85
)
const
= 0;
86
};
87
88
END_NAMESPACE_QPOASES
89
90
91
#endif
/* QPOASES_CONSTRAINT_PRODUCT_HPP */
ConstraintProduct
Interface for specifying user-defined evaluations of constraint products.
Definition:
qpOASES-3.0beta/include/qpOASES/ConstraintProduct.hpp:57
ConstraintProduct::~ConstraintProduct
virtual ~ConstraintProduct()
Definition:
qpOASES-3.0beta/include/qpOASES/ConstraintProduct.hpp:68
ConstraintProduct::operator()
virtual int operator()(int constrIndex, const real_t *const x, real_t *const constrValue) const =0
ConstraintProduct::operator=
ConstraintProduct & operator=(const ConstraintProduct &toCopy)
Definition:
qpOASES-3.0beta/include/qpOASES/ConstraintProduct.hpp:71
ConstraintProduct::ConstraintProduct
ConstraintProduct()
Definition:
qpOASES-3.0beta/include/qpOASES/ConstraintProduct.hpp:61
END_NAMESPACE_QPOASES
#define END_NAMESPACE_QPOASES
Definition:
external_packages/qpOASES-3.0beta/include/qpOASES/Types.hpp:120
BEGIN_NAMESPACE_QPOASES
#define BEGIN_NAMESPACE_QPOASES
Definition:
external_packages/qpOASES-3.0beta/include/qpOASES/Types.hpp:117
real_t
double real_t
Definition:
AD_test.c:10
ConstraintProduct::ConstraintProduct
ConstraintProduct(const ConstraintProduct &toCopy)
Definition:
qpOASES-3.0beta/include/qpOASES/ConstraintProduct.hpp:64
acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:34:31