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>
gtsam::utils::kruskal
std::vector< size_t > kruskal(const FactorGraph< FACTOR > &fg, const std::vector< double > &weights)
Definition: kruskal-inl.h:55
gtsam::utils
Definition: kruskal-inl.h:31
FactorGraph.h
Factor Graph Base Class.
kruskal-inl.h
FastMap.h
A thin wrapper around std::map that uses boost's fast_pool_allocator.


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:52