#include <vertex_set.h>

Public Types | |
| using | Ptr = std::shared_ptr< VertexSet > |
Public Types inherited from corbo::VertexSetInterface | |
| using | Ptr = std::shared_ptr< VertexSetInterface > |
Public Member Functions | |
| void | addVertex (VertexInterface::Ptr vertex) |
| void | addVertices (std::initializer_list< VertexInterface::Ptr > vertices) |
| void | clear () override |
| void | computeActiveVertices () override |
| std::vector< VertexInterface * > & | getActiveVertices () override |
| void | getVertices (std::vector< VertexInterface *> &vertices) override |
| const std::vector< VertexInterface::Ptr > & | getVertices () |
| std::vector< VertexInterface::Ptr > & | getVerticesRef () |
| VertexSet ()=default | |
| VertexSet (std::initializer_list< VertexInterface::Ptr > vertices) | |
Public Member Functions inherited from corbo::VertexSetInterface | |
| void | applyIncrementNonFixed (const Eigen::Ref< const Eigen::VectorXd > &increment) |
| Active vertices related methods. More... | |
| void | applyIncrementNonFixed (int idx, double increment) |
| void | backupParametersActiveVertices () |
| void | clearConnectedEdges () |
| void | computeVertexIndices () |
| Precompute vertex indices in the hyper-graph (e.g. for the Jacobian or Hessian structure) More... | |
| void | discardBackupParametersActiveVertices (bool all=false) |
| void | getBounds (Eigen::Ref< Eigen::VectorXd > lb, Eigen::Ref< Eigen::VectorXd > ub) |
| double | getLowerBound (int idx) |
| int | getParameterDimension () |
| double | getParameterValue (int idx) |
| void | getParameterVector (Eigen::Ref< Eigen::VectorXd > x) |
| double | getUpperBound (int idx) |
| bool | isModified () const |
| void | restoreBackupParametersActiveVertices (bool keep_backup) |
| void | setBounds (const Eigen::Ref< const Eigen::VectorXd > &lb, const Eigen::Ref< const Eigen::VectorXd > &ub) |
| void | setLowerBound (int idx, double lb) |
| void | setModified (bool modified) |
| void | setParameterValue (int idx, double x) |
| void | setParameterVector (const Eigen::Ref< const Eigen::VectorXd > &x) |
| void | setUpperBound (int idx, double ub) |
| VertexSetInterface () | |
| virtual | ~VertexSetInterface () |
| Virtual destructor. More... | |
Private Attributes | |
| std::vector< VertexInterface * > | _active_vertices |
| std::vector< VertexInterface::Ptr > | _vertices |
Additional Inherited Members | |
Protected Member Functions inherited from corbo::VertexSetInterface | |
| void | setVertexIdx (VertexInterface &vertex, int idx) |
Protected Attributes inherited from corbo::VertexSetInterface | |
| bool | _modified = true |
Definition at line 93 of file vertex_set.h.
| using corbo::VertexSet::Ptr = std::shared_ptr<VertexSet> |
Definition at line 96 of file vertex_set.h.
|
default |
| corbo::VertexSet::VertexSet | ( | std::initializer_list< VertexInterface::Ptr > | vertices | ) |
Definition at line 480 of file vertex_set.cpp.
|
inline |
Definition at line 111 of file vertex_set.h.
|
inline |
Definition at line 117 of file vertex_set.h.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 493 of file vertex_set.cpp.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 482 of file vertex_set.cpp.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 468 of file vertex_set.cpp.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 474 of file vertex_set.cpp.
|
inline |
Definition at line 123 of file vertex_set.h.
|
inline |
Definition at line 124 of file vertex_set.h.
|
private |
Definition at line 132 of file vertex_set.h.
|
private |
Definition at line 131 of file vertex_set.h.