R/colbournBigFrame.R

globalVariables("colbournBigFrame")

#' Colbourn tables for upper bounds on CAN / lower bounds on CAK
#'
#' data.frame that holds the November 2024 status of the Colbourn tables of upper bounds for covering array numbers
#'
#' @docType data
#'
#' @format
#' \code{data.frame} with 13641 rows in 5 columns:
#' \describe{
#'   \item{t}{the strength, from 2 to 6}
#'   \item{v}{the number of levels, from 2 to 25}
#'   \item{k}{the maximum number of columns}
#'   \item{N}{the smallest known run size for which a construction is *principally* available}
#'   \item{Source}{the table entry for the source information; sometimes (too) cryptic}
#' }
#'
#' @source  downloaded from \code{https://www.public.asu.edu/~ccolbou/src/tabby}
#' in November 2024; that source is no longer available, a slightly outdated version is available at
#' \url{https://web.archive.org/web/20231118015055/https://www.public.asu.edu/~ccolbou/src/tabby},
#' and a web version of the data frame is at \url{https://github.com/ugroempi/CAs/blob/main/ColbournTables.md}.\cr
#' The creation of the object is documented by the R file \code{colbournBigFrame_create.R} in the \code{extdata}
#' folder for this package, which can be located in the directory \code{inst/extdata}
#' of the GitHub repo.
#'
#' @section Details:
#' Until recently, the Colbourn (without year) tables were an authoritative source
#' of the state of the art run sizes of covering arrays and were kept reasonably
#' up-to-date by Charlie Colbourn. At present (June 2025 and beyond),
#' the tables are no longer
#' available to the public, and are apparently no longer updated.
#' The status of the tables in this package is November 2024.
#'
#' At present (Nov 2026), Christopher Smolen has undertaken it to maintain "living
#' tables), i.e., to accept and check submissions of smaller CAs and also construction
#' ingredients. His tables at
#' \url{https://github.com/chrispbsmolen/ca-tools/blob/main/table/README.md},
#' included for now as an internal object
#' \code{CAs:::smolenBigFrame} and loaded on package load at their then-current state,
#' have already smaller run sizes than the frozen Colbourn tables for a relevant
#' percentage of settings. At the same time, a group in the community also thinks
#' about re-implementing the Colbourn tables. Ideally, those efforts converts to a
#' useful and stable new "go-to" place for current best sizes with useful information
#' also on how to obtain arrays of those sizes.
#'
#' This package needs to find a way to keep up with the changes. At present, the
#' functions \code{\link{eCAN}} and \code{\link{eCAK}} still use the Colbourn
#' tables by default, but can be switched to the Smolen tables by their argument
#' \code{frozen=FALSE}.
#'
#' As the source information in the Colbourn tables is sometimes very terse,
#' it is not always intelligible for uninitiated humans,
#' including the package author. The function \code{\link{Ns}} always includes the
#' \code{eCAN} value from \code{colbournBigFrame} without source information.
#' There are some instances for which
#' a better CA has meanwhile been found, but there are also a few instances, for which
#' a claimed size in \code{colbournBigFrame} is wrong; these have not been corrected,
#' as the table (at present) reflects a historic state of the Colbourn tables.
#'
#' @references Colbourn (without year), Smolen (2026)
#'
#' @examples
#' head(colbournBigFrame)
#' ## Kleitman and Spencer () and Katona () provide the only construction
#' ## that is known to be globally optimal for v=2 and t=2.
#' ## It is implemented in function \code{\link{KSK}}.
#'
#' tail(colbournBigFrame)
#' ## some entries have excessive N
#' ## this is also an example for the difficulty of deciphering the source entries:
#' ## the package author is not aware of the meanings of "N-CT" (what does the "N" stand for?),
#' ## "Arc", and "S", so that none of these constructions has been implemented.
#'
#' length(grep("projection", colbournBigFrame$Source))
#' length(setdiff(grep("projection", colbournBigFrame$Source),
#'                grep("postop", colbournBigFrame$Source)))
#' ## 137 of the 144 table entries that use a projection construction
#' ## were improved by postprocessing (which is not yet (?) available in this package)
#'
#' ## an example for an erroneous entry for cyclotomy
#' colbournBigFrame[2224,]
#' Ns(3, 128, 6) ## Cyclotomy needs 768 runs (construction 4a, not 3a)

#'@rdname colbournBigFrame
"colbournBigFrame"

Try the CAs package in your browser

Any scripts or data that you put into this service are public.

CAs documentation built on Nov. 29, 2026, 1:06 a.m.