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 
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