print.partitions: Print partitions object.

Description Usage Arguments Details Author(s)

Description

The default print method for a partitions, nlde objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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 Dec. 17, 2021, 9:07 a.m.