Main Page
Namespaces
Classes
Files
File List
File Members
build
buildd
coinor-ipopt-3.10.2
Ipopt
contrib
sIPOPT
src
SensMetadataMeasurement.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-07-10
6
7
#ifndef __AS_METADATAMEASUREMENT_HPP__
8
#define __AS_METADATAMEASUREMENT_HPP__
9
10
#include "
SensMeasurement.hpp
"
11
#include "
SensSuffixHandler.hpp
"
12
#include "
IpAlgStrategy.hpp
"
13
14
15
namespace
Ipopt
16
{
17
18
class
MetadataMeasurement
:
public
Measurement
,
public
SuffixHandler
,
public
AlgorithmStrategyObject
19
{
20
public
:
21
MetadataMeasurement
();
22
23
virtual
~MetadataMeasurement
();
24
25
/* AlgorithmStrategyObject */
26
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
27
const
std::string& prefix);
28
29
/* measurement methods */
30
virtual
std::vector<Index>
GetInitialEqConstraints
();
31
32
virtual
SmartPtr<DenseVector>
GetMeasurement
(
Index
measurement_number);
33
34
virtual
void
SetSolution
(
Index
measurement_number,
SmartPtr<IteratesVector>
sol);
35
38
virtual
std::vector<Index>
GetIntegerSuffix
(std::string suffix_string);
39
40
private
:
41
43
Index
n_idx_
;
44
46
SmartPtr<const DenseVectorSpace>
x_owner_space_
;
48
SmartPtr<const DenseVectorSpace>
s_owner_space_
;
50
SmartPtr<const DenseVectorSpace>
y_c_owner_space_
;
52
SmartPtr<const DenseVectorSpace>
y_d_owner_space_
;
54
SmartPtr<const DenseVectorSpace>
z_L_owner_space_
;
56
SmartPtr<const DenseVectorSpace>
z_U_owner_space_
;
57
58
};
59
60
}
61
62
#endif
Generated on Fri Jun 29 2012 06:35:12 by
1.8.1.1