Go to the documentation of this file.
32 const std::string&
s =
"",
59 std::vector<double>
table;
79 throw std::runtime_error(
80 "BinaryAllDiff::ensureArcConsistency not implemented");
86 throw std::runtime_error(
"BinaryAllDiff::partiallyApply not implemented");
91 const Domains&)
const override {
92 throw std::runtime_error(
"BinaryAllDiff::partiallyApply not implemented");
97 throw std::runtime_error(
"BinaryAllDiff::error not implemented");
const Symbol key1('v', 1)
DecisionTreeFactor toDecisionTreeFactor() const override
Convert into a decisiontree.
Constraint::shared_ptr partiallyApply(const DiscreteValues &) const override
Partially apply known values.
const KeyFormatter & formatter
DiscreteKeys is a set of keys that can be assembled using the & operator.
BinaryAllDiff(const DiscreteKey &key1, const DiscreteKey &key2)
cardinality
bool equals(const DiscreteFactor &other, double tol) const override
equals
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
const Symbol key2('v', 2)
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
AlgebraicDecisionTree< Key > errorTree() const override
Compute error for each assignment and return as a tree.
std::map< Key, Domain > Domains
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
KeyVector keys_
The keys involved in this factor.
const KeyVector & keys() const
Access the factor's involved variable keys.
std::pair< Key, size_t > DiscreteKey
DecisionTreeFactor operator*(const DecisionTreeFactor &f) const override
Multiply into a decisiontree.
void print(const std::string &s="", const KeyFormatter &formatter=DefaultKeyFormatter) const override
print
std::shared_ptr< Constraint > shared_ptr
bool ensureArcConsistency(Key j, Domains *domains) const override
Constraint::shared_ptr partiallyApply(const Domains &) const override
Partially apply known values, domain version.
std::uint64_t Key
Integer nonlinear key type.
double operator()(const DiscreteValues &values) const override
Calculate value.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:55