Go to the documentation of this file.
37 typedef std::shared_ptr<InequalityFactorGraph>
shared_ptr;
41 const std::string&
str =
"",
52 template <
class... Args>
void add(Args &&...
args) {
53 emplace_shared<LinearInequality>(std::forward<Args>(
args)...);
63 return std::numeric_limits<double>::infinity();
Array< double, 1, 3 > e(1./3., 0.5, 2.)
virtual void print(const std::string &s="FactorGraph", const KeyFormatter &formatter=DefaultKeyFormatter) const
Print out graph to std::cout, with optional key formatter.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
DecisionTreeFactor factor(D &C &B &A, "0.0 0.0 0.0 0.60658897 0.61241912 0.61241969 0.61247685 0.61247742 0.0 " "0.0 0.0 0.99995287 1.0 1.0 1.0 1.0")
bool equals(const InequalityFactorGraph &other, double tol=1e-9) const
LinearInequality derived from Base with constrained noise model.
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
bool equals(const This &fg, double tol=1e-9) const
Check equality up to tolerance.
std::shared_ptr< InequalityFactorGraph > shared_ptr
void print(const std::string &str="", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override
FactorGraph< LinearInequality > Base
double error(const VectorValues &x) const
std::shared_ptr< LinearInequality > sharedFactor
Shared pointer to a factor.
void add(Args &&... args)
Add a linear inequality, forwards arguments to LinearInequality.
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:42