Go to the documentation of this file.
27 emplace_shared<SingleValue>(dkey,
value);
32 emplace_shared<BinaryAllDiff>(
key1,
key2);
64 Domains runArcConsistency(
size_t cardinality,
65 size_t maxIterations = 10)
const;
73 CSP partiallyApply(
const Domains& domains)
const;
const Symbol key1('v', 1)
void addAllDiff(const DiscreteKeys &dkeys)
Add a general AllDiff constraint.
DiscreteKeys is a set of keys that can be assembled using the & operator.
const Symbol key2('v', 2)
void addAllDiff(const DiscreteKey &key1, const DiscreteKey &key2)
Add a binary AllDiff constraint.
void addSingleValue(const DiscreteKey &dkey, size_t value)
Add a unary constraint, allowing only a single value.
std::map< Key, Domain > Domains
std::pair< Key, size_t > DiscreteKey
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:22