struct mp2p_icp_filters::GraphPartitionParams¶
Overview¶
Parameters for spectral_partition()
#include <graph_partition.h> struct GraphPartitionParams { // fields double max_ncut = 0.2; std::size_t min_part_size = 5; std::size_t lanczos_size = 60; std::size_t lanczos_max_restarts = 200; double lanczos_tolerance = 1e-6; };
Fields¶
double max_ncut = 0.2
A bisection is accepted if its normalized cut (in [0, 2]) is at most this.
std::size_t min_part_size = 5
Neither side of an accepted bisection may have fewer nodes than this. Disconnected components are always split, whatever their size.
std::size_t lanczos_size = 60
Krylov subspace size of each Lanczos run for the Fiedler vector.
std::size_t lanczos_max_restarts = 200
Lanczos restarts before taking the current Ritz vector as it is (it is still a good direction to cut along: the sweep evaluates the true cut)
double lanczos_tolerance = 1e-6
Convergence threshold on the Ritz residual of the Fiedler vector.