Ipopt::MetadataMeasurement Class Reference

#include <AsMetadataMeasurement.hpp>

Inheritance diagram for Ipopt::MetadataMeasurement:

Inheritance graph
[legend]
Collaboration diagram for Ipopt::MetadataMeasurement:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MetadataMeasurement ()
virtual ~MetadataMeasurement ()
virtual bool InitializeImpl (const OptionsList &options, const std::string &prefix)
 Implementation of the initialization method that has to be overloaded by for each derived class.
virtual std::vector< IndexGetInitialEqConstraints ()
 This function returns a std::vector holding the indices in IteratesVector of the equations that are to be "slacked" to free the initial values for the NMPC.
virtual std::vector< IndexGetNmpcState (Index i)
 This function returns a std::vector holding the indices of the variables indexed as nmpc_state_i.
virtual SmartPtr< DenseVectorGetMeasurement (Index measurement_number)
 This function returns delta_u.
virtual void SetSolution (Index measurement_number, SmartPtr< IteratesVector > sol)
 This function does whatever the measurement machine does with the solution of the AsNmpController.
virtual std::vector< IndexGetIntegerSuffix (std::string suffix_string)

Private Attributes

Index n_idx_
std::string select_step_
SmartPtr< const DenseVectorSpacex_owner_space_
SmartPtr< const DenseVectorSpacec_owner_space_

Detailed Description

Definition at line 18 of file AsMetadataMeasurement.hpp.


Constructor & Destructor Documentation

Ipopt::MetadataMeasurement::MetadataMeasurement (  ) 

virtual Ipopt::MetadataMeasurement::~MetadataMeasurement (  )  [virtual]


Member Function Documentation

virtual bool Ipopt::MetadataMeasurement::InitializeImpl ( const OptionsList options,
const std::string &  prefix 
) [virtual]

Implementation of the initialization method that has to be overloaded by for each derived class.

Implements Ipopt::AlgorithmStrategyObject.

virtual std::vector<Index> Ipopt::MetadataMeasurement::GetInitialEqConstraints (  )  [virtual]

This function returns a std::vector holding the indices in IteratesVector of the equations that are to be "slacked" to free the initial values for the NMPC.

This std::vector is used in the construction of the A-SchurData for the Schur Decomposition.

Implements Ipopt::Measurement.

virtual std::vector<Index> Ipopt::MetadataMeasurement::GetNmpcState ( Index  i  )  [virtual]

This function returns a std::vector holding the indices of the variables indexed as nmpc_state_i.

Implements Ipopt::Measurement.

virtual SmartPtr<DenseVector> Ipopt::MetadataMeasurement::GetMeasurement ( Index  measurement_number  )  [virtual]

This function returns delta_u.

It should use the values of IpData().trial()->x()

Implements Ipopt::Measurement.

virtual void Ipopt::MetadataMeasurement::SetSolution ( Index  measurement_number,
SmartPtr< IteratesVector sol 
) [virtual]

This function does whatever the measurement machine does with the solution of the AsNmpController.

Implements Ipopt::Measurement.

virtual std::vector<Index> Ipopt::MetadataMeasurement::GetIntegerSuffix ( std::string  suffix_string  )  [virtual]

Implements Ipopt::SuffixHandler.


Member Data Documentation

Index Ipopt::MetadataMeasurement::n_idx_ [private]

Definition at line 45 of file AsMetadataMeasurement.hpp.

std::string Ipopt::MetadataMeasurement::select_step_ [private]

Definition at line 47 of file AsMetadataMeasurement.hpp.

SmartPtr<const DenseVectorSpace> Ipopt::MetadataMeasurement::x_owner_space_ [private]

Definition at line 49 of file AsMetadataMeasurement.hpp.

SmartPtr<const DenseVectorSpace> Ipopt::MetadataMeasurement::c_owner_space_ [private]

Definition at line 51 of file AsMetadataMeasurement.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Jun 22 03:07:46 2010 by  doxygen 1.4.7