kruskal.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010-2019, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
20 #pragma once
21 
22 #include <gtsam/base/FastMap.h>
24 
25 #include <vector>
26 
27 namespace gtsam::utils {
36 template <class FACTOR>
37 std::vector<size_t> kruskal(const FactorGraph<FACTOR> &fg,
38  const std::vector<double> &weights);
39 } // namespace gtsam::utils
40 
41 #include <gtsam/base/kruskal-inl.h>
std::vector< size_t > kruskal(const FactorGraph< FACTOR > &fg, const std::vector< double > &weights)
Definition: kruskal-inl.h:55
A thin wrapper around std::map that uses boost&#39;s fast_pool_allocator.
Factor Graph Base Class.


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:30