OP  0.1
OP is a optimization solver plugin package
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
op::Vector< VectorType > Class Template Reference

Abstracted Optimization Vector container. More...

#include <op.hpp>

Collaboration diagram for op::Vector< VectorType >:
Collaboration graph
[legend]

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_
 

Detailed Description

template<class VectorType>
class op::Vector< VectorType >

Abstracted Optimization Vector container.

The intention is for the container to act as a general abstraction for optimization variables

Definition at line 80 of file op.hpp.


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