52 const std::string&
type()
const {
return _type;}
75 virtual void updateImpl() = 0;
88 Cache* installDependency(
const std::string& type_,
const std::vector<int>& parameterIndices);
96 virtual bool resolveDependancies();
113 void setUpdateNeeded(
bool needUpdate=
true);
121 template <
typename CacheType>
124 const std::string& type_,
135 cache =
dynamic_cast<CacheType*
>(c);
ParameterVector _parameters
OptimizableGraph::Vertex * _vertex
CacheContainer * _container
CacheContainer * cacheContainer()
Cache * findCache(const Cache::CacheKey &key)
ParameterVector _parameters
void resolveCache(CacheType *&cache, OptimizableGraph::Vertex *, const std::string &_type, const ParameterVector ¶meters)
std::vector< Parameter * > ParameterVector
virtual HyperGraph::HyperGraphElementType elementType() const
A general case Vertex for optimization.
const std::string & type() const
bool operator<(const HyperDijkstra::AdjacencyMapEntry &a, const HyperDijkstra::AdjacencyMapEntry &b)
Cache * createCache(const Cache::CacheKey &key)
std::vector< Cache * > _parentCaches
const ParameterVector & parameters() const
Protocol The SLAM executable accepts such as solving the and retrieving or vertices in the graph