Result of Spatex.Region.skater/3.
labels- region of each area, numbered by the lowest area they contain.n_regions- number of regions found (fewer than requested whenfloorblocks every cut; seewarnings).msf_edges- the pruned spanning forest as{i, j}pairs,i < j, in row-major order.score- sum over regions of the distances of their areas to the region mean.trace- withtrace: true, one%{labels, in_node, out_node, score}map per pruning step, starting with the initial forest (in_node/out_nodenil,score:infinity).warnings- messages equivalent to spopt'sOptimizeWarnings.
Summary
Types
@type t() :: %Spatex.Region.Skater{ labels: [non_neg_integer()], msf_edges: [{non_neg_integer(), non_neg_integer()}], n_regions: pos_integer(), score: float(), trace: [map()], warnings: [String.t()] }