print.partitions: Print partitions object.

print.partitionsR Documentation

Print partitions object.

Description

The default print method for a partitions, nlde objects.

Usage

## S3 method for class 'partitions'
print(x, ...)
## S3 method for class 'nlde'
print(x, ...)
## S3 method for class 'knapsack'
print(x, ...)
## S3 method for class 'subsetsum'
print(x, ...)
## S3 method for class 'tsp_solver'
print(x, ...)

Arguments

x, ...

objects of class partitions, nlde, knapsack, subsetsum as produced by get.partitions(), nlde(), get.knapsack(), get.subsetsum(), tsp_solver() correspondingly.

Details

Prints the number of partitions/solutions obtained and all resulted partitions/solutions themselves.

Author(s)

Natalya Pya Arnqvist <nat.pya@gmail.com>


nilde documentation built on Aug. 16, 2022, 5:05 p.m.