Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SensMeasurement.hpp
Go to the documentation of this file.
1 // Copyright 2009, 2011 Hans Pirnay
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Date : 2009-05-16
6
7
8 #ifndef __AS_MEASUREMENT_HPP__
9 #define __AS_MEASUREMENT_HPP__
10
11 #include "IpReferenced.hpp"
12 #include "IpDenseVector.hpp"
13 #include "IpIteratesVector.hpp"
14
15
16 namespace Ipopt
17 {
18
19 class Measurement : public ReferencedObject
20 {
23 public:
24
25 Measurement()
26 {
27 }
28
29 virtual ~Measurement()
30 {
31 }
32
36 virtual std::vector<Index> GetInitialEqConstraints() =0;
37
39 virtual SmartPtr<DenseVector> GetMeasurement(Index measurement_number) =0;
40
42 virtual void SetSolution(Index measurement_number, SmartPtr<IteratesVector> sol) =0;
43 };
44 }
45
46 #endif
Ipopt::Measurement::Measurement
Measurement()
This class provides an abstraction for the measurements of the states coming in and the solutions of ...
Definition: SensMeasurement.hpp:25
IpIteratesVector.hpp
Ipopt::Measurement::SetSolution
virtual void SetSolution(Index measurement_number, SmartPtr< IteratesVector > sol)=0
This function does whatever the measurement machine does with the solution of the SensAlgorithm...
Ipopt::Measurement::~Measurement
virtual ~Measurement()
Definition: SensMeasurement.hpp:29
Ipopt::SmartPtr
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:172
Ipopt::ReferencedObject
ReferencedObject class.
Definition: IpReferenced.hpp:174
Ipopt::Measurement::GetInitialEqConstraints
virtual std::vector< Index > GetInitialEqConstraints()=0
This function returns a std::vector holding the indices in IteratesVector of the equations that are t...
Ipopt::Measurement
Definition: SensMeasurement.hpp:19
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19
IpDenseVector.hpp
IpReferenced.hpp
Ipopt::Measurement::GetMeasurement
virtual SmartPtr< DenseVector > GetMeasurement(Index measurement_number)=0
This function returns delta_u.