roboptim::detail::BlockProvider Struct Reference

Gives access to a std::vector of std::pair<size_t, size_t> representing blocks of input Those blocks are needed even if the function is not differentiable, making it easier for us to define it in a exterior class to then use it transparently. More...

#include <roboptim/core/detail/structured-input.hh>

Inheritance diagram for roboptim::detail::BlockProvider:
Collaboration diagram for roboptim::detail::BlockProvider:

Public Attributes

std::vector< std::pair< size_t, size_t > > blocks
 stores the blocks defined by the function as a pair of integers. More...
 

Detailed Description

Gives access to a std::vector of std::pair<size_t, size_t> representing blocks of input Those blocks are needed even if the function is not differentiable, making it easier for us to define it in a exterior class to then use it transparently.

Member Data Documentation

◆ blocks

std::vector<std::pair<size_t, size_t> > roboptim::detail::BlockProvider::blocks