32 return BaseFactor::equals(c) && BaseConditional::equals(c);
37 throw std::runtime_error(
"SymbolicConditional::logProbability is not implemented");
42 throw std::runtime_error(
"SymbolicConditional::evaluate is not implemented");
bool equals(const This &c, double tol=1e-9) const
EIGEN_STRONG_INLINE Packet4f print(const Packet4f &a)
double evaluate(const HybridValues &x) const override
evaluate throws exception, symbolic.
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.
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override