Public Types | Public Member Functions | Protected Attributes | List of all members
corbo::EdgeCache Class Reference

#include <edge_cache.h>

Public Types

enum  Recent : int { Current = 0, Previous = 1 }
 

Public Member Functions

void clear ()
 
void clearJacobians ()
 
void clearValues ()
 
bool getCustomFlag () const
 
void popJacobians ()
 
void popValues ()
 
Eigen::MatrixXd & pushJacobian (int value_dim, int param_dim)
 
Eigen::VectorXd & pushValues (int value_dim)
 
Eigen::MatrixXd & recentJacobians (int reverse_idx)
 
Eigen::VectorXd & recentValues (int reverse_idx)
 
void reserveMemoryJacobians (int num_jacobians)
 
void reserveMemoryValues (int num_value_vectors)
 
void setCustomFlag (bool flag)
 
int sizeJacobians ()
 
int sizeValues ()
 
Eigen::MatrixXd & topJacobians ()
 
Eigen::VectorXd & topValues ()
 

Protected Attributes

bool _custom_flag = false
 
std::vector< Eigen::MatrixXd > _jacobians
 
std::vector< Eigen::VectorXd > _values
 

Detailed Description

Definition at line 40 of file edge_cache.h.

Member Enumeration Documentation

◆ Recent

Enumerator
Current 
Previous 

Definition at line 43 of file edge_cache.h.

Member Function Documentation

◆ clear()

void corbo::EdgeCache::clear ( )
inline

Definition at line 99 of file edge_cache.h.

◆ clearJacobians()

void corbo::EdgeCache::clearJacobians ( )
inline

Definition at line 97 of file edge_cache.h.

◆ clearValues()

void corbo::EdgeCache::clearValues ( )
inline

Definition at line 72 of file edge_cache.h.

◆ getCustomFlag()

bool corbo::EdgeCache::getCustomFlag ( ) const
inline

Definition at line 105 of file edge_cache.h.

◆ popJacobians()

void corbo::EdgeCache::popJacobians ( )
inline

Definition at line 85 of file edge_cache.h.

◆ popValues()

void corbo::EdgeCache::popValues ( )
inline

Definition at line 60 of file edge_cache.h.

◆ pushJacobian()

Eigen::MatrixXd& corbo::EdgeCache::pushJacobian ( int  value_dim,
int  param_dim 
)
inline

Definition at line 73 of file edge_cache.h.

◆ pushValues()

Eigen::VectorXd& corbo::EdgeCache::pushValues ( int  value_dim)
inline

Definition at line 48 of file edge_cache.h.

◆ recentJacobians()

Eigen::MatrixXd& corbo::EdgeCache::recentJacobians ( int  reverse_idx)
inline

Definition at line 91 of file edge_cache.h.

◆ recentValues()

Eigen::VectorXd& corbo::EdgeCache::recentValues ( int  reverse_idx)
inline

Definition at line 66 of file edge_cache.h.

◆ reserveMemoryJacobians()

void corbo::EdgeCache::reserveMemoryJacobians ( int  num_jacobians)
inline

Definition at line 46 of file edge_cache.h.

◆ reserveMemoryValues()

void corbo::EdgeCache::reserveMemoryValues ( int  num_value_vectors)
inline

Definition at line 45 of file edge_cache.h.

◆ setCustomFlag()

void corbo::EdgeCache::setCustomFlag ( bool  flag)
inline

Definition at line 106 of file edge_cache.h.

◆ sizeJacobians()

int corbo::EdgeCache::sizeJacobians ( )
inline

Definition at line 96 of file edge_cache.h.

◆ sizeValues()

int corbo::EdgeCache::sizeValues ( )
inline

Definition at line 71 of file edge_cache.h.

◆ topJacobians()

Eigen::MatrixXd& corbo::EdgeCache::topJacobians ( )
inline

Definition at line 86 of file edge_cache.h.

◆ topValues()

Eigen::VectorXd& corbo::EdgeCache::topValues ( )
inline

Definition at line 61 of file edge_cache.h.

Member Data Documentation

◆ _custom_flag

bool corbo::EdgeCache::_custom_flag = false
protected

Definition at line 112 of file edge_cache.h.

◆ _jacobians

std::vector<Eigen::MatrixXd> corbo::EdgeCache::_jacobians
protected

Definition at line 110 of file edge_cache.h.

◆ _values

std::vector<Eigen::VectorXd> corbo::EdgeCache::_values
protected

Definition at line 109 of file edge_cache.h.


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


control_box_rst
Author(s): Christoph Rösmann
autogenerated on Mon Feb 28 2022 22:08:02