#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 |
| const std::vector< VertexInterface::Ptr > & | getVertices () |
| void | getVertices (std::vector< VertexInterface * > &vertices) override |
| 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 115 of file vertex_set.h.
| using corbo::VertexSet::Ptr = std::shared_ptr<VertexSet> |
Definition at line 118 of file vertex_set.h.
|
default |
| corbo::VertexSet::VertexSet | ( | std::initializer_list< VertexInterface::Ptr > | vertices | ) |
Definition at line 502 of file vertex_set.cpp.
|
inline |
Definition at line 133 of file vertex_set.h.
|
inline |
Definition at line 139 of file vertex_set.h.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 515 of file vertex_set.cpp.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 504 of file vertex_set.cpp.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 490 of file vertex_set.cpp.
|
inline |
Definition at line 145 of file vertex_set.h.
|
overridevirtual |
Implements corbo::VertexSetInterface.
Definition at line 496 of file vertex_set.cpp.
|
inline |
Definition at line 146 of file vertex_set.h.
|
private |
Definition at line 154 of file vertex_set.h.
|
private |
Definition at line 153 of file vertex_set.h.