added empty constructors for serialization, also made sure SymbolicConditional.h was installed
parent
1f15650da0
commit
0d928035e0
|
@ -29,6 +29,11 @@ protected:
|
|||
|
||||
public:
|
||||
|
||||
/** empty constructor for serialization */
|
||||
Conditional() :
|
||||
key_("__unitialized__") {
|
||||
}
|
||||
|
||||
/** constructor */
|
||||
Conditional(const std::string& key) :
|
||||
key_(key) {
|
||||
|
@ -37,7 +42,6 @@ public:
|
|||
/* destructor */
|
||||
virtual ~Conditional() {
|
||||
}
|
||||
;
|
||||
|
||||
/** check equality */
|
||||
bool equals(const Conditional& c, double tol = 1e-9) const {
|
||||
|
|
|
@ -52,7 +52,7 @@ protected:
|
|||
public:
|
||||
|
||||
/** default constructor needed for serialization */
|
||||
ConditionalGaussian(): Conditional("__unitialized__") {}
|
||||
ConditionalGaussian(){}
|
||||
|
||||
/** constructor */
|
||||
ConditionalGaussian(const std::string& key) :
|
||||
|
|
|
@ -150,7 +150,7 @@ testVSLAMFactor_LDADD = libgtsam.la
|
|||
|
||||
|
||||
# The header files will be installed in ~/include/gtsam
|
||||
headers = gtsam.h Value.h Testable.h Factor.h Conditional.h LinearFactorSet.h
|
||||
headers = gtsam.h Value.h Testable.h Factor.h Conditional.h SymbolicConditional.h LinearFactorSet.h
|
||||
headers += Point2Prior.h Simulated2DOdometry.h Simulated2DMeasurement.h smallExample.h
|
||||
headers += $(sources:.cpp=.h)
|
||||
# templates:
|
||||
|
|
|
@ -32,6 +32,11 @@ namespace gtsam {
|
|||
/** convenience typename for a shared pointer to this class */
|
||||
typedef boost::shared_ptr<SymbolicConditional> shared_ptr;
|
||||
|
||||
/**
|
||||
* Empty Constructor to make serialization possible
|
||||
*/
|
||||
SymbolicConditional(){}
|
||||
|
||||
/**
|
||||
* No parents
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue