OP
0.1
OP is a optimization solver plugin package
|
Abstracted Optimization Vector container. More...
#include <op.hpp>
Public Types | |
using | ScatterFn = std::function< VectorType()> |
using | GatherFn = std::function< VectorType()> |
using | BoundsFn = std::function< VectorType()> |
Public Member Functions | |
Vector (VectorType &data, BoundsFn lowerBounds, BoundsFn upperBounds) | |
VectorType & | data () |
Get the underlying data. | |
VectorType | lowerBounds () |
Get the lower bounds for each local optimization variable. | |
VectorType | upperBounds () |
Get the upper bounds for each local optimization variable. | |
Public Attributes | |
GatherFn | gather |
Gather data function. | |
ScatterFn | scatter |
Scatter data function. | |
Protected Attributes | |
BoundsFn | lowerBounds_ |
BoundsFn | upperBounds_ |
VectorType & | data_ |
Abstracted Optimization Vector container.
The intention is for the container to act as a general abstraction for optimization variables