|
State< Scalar_x, Scalar_fx > & | operator[] (int i) |
|
const State< Scalar_x, Scalar_fx > & | operator[] (int i) const |
|
| SharedStates (int m, int n, const Scalar_x *x0, Scalar_fx fx0) |
|
|
const int | m |
|
const int | n |
|
std::vector< State< Scalar_x, Scalar_fx > > | states |
|
◆ SharedStates()
template<typename Scalar_x, typename Scalar_fx>
Construct shared states from an initial solution.
- Parameters
-
m | The number of threads/shared states. |
n | The dimension of x0 . |
x0 | The initial solution guess. Each thread will start from the same initial solution. |
fx0 | The value of the cost function associated with x0 . |
template<typename Scalar_x, typename Scalar_fx>
The number of shared states.
template<typename Scalar_x, typename Scalar_fx>
The dimension of the shared states.
◆ states
template<typename Scalar_x, typename Scalar_fx>
The documentation for this class was generated from the following file: