Skip to contents

A fuller counterpart to print.MaxMinSelection(): the one-line headline, followed by the achieved objective(s), search effort, and – for a FarFirst() ensemble – the per-strategy \(T_k\) table.

Usage

# S3 method for class 'MaxMinSelection'
summary(object, ...)

Arguments

object

A MaxMinSelection object (from any solver).

...

Ignored; present for S3 compatibility.

Value

summary.MaxMin() returns object, invisibly.

See also

Other reporting functions: print.KCentre, print.MaxMin

Examples

set.seed(1)
pts <- matrix(rnorm(60), ncol = 2)
summary(FarFirst(5L, dist(pts)))
#> 5 elements (4 14 26 5 28) selected by farthest-first (best of 5 strategies, 3 tied: random_furthest1, random_furthest2, random_furthest3), each at distance >= 1.765
#>   strategies tried (5), best marked *:
#>     strategy           seed  T_k
#>   * random_furthest1      4  1.765
#>   * random_furthest2      5  1.765
#>   * random_furthest3     14  1.765
#>     random_furthest4     24  1.701
#>     random_furthest5     26  1.468