return DiscreteFactor from DiscreteFactorFromErrors
parent
47f47fedc1
commit
80d8d88fdc
|
@ -247,7 +247,7 @@ continuousElimination(const HybridGaussianFactorGraph &factors,
|
||||||
* @param errors DecisionTree of (unnormalized) errors.
|
* @param errors DecisionTree of (unnormalized) errors.
|
||||||
* @return TableFactor::shared_ptr
|
* @return TableFactor::shared_ptr
|
||||||
*/
|
*/
|
||||||
static TableFactor::shared_ptr DiscreteFactorFromErrors(
|
static DiscreteFactor::shared_ptr DiscreteFactorFromErrors(
|
||||||
const DiscreteKeys &discreteKeys,
|
const DiscreteKeys &discreteKeys,
|
||||||
const AlgebraicDecisionTree<Key> &errors) {
|
const AlgebraicDecisionTree<Key> &errors) {
|
||||||
double min_log = errors.min();
|
double min_log = errors.min();
|
||||||
|
|
Loading…
Reference in New Issue