46 for (WorkspaceVector::iterator it =
_workspace.begin();
70 int numVertices = e->
vertices().size();
71 int maxDimensionForEdge = -1;
73 for (
const auto& vv : e->
vertices()) {
76 assert(v &&
"Edge has no vertex assigned");
78 max(v->
dimension() * errorDimension, maxDimensionForEdge);
90 for (OptimizableGraph::EdgeSet::const_iterator it = graph.
edges().begin();
91 it != graph.
edges().end(); ++it) {
const VertexContainer & vertices() const
const EdgeSet & edges() const
void updateSize(const HyperGraph::Edge *e, bool reset)
WorkspaceVector _workspace
the memory pre-allocated for computing the Jacobians
int dimension() const
returns the dimensions of the error function
A general case Vertex for optimization.
int dimension() const
dimension of the estimated state belonging to this node