Go to the documentation of this file.
36 std::cout << (
s.empty() ?
"" :
s +
" ");
38 std::cout << std::endl;
48 throw std::runtime_error(
"Factor::error is not implemented");
virtual void printKeys(const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const
print only keys
const KeyFormatter & formatter
The base class for all factors.
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
const gtsam::Symbol key('X', 0)
KeyVector keys_
The keys involved in this factor.
bool equals(const This &other, double tol=1e-9) const
check equality
virtual double error(const HybridValues &c) const
virtual void print(const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const
print
std::uint64_t Key
Integer nonlinear key type.
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:32