From 50e3f985484cb7818f9d0ccca9b4dff6d6be920c Mon Sep 17 00:00:00 2001 From: Joaquim Casals <jcasals@iri.upc.edu> Date: Mon, 29 Apr 2019 15:51:05 +0200 Subject: [PATCH] Removed solver_manager.h from ceres_wrapper/ --- include/base/ceres_wrapper/solver_manager.h | 64 --------------------- 1 file changed, 64 deletions(-) delete mode 100644 include/base/ceres_wrapper/solver_manager.h diff --git a/include/base/ceres_wrapper/solver_manager.h b/include/base/ceres_wrapper/solver_manager.h deleted file mode 100644 index 1bdf40a64..000000000 --- a/include/base/ceres_wrapper/solver_manager.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef SOLVER_MANAGER_H_ -#define SOLVER_MANAGER_H_ - -//wolf includes -#include "base/common/wolf.h" -#include "base/state_block/state_block.h" -#include "base/factor/factor_base.h" - -namespace wolf { - -/** \brief Enumeration of covariance blocks to be computed - * - * Enumeration of covariance blocks to be computed - * - */ -typedef enum -{ - ALL, ///< All blocks and all cross-covariances - ALL_MARGINALS, ///< All marginals - ROBOT_LANDMARKS ///< marginals of landmarks and current robot pose plus cross covariances of current robot and all landmarks -} CovarianceBlocksToBeComputed; - -WOLF_PTR_TYPEDEFS(SolverManager); - -/** \brief Solver manager for WOLF - * - */ - -class SolverManager -{ - protected: - ProblemPtr wolf_problem_; - - public: - SolverManager(ProblemPtr _wolf_problem); - - virtual ~SolverManager(); - - virtual std::string solve(const unsigned int& _report_level) = 0; - - virtual void computeCovariances(CovarianceBlocksToBeComputed _blocks = ROBOT_LANDMARKS) = 0; - - virtual void computeCovariances(const StateBlockPtrList& st_list) = 0; - - virtual void update(); - - virtual ProblemPtr getProblem(); - - private: - - virtual void addFactor(FactorBasePtr _fac_ptr) = 0; - - virtual void removeFactor(FactorBasePtr _fac_ptr) = 0; - - virtual void addStateBlock(StateBlockPtr _st_ptr) = 0; - - virtual void removeStateBlock(StateBlockPtr _st_ptr) = 0; - - virtual void updateStateBlockStatus(StateBlockPtr _st_ptr) = 0; -}; - -} // namespace wolf - -#endif -- GitLab