release/4.3a0
Varun Agrawal 2022-06-07 19:56:19 -04:00
parent 00be610e18
commit 26e0cef48d
2 changed files with 3 additions and 8 deletions

View File

@ -38,6 +38,9 @@ class GTSAM_EXPORT HybridBayesNet : public BayesNet<HybridConditional> {
/** Construct empty bayes net */
HybridBayesNet() = default;
/// Add HybridConditional to Bayes Net
using Base::add;
/// Add a discrete conditional to the Bayes Net.
void add(const DiscreteKey &key, const std::string &table) {
push_back(

View File

@ -135,14 +135,6 @@ class HybridFactorGraph : public FactorGraph<HybridFactor> {
push_hybrid(p);
}
}
/** Constructor from iterator over factors (shared_ptr or plain objects) */
template <typename ITERATOR>
void push_back(ITERATOR firstFactor, ITERATOR lastFactor) {
for (auto&& it = firstFactor; it != lastFactor; it++) {
push_back(*it);
}
}
};
} // namespace gtsam