Go to the documentation of this file.
31 class SymbolicConditional;
94 const std::string&
s =
"SymbolicFactor",
101 const std::string&
s =
"SymbolicFactor",
111 template<
typename KEYITERATOR>
117 template<
typename KEYITERATOR>
120 result->keys_.assign(beginKey, endKey);
126 template<
class CONTAINER>
133 template<
class CONTAINER>
135 return FromIteratorsShared(
keys.begin(),
keys.end());
148 std::pair<std::shared_ptr<SymbolicConditional>, std::shared_ptr<SymbolicFactor> >
154 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
156 friend class boost::serialization::access;
157 template<
class ARCHIVE>
158 void serialize(ARCHIVE & ar,
const unsigned int ) {
159 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
165 class SymbolicFactorGraph;
172 GTSAM_EXPORT std::pair<std::shared_ptr<SymbolicConditional>, std::shared_ptr<SymbolicFactor> >
SymbolicConditional ConditionalType
std::shared_ptr< This > shared_ptr
EIGEN_STRONG_INLINE Packet4f print(const Packet4f &a)
void printKeys(const std::string &s="SymbolicFactor", const KeyFormatter &formatter=DefaultKeyFormatter) const override
print only keys
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Concept check for values that can be used in unit tests.
SymbolicFactor(Key j1, Key j2, Key j3, Key j4)
static SymbolicFactor::shared_ptr FromKeysShared(const CONTAINER &keys)
const GaussianFactorGraph factors
SymbolicFactor(Key j1, Key j2, Key j3)
static SymbolicFactor::shared_ptr FromIteratorsShared(KEYITERATOR beginKey, KEYITERATOR endKey)
const KeyFormatter & formatter
SymbolicFactor::shared_ptr clone() const
Copy this object as its actual derived type.
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
The base class for all factors.
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
DecisionTreeFactor factor(D &C &B &A, "0.0 0.0 0.0 0.60658897 0.61241912 0.61241969 0.61247685 0.61247742 0.0 " "0.0 0.0 0.99995287 1.0 1.0 1.0 1.0")
SymbolicFactor(Key j1, Key j2)
void print(const std::string &s="SymbolicFactor", const KeyFormatter &formatter=DefaultKeyFormatter) const override
print
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
SymbolicFactor(const Factor &factor)
SymbolicFactor(Key j1, Key j2, Key j3, Key j4, Key j5, Key j6)
static SymbolicFactor FromIterators(KEYITERATOR beginKey, KEYITERATOR endKey)
static SymbolicFactor FromKeys(const CONTAINER &keys)
std::uint64_t Key
Integer nonlinear key type.
SymbolicFactor(Key j1, Key j2, Key j3, Key j4, Key j5)
std::pair< std::shared_ptr< SymbolicConditional >, std::shared_ptr< SymbolicFactor > > EliminateSymbolic(const SymbolicFactorGraph &factors, const Ordering &keys)
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:14:22