Ipopt  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
Ipopt::PointPerturber Class Reference

This class is a simple object for generating randomly perturbed points that are withing the NLP bounds. More...

#include <IpEquilibrationScaling.hpp>

+ Inheritance diagram for Ipopt::PointPerturber:

List of all members.

Public Member Functions

SmartPtr< VectorMakeNewPerturbedPoint () const
 Return a new perturbed point.
Constructors/Destructors
 PointPerturber (const Vector &reference_point, Number random_pert_radius, const Matrix &Px_L, const Vector &x_L, const Matrix &Px_U, const Vector &x_U)
virtual ~PointPerturber ()
 Default destructor.

Private Member Functions

Default Compiler Generated Methods

(Hidden to avoid implicit creation/calling).

These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called.

 PointPerturber (const PointPerturber &)
 Copy Constructor.
void operator= (const PointPerturber &)
 Overloaded Equals Operator.

Private Attributes

SmartPtr< Vectorref_point_
 pointer to the midpoint of the perturbation
SmartPtr< Vectorpert_dir_
 pointer to the perturbation vector

Detailed Description

This class is a simple object for generating randomly perturbed points that are withing the NLP bounds.

The ramdon_perturb_radius gives the upper bound of the perturbation.

Definition at line 92 of file IpEquilibrationScaling.hpp.


Constructor & Destructor Documentation

Ipopt::PointPerturber::PointPerturber ( const Vector reference_point,
Number  random_pert_radius,
const Matrix Px_L,
const Vector x_L,
const Matrix Px_U,
const Vector x_U 
)
virtual Ipopt::PointPerturber::~PointPerturber ( ) [inline, virtual]

Default destructor.

Definition at line 103 of file IpEquilibrationScaling.hpp.

Copy Constructor.


Member Function Documentation

Return a new perturbed point.

void Ipopt::PointPerturber::operator= ( const PointPerturber ) [private]

Overloaded Equals Operator.


Member Data Documentation

pointer to the midpoint of the perturbation

Definition at line 129 of file IpEquilibrationScaling.hpp.

pointer to the perturbation vector

Definition at line 132 of file IpEquilibrationScaling.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines