Main Page
Namespaces
Classes
Files
File List
File Members
tmp
buildd
coinor-ipopt-3.10.2
Ipopt
contrib
sIPOPT
src
SensAlgorithm.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-06
6
7
#ifndef __SENSALGORITHM_HPP__
8
#define __SENSALGORITHM_HPP__
9
10
#include "
IpAlgStrategy.hpp
"
11
#include "
SensStepCalc.hpp
"
12
#include "
SensMeasurement.hpp
"
13
#include "
SensSchurDriver.hpp
"
14
#include "
SensUtils.hpp
"
15
16
namespace
Ipopt
17
{
18
19
class
SensAlgorithm
:
public
AlgorithmStrategyObject
20
{
24
public
:
25
26
SensAlgorithm
(std::vector<
SmartPtr<SchurDriver>
>& driver_vec,
27
SmartPtr<SensitivityStepCalculator>
sens_step_calc,
28
SmartPtr<Measurement>
measurement,
29
Index
n_sens_steps);
30
31
virtual
~SensAlgorithm
();
32
33
virtual
bool
InitializeImpl
(
const
OptionsList
& options,
34
const
std::string& prefix);
35
39
SensAlgorithmExitStatus
Run
();
40
41
private
:
42
43
std::vector< SmartPtr<SchurDriver> >
driver_vec_
;
44
SmartPtr<SensitivityStepCalculator>
sens_step_calc_
;
45
SmartPtr<Measurement>
measurement_
;
46
Index
n_sens_steps_
;
// I think it is useful to state this number explicitly in the constructor and here.
47
48
};
49
}
50
51
#endif
Generated on Tue Jun 26 2012 17:01:43 by
1.8.1.1