SymbolicConditional.cpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
19 
20 namespace gtsam {
21 
22 using namespace std;
23 
24 /* ************************************************************************* */
25 void SymbolicConditional::print(const std::string& str,
26  const KeyFormatter& keyFormatter) const {
27  BaseConditional::print(str, keyFormatter);
28 }
29 
30 /* ************************************************************************* */
31 bool SymbolicConditional::equals(const This& c, double tol) const {
32  return BaseFactor::equals(c) && BaseConditional::equals(c);
33 }
34 
35 /* ************************************************************************* */
37  throw std::runtime_error("SymbolicConditional::logProbability is not implemented");
38 }
39 
40 /* ************************************************************************* */
42  throw std::runtime_error("SymbolicConditional::evaluate is not implemented");
43 }
44 
45 
46 } // namespace gtsam
bool equals(const This &c, double tol=1e-9) const
Scalar Scalar * c
Definition: benchVecAdd.cpp:17
Definition: BFloat16.h:88
EIGEN_STRONG_INLINE Packet4f print(const Packet4f &a)
double evaluate(const HybridValues &x) const override
evaluate throws exception, symbolic.
Definition: pytypes.h:1403
double logProbability(const HybridValues &x) const override
logProbability throws exception, symbolic.
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Definition: Key.h:35
traits
Definition: chartTesting.h:28
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override
const G double tol
Definition: Group.h:86


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:36:34