Ipopt 3.11.9
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
16namespace Ipopt
17{
18
20 {
23 public:
24
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
Measurement()
This class provides an abstraction for the measurements of the states coming in and the solutions of ...
virtual SmartPtr< DenseVector > GetMeasurement(Index measurement_number)=0
This function returns delta_u.
virtual void SetSolution(Index measurement_number, SmartPtr< IteratesVector > sol)=0
This function does whatever the measurement machine does with the solution of the SensAlgorithm.
virtual std::vector< Index > GetInitialEqConstraints()=0
This function returns a std::vector holding the indices in IteratesVector of the equations that are t...
ReferencedObject class.
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:183
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19