#include <algorithm>
#include <cstddef>
#include <iterator>
#include <span>
#include <core/union_find.h>
Go to the source code of this file.
|
| namespace | KI_MST |
| | Minimum spanning forest by Filter-Kruskal.
|
| |
|
| template<typename EDGE, typename LESS, typename ENDPOINTS, typename EMIT> |
| size_t | KI_MST::FilterKruskal (std::span< EDGE > aEdges, KI_UNION_FIND &aForest, LESS aLess, ENDPOINTS aEndpoints, EMIT aEmit) |
| | Build a minimum spanning forest over aEdges.
|
| |
|
| static constexpr size_t | KI_MST::KRUSKAL_THRESHOLD = 1024 |
| | < Sort and scan a range of this size or smaller instead of splitting it again.
|
| |