Omu_VariableVec Class Reference

#include <Omu_Variables.h>

Inheritance diagram for Omu_VariableVec:

Inheritance graph
base refererrect $classOmu__OptVarVec.html 7,231 129,258rect $classOmu__VarVec.html 153,231 255,258rect $classOmu__Vec.html 96,82 176,108rect $classMesch_1_1VECP.html 84,7 188,34rect $classOmu__SVarVec.html 149,306 259,332
[legend]
Collaboration diagram for Omu_VariableVec:

Collaboration graph
base refererrect $classOmu__Vec.html 95,95 175,121rect $classMesch_1_1VECP.html 19,7 123,33
[legend]

List of all members.


Detailed Description

Vector of optimization variables, including min, max and initial attributes.


Public Member Functions

 Omu_VariableVec ()
 allocate empty vectors
virtual ~Omu_VariableVec ()
 destroy vectors
virtual void alloc (int n, int n_expand=-1)
 Allocate vectors of size n_expand for min, max, initial, and this (default n_expand = n).
int n () const
 Number of variables treated by the optimizer, n <= n_expand = dim.

Public Attributes

VECP min
 minimal permitted values (default: -Inf)
VECP max
 maximal permitted values (default: +Inf)
VECP initial
 initial values (default: 0.0)


Member Function Documentation

virtual void Omu_VariableVec::alloc ( int  n,
int  n_expand = -1 
) [virtual]

Allocate vectors of size n_expand for min, max, initial, and this (default n_expand = n).

A derived classes may overload alloc() to restrict the capability of allocations for specific vectors.

Reimplemented in Omu_VarVec, and Omu_SVarVec.

int Omu_VariableVec::n (  )  const [inline]

Number of variables treated by the optimizer, n <= n_expand = dim.


The documentation for this class was generated from the following file:

HQP is hosted at SourceForge. Documentation generated on Sat Nov 8 14:21:34 2008 using doxygen.