1 #ifndef _OCRA_MERGED_VARIABLE_H_ 2 #define _OCRA_MERGED_VARIABLE_H_ 11 class VariableMapping;
42 void setValue(
const VectorXd& val)
const;
47 void invalidateVariable();
48 void invalidateVariable(
int timestamp);
51 typedef std::map<Variable*, std::pair<int, VariableMapping*> > map_t;
55 mutable bool _isVariableUpToDate;
MergedVariable(const std::string &name)
void insert(Variable *var)
void setValue(const VectorXd &val) const
bool isVariableUpToDate() const
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
This class represents a variable in a mathematical sense.
void recomputeVariable() const
A class to manage the relative mapping of a variable with respect to another one. ...
VariableMapping * find(Variable *var) const
A concatenation of base variables and other composite variables.
CompositeVariable & getVariable()
Declaration file of the Variable class.