Ipopt Documentation  
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 #ifndef __AS_MEASUREMENT_HPP__
8 #define __AS_MEASUREMENT_HPP__
9 
10 #include "IpReferenced.hpp"
11 #include "IpDenseVector.hpp"
12 #include "IpIteratesVector.hpp"
13 
14 namespace Ipopt
15 {
16 
18 {
24 public:
25 
27  { }
28 
29  virtual ~Measurement()
30  { }
31 
37  virtual std::vector<Index> GetInitialEqConstraints() = 0;
38 
43  virtual SmartPtr<DenseVector> GetMeasurement(
44  Index measurement_number
45  ) = 0;
46 
48  virtual void SetSolution(
49  Index measurement_number,
51  ) = 0;
52 };
53 
54 }
55 
56 #endif
Measurement()
This class provides an abstraction for the measurements of the states coming in and the solutions of ...
ipindex Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:20
This file contains a base class for all exceptions and a set of macros to help with exceptions...
Template class for Smart Pointers.
Definition: IpSmartPtr.hpp:164
Storing the reference count of all the smart pointers that currently reference it.
#define SIPOPTLIB_EXPORT
Definition: config.h:216