2009-08-22 06:23:24 +08:00
|
|
|
/**
|
|
|
|
* @file LinearFactorSet.h
|
|
|
|
* @brief Utility class: an STL set of linear factors, basically a wrappable typedef
|
|
|
|
* @author Frank Dellaert
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <set>
|
|
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
#include "LinearFactor.h"
|
|
|
|
|
|
|
|
namespace gtsam {
|
|
|
|
|
|
|
|
class LinearFactor;
|
|
|
|
|
2009-10-19 00:49:10 +08:00
|
|
|
// We use a vector not a an STL set, to get predictable ordering across platforms
|
|
|
|
struct LinearFactorSet : std::vector<boost::shared_ptr<LinearFactor> > {
|
2009-08-22 06:23:24 +08:00
|
|
|
LinearFactorSet() {}
|
|
|
|
};
|
|
|
|
}
|