2013-06-06 23:35:58 +08:00
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
|
|
|
|
|
* Atlanta, Georgia 30332-0415
|
|
|
|
|
* All Rights Reserved
|
|
|
|
|
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
|
|
|
|
|
|
|
|
|
|
* See LICENSE for the license information
|
|
|
|
|
|
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @file SymbolicConditional.cpp
|
|
|
|
|
* @author Richard Roberts
|
|
|
|
|
* @date Oct 17, 2010
|
|
|
|
|
*/
|
|
|
|
|
|
2013-07-30 07:55:40 +08:00
|
|
|
#include <gtsam/inference/Conditional-inst.h>
|
|
|
|
|
#include <gtsam/symbolic/SymbolicConditional.h>
|
2013-06-06 23:35:58 +08:00
|
|
|
|
|
|
|
|
namespace gtsam {
|
|
|
|
|
|
2021-04-30 07:43:27 +08:00
|
|
|
using namespace std;
|
2013-06-06 23:35:58 +08:00
|
|
|
|
2021-04-30 07:43:27 +08:00
|
|
|
/* ************************************************************************* */
|
|
|
|
|
void SymbolicConditional::print(const std::string& str,
|
|
|
|
|
const KeyFormatter& keyFormatter) const {
|
|
|
|
|
BaseConditional::print(str, keyFormatter);
|
|
|
|
|
}
|
2013-07-23 10:17:09 +08:00
|
|
|
|
2021-04-30 07:43:27 +08:00
|
|
|
/* ************************************************************************* */
|
|
|
|
|
bool SymbolicConditional::equals(const This& c, double tol) const {
|
|
|
|
|
return BaseFactor::equals(c) && BaseConditional::equals(c);
|
2013-06-06 23:35:58 +08:00
|
|
|
}
|
2021-04-30 07:43:27 +08:00
|
|
|
|
|
|
|
|
} // namespace gtsam
|