#include <Omu_Variables.h>


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) | |
| 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.
.