|
| SparseOptimizerIncremental () |
|
| ~SparseOptimizerIncremental () |
|
int | optimize (int iterations, bool online=false) |
|
virtual bool | updateInitialization (HyperGraph::VertexSet &vset, HyperGraph::EdgeSet &eset) |
|
virtual bool | initSolver (int dimension, int batchEveryN) |
|
| SparseOptimizerOnline (bool pcg=false) |
|
virtual | ~SparseOptimizerOnline () |
|
int | optimize (int iterations, bool online=false) |
|
void | update (double *update) |
|
virtual void | gnuplotVisualization () |
|
| SparseOptimizer () |
|
virtual | ~SparseOptimizer () |
|
virtual bool | initializeOptimization (HyperGraph::EdgeSet &eset) |
|
virtual bool | initializeOptimization (HyperGraph::VertexSet &vset, int level=0) |
|
virtual bool | initializeOptimization (int level=0) |
|
virtual void | computeInitialGuess () |
|
virtual void | computeInitialGuess (EstimatePropagatorCost &propagator) |
|
virtual void | setToOrigin () |
|
bool | computeMarginals (SparseBlockMatrix< MatrixXD > &spinv, const std::vector< std::pair< int, int > > &blockIndices) |
|
bool | computeMarginals (SparseBlockMatrix< MatrixXD > &spinv, const Vertex *vertex) |
|
bool | computeMarginals (SparseBlockMatrix< MatrixXD > &spinv, const VertexContainer &vertices) |
|
virtual Vertex * | findGauge () |
| finds a gauge in the graph to remove the undefined dof. More...
|
|
bool | gaugeFreedom () |
|
double | activeChi2 () const |
|
double | activeRobustChi2 () const |
|
bool | verbose () const |
| verbose information during optimization More...
|
|
void | setVerbose (bool verbose) |
|
void | setForceStopFlag (bool *flag) |
|
bool * | forceStopFlag () const |
|
bool | terminate () |
| if external stop flag is given, return its state. False otherwise More...
|
|
const VertexContainer & | indexMapping () const |
| the index mapping of the vertices More...
|
|
const VertexContainer & | activeVertices () const |
| the vertices active in the current optimization More...
|
|
const EdgeContainer & | activeEdges () const |
| the edges active in the current optimization More...
|
|
virtual bool | removeVertex (HyperGraph::Vertex *v, bool detach=false) |
|
VertexContainer::const_iterator | findActiveVertex (const OptimizableGraph::Vertex *v) const |
|
EdgeContainer::const_iterator | findActiveEdge (const OptimizableGraph::Edge *e) const |
|
const OptimizationAlgorithm * | algorithm () const |
| the solver used by the optimizer More...
|
|
OptimizationAlgorithm * | solver () |
|
void | setAlgorithm (OptimizationAlgorithm *algorithm) |
|
void | push (SparseOptimizer::VertexContainer &vlist) |
| push the estimate of a subset of the variables onto a stack More...
|
|
void | push (HyperGraph::VertexSet &vlist) |
| push the estimate of a subset of the variables onto a stack More...
|
|
void | push () |
| push all the active vertices onto a stack More...
|
|
void | pop (SparseOptimizer::VertexContainer &vlist) |
| pop (restore) the estimate a subset of the variables from the stack More...
|
|
void | pop (HyperGraph::VertexSet &vlist) |
| pop (restore) the estimate a subset of the variables from the stack More...
|
|
void | pop () |
| pop (restore) the estimate of the active vertices from the stack More...
|
|
void | discardTop (SparseOptimizer::VertexContainer &vlist) |
| ignore the latest stored element on the stack, remove it from the stack but do not restore the estimate More...
|
|
void | discardTop () |
| same as above, but for the active vertices More...
|
|
virtual void | clear () |
|
void | computeActiveErrors () |
|
const BatchStatisticsContainer & | batchStatistics () const |
|
BatchStatisticsContainer & | batchStatistics () |
|
void | setComputeBatchStatistics (bool computeBatchStatistics) |
|
bool | computeBatchStatistics () const |
|
bool | addComputeErrorAction (HyperGraphAction *action) |
| add an action to be executed before the error vectors are computed More...
|
|
bool | removeComputeErrorAction (HyperGraphAction *action) |
| remove an action that should no longer be execured before computing the error vectors More...
|
|
Vertex * | vertex (int id) |
| returns the vertex number id appropriately casted More...
|
|
const Vertex * | vertex (int id) const |
| returns the vertex number id appropriately casted More...
|
|
| OptimizableGraph () |
| empty constructor More...
|
|
virtual | ~OptimizableGraph () |
|
void | addGraph (OptimizableGraph *g) |
| adds all edges and vertices of the graph g to this graph. More...
|
|
virtual bool | addVertex (HyperGraph::Vertex *v, Data *userData) |
|
virtual bool | addVertex (HyperGraph::Vertex *v) |
|
virtual bool | addEdge (HyperGraph::Edge *e) |
|
virtual bool | setEdgeVertex (HyperGraph::Edge *e, int pos, HyperGraph::Vertex *v) |
|
double | chi2 () const |
| returns the chi2 of the current configuration More...
|
|
int | maxDimension () const |
| return the maximum dimension of all vertices in the graph More...
|
|
std::set< int > | dimensions () const |
|
virtual void | preIteration (int) |
| called at the beginning of an iteration (argument is the number of the iteration) More...
|
|
virtual void | postIteration (int) |
| called at the end of an iteration (argument is the number of the iteration) More...
|
|
bool | addPreIterationAction (HyperGraphAction *action) |
| add an action to be executed before each iteration More...
|
|
bool | addPostIterationAction (HyperGraphAction *action) |
| add an action to be executed after each iteration More...
|
|
bool | removePreIterationAction (HyperGraphAction *action) |
| remove an action that should no longer be execured before each iteration More...
|
|
bool | removePostIterationAction (HyperGraphAction *action) |
| remove an action that should no longer be execured after each iteration More...
|
|
virtual bool | load (std::istream &is, bool createEdges=true) |
| load the graph from a stream. Uses the Factory singleton for creating the vertices and edges. More...
|
|
bool | load (const char *filename, bool createEdges=true) |
|
virtual bool | save (std::ostream &os, int level=0) const |
| save the graph to a stream. Again uses the Factory system. More...
|
|
bool | save (const char *filename, int level=0) const |
| function provided for convenience, see save() above More...
|
|
bool | saveSubset (std::ostream &os, HyperGraph::VertexSet &vset, int level=0) |
| save a subgraph to a stream. Again uses the Factory system. More...
|
|
bool | saveSubset (std::ostream &os, HyperGraph::EdgeSet &eset) |
| save a subgraph to a stream. Again uses the Factory system. More...
|
|
virtual void | discardTop (HyperGraph::VertexSet &vset) |
| ignore the latest stored element on the stack, remove it from the stack but do not restore the estimate More...
|
|
virtual void | setFixed (HyperGraph::VertexSet &vset, bool fixed) |
| fixes/releases a set of vertices More...
|
|
void | setRenamedTypesFromString (const std::string &types) |
|
bool | isSolverSuitable (const OptimizationAlgorithmProperty &solverProperty, const std::set< int > &vertDims=std::set< int >()) const |
|
virtual void | clearParameters () |
|
bool | addParameter (Parameter *p) |
|
Parameter * | parameter (int id) |
|
bool | verifyInformationMatrices (bool verbose=false) const |
|
bool | saveVertex (std::ostream &os, Vertex *v) const |
|
bool | saveParameter (std::ostream &os, Parameter *v) const |
|
bool | saveEdge (std::ostream &os, Edge *e) const |
|
bool | saveUserData (std::ostream &os, HyperGraph::Data *v) const |
|
JacobianWorkspace & | jacobianWorkspace () |
| the workspace for storing the Jacobians of the graph More...
|
|
const JacobianWorkspace & | jacobianWorkspace () const |
|
ParameterContainer & | parameters () |
|
const ParameterContainer & | parameters () const |
|
| HyperGraph () |
| constructs an empty hyper graph More...
|
|
virtual | ~HyperGraph () |
| destroys the hyper-graph and all the vertices of the graph More...
|
|
Vertex * | vertex (int id) |
| returns a vertex id in the hyper-graph, or 0 if the vertex id is not present More...
|
|
const Vertex * | vertex (int id) const |
| returns a vertex id in the hyper-graph, or 0 if the vertex id is not present More...
|
|
virtual bool | removeEdge (Edge *e) |
| removes a vertex from the graph. Returns true on success (edge was present) More...
|
|
const VertexIDMap & | vertices () const |
|
VertexIDMap & | vertices () |
|
const EdgeSet & | edges () const |
|
EdgeSet & | edges () |
|
virtual bool | mergeVertices (Vertex *vBig, Vertex *vSmall, bool erase) |
|
virtual bool | detachVertex (Vertex *v) |
|
virtual bool | changeId (Vertex *v, int newId) |
|