Learn R Programming

nilde (version 1.1-7)

print.partitions: Print partitions object.

Description

The default print method for a partitions, nlde objects.

Usage

# S3 method for partitions
print(x, ...)
# S3 method for nlde
print(x, ...)
# S3 method for knapsack
print(x, ...)
# S3 method for subsetsum
print(x, ...)
# S3 method for 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.

Author

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

Details

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