remove DiscreteConditional constructor since we no longer use it
parent
2894c957b1
commit
d22ba29054
|
|
@ -47,15 +47,6 @@ DiscreteConditional::DiscreteConditional(const size_t nrFrontals,
|
||||||
const DecisionTreeFactor& f)
|
const DecisionTreeFactor& f)
|
||||||
: BaseFactor(f / (*f.sum(nrFrontals))), BaseConditional(nrFrontals) {}
|
: BaseFactor(f / (*f.sum(nrFrontals))), BaseConditional(nrFrontals) {}
|
||||||
|
|
||||||
/* ************************************************************************** */
|
|
||||||
DiscreteConditional::DiscreteConditional(size_t nrFrontals,
|
|
||||||
const DecisionTreeFactor& f,
|
|
||||||
const Ordering& orderedKeys)
|
|
||||||
: BaseFactor(f), BaseConditional(nrFrontals) {
|
|
||||||
keys_.clear();
|
|
||||||
keys_.insert(keys_.end(), orderedKeys.begin(), orderedKeys.end());
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
DiscreteConditional::DiscreteConditional(size_t nrFrontals,
|
DiscreteConditional::DiscreteConditional(size_t nrFrontals,
|
||||||
const DiscreteKeys& keys,
|
const DiscreteKeys& keys,
|
||||||
|
|
|
||||||
|
|
@ -56,17 +56,6 @@ class GTSAM_EXPORT DiscreteConditional
|
||||||
/// Construct from factor, taking the first `nFrontals` keys as frontals.
|
/// Construct from factor, taking the first `nFrontals` keys as frontals.
|
||||||
DiscreteConditional(size_t nFrontals, const DecisionTreeFactor& f);
|
DiscreteConditional(size_t nFrontals, const DecisionTreeFactor& f);
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Construct from DecisionTreeFactor,
|
|
||||||
* taking the first `nrFrontals` from `orderedKeys`.
|
|
||||||
*
|
|
||||||
* @param nrFrontals The number of frontal variables.
|
|
||||||
* @param f The DecisionTreeFactor to construct from.
|
|
||||||
* @param orderedKeys Ordered list of keys involved in the conditional.
|
|
||||||
*/
|
|
||||||
DiscreteConditional(size_t nrFrontals, const DecisionTreeFactor& f,
|
|
||||||
const Ordering& orderedKeys);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct from DiscreteKeys and AlgebraicDecisionTree, taking the first
|
* Construct from DiscreteKeys and AlgebraicDecisionTree, taking the first
|
||||||
* `nFrontals` keys as frontals, in the order given.
|
* `nFrontals` keys as frontals, in the order given.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue