36 std::cout << (s.empty() ?
"" : s +
" ");
38 std::cout << std::endl;
bool equals(const This &other, double tol=1e-9) const
check equality
KeyVector keys_
The keys involved in this factor.
const KeyFormatter & formatter
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
virtual void print(const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const
print
virtual void printKeys(const std::string &s="Factor", const KeyFormatter &formatter=DefaultKeyFormatter) const
print only keys
std::uint64_t Key
Integer nonlinear key type.
The base class for all factors.