2010-10-14 12:54:38 +08:00
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
|
|
|
|
* Atlanta, Georgia 30332-0415
|
|
|
|
* All Rights Reserved
|
|
|
|
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
|
|
|
|
|
|
|
|
* See LICENSE for the license information
|
|
|
|
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
2009-08-22 06:23:24 +08:00
|
|
|
/**
|
2009-11-13 00:16:32 +08:00
|
|
|
* @file GaussianFactorSet.h
|
2009-08-22 06:23:24 +08:00
|
|
|
* @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>
|
2010-08-20 01:23:19 +08:00
|
|
|
#include <gtsam/linear/GaussianFactor.h>
|
2009-08-22 06:23:24 +08:00
|
|
|
|
|
|
|
namespace gtsam {
|
|
|
|
|
2009-11-13 00:16:32 +08:00
|
|
|
class GaussianFactor;
|
2009-08-22 06:23:24 +08:00
|
|
|
|
2009-10-19 00:49:10 +08:00
|
|
|
// We use a vector not a an STL set, to get predictable ordering across platforms
|
2009-11-13 00:16:32 +08:00
|
|
|
struct GaussianFactorSet : std::vector<boost::shared_ptr<GaussianFactor> > {
|
|
|
|
GaussianFactorSet() {}
|
2009-08-22 06:23:24 +08:00
|
|
|
};
|
|
|
|
}
|