gtsam/linear/GaussianFactorSet.h

33 lines
899 B
C
Raw Normal View History

/* ----------------------------------------------------------------------------
* 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
/**
* @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>
#include <gtsam/linear/GaussianFactor.h>
2009-08-22 06:23:24 +08:00
namespace gtsam {
class GaussianFactor;
2009-08-22 06:23:24 +08:00
// We use a vector not a an STL set, to get predictable ordering across platforms
struct GaussianFactorSet : std::vector<boost::shared_ptr<GaussianFactor> > {
GaussianFactorSet() {}
2009-08-22 06:23:24 +08:00
};
}